Prometheus Configuration skill for Claude

Set up Prometheus for comprehensive metric collection, storage, and monitoring of infrastructure and applications.

When Claude uses it

Use when implementing metrics collection, setting up monitoring infrastructure, or configuring alerting systems.

Prometheus Configuration SKILL.md

The full skill file from wshobson/agents (MIT).

Prometheus Configuration

Complete guide to Prometheus setup, metric collection, scrape configuration, and recording rules.

Purpose

Configure Prometheus for comprehensive metric collection, alerting, and monitoring of infrastructure and applications.

When to Use

  • Set up Prometheus monitoring
  • Configure metric scraping
  • Create recording rules
  • Design alert rules
  • Implement service discovery

Detailed patterns and worked examples

Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.

Best Practices

  1. Use consistent naming for metrics (prefix_name_unit)
  2. Set appropriate scrape intervals (15-60s typical)
  3. Use recording rules for expensive queries
  4. Implement high availability (multiple Prometheus instances)
  5. Configure retention based on storage capacity
  6. Use relabeling for metric cleanup
  7. Monitor Prometheus itself
  8. Implement federation for large deployments
  9. Use Thanos/Cortex for long-term storage
  10. Document custom metrics

Troubleshooting

Check scrape targets:

curl http://localhost:9090/api/v1/targets

Check configuration:

curl http://localhost:9090/api/v1/status/config

Test query:

curl 'http://localhost:9090/api/v1/query?query=up'

Related Skills

  • grafana-dashboards - For visualization
  • slo-implementation - For SLO monitoring
  • distributed-tracing - For request tracing

How to install Prometheus Configuration

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit wshobson/agents/plugins/observability-monitoring/skills/prometheus-configuration#main ~/.claude/skills/prometheus-configuration

Codex

npx degit wshobson/agents/plugins/observability-monitoring/skills/prometheus-configuration#main ~/.codex/skills/prometheus-configuration

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Prometheus Configuration skill do?

Set up Prometheus for comprehensive metric collection, storage, and monitoring of infrastructure and applications. Use when implementing metrics collection, setting up monitoring infrastructure, or configuring alerting systems.

+How do I install Prometheus Configuration in Claude Code?

Copy the skill folder into ~/.claude/skills/prometheus-configuration, for example with "npx degit wshobson/agents/plugins/observability-monitoring/skills/prometheus-configuration#main ~/.claude/skills/prometheus-configuration". Claude Code loads it automatically and uses it when a task matches.

+Does Prometheus Configuration work with ChatGPT or Codex?

Yes. Prometheus Configuration uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/prometheus-configuration. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Prometheus Configuration free?

Prometheus Configuration is published on GitHub by wshobson under the MIT license, which allows free use.

Related devops & cloud skills

  1. Supabase

    Official

    Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron,…

    supabase/agent-skills★ 3.1k
  2. Senior Architect

    System architecture decisions with a written rationale: monolith vs microservices, database choice, scaling limits, ADRs, Mermaid diagrams.

    alirezarezvani/claude-skills★ 30k
  3. Vercel Deploy

    Official

    Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the…

    openai/skills★ 29k
  4. Recsys Pipeline Architect

    Design composable recommendation, ranking, and feed pipelines using the six-stage Source→Hydrator→Filter→Scorer→Selector→SideEffect…

    wshobson/agents★ 43k
  5. Service Mesh Observability

    Implement comprehensive observability for service meshes including distributed tracing, metrics, and visualization.

    wshobson/agents★ 43k
  6. Similarity Search Patterns

    Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or…

    wshobson/agents★ 43k
  7. Slo Implementation

    Define and implement Service Level Indicators (SLIs) and Service Level Objectives (SLOs) with error budgets and alerting.

    wshobson/agents★ 43k
  8. Sql Optimization Patterns

    Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow…

    wshobson/agents★ 43k
  9. Terraform Module Library

    Build reusable Terraform modules for AWS, Azure, GCP, and OCI infrastructure following infrastructure-as-code best practices.

    wshobson/agents★ 43k

See all devops & cloud skills →

More skills from wshobson

  1. Prompt Engineering Patterns

    This skill should be used when the user asks to "optimize a prompt", "improve prompt performance", "design a prompt template", "write…

    wshobson/agents★ 43k
  2. Protect Mcp Setup

    Configure Cedar policy enforcement and Ed25519 signed receipts for Claude Code tool calls.

    wshobson/agents★ 43k
  3. Protocol Reverse Engineering

    Master network protocol reverse engineering including packet analysis, protocol dissection, and custom protocol documentation.

    wshobson/agents★ 43k

All skills by wshobson →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.