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
- Use consistent naming for metrics (prefix_name_unit)
- Set appropriate scrape intervals (15-60s typical)
- Use recording rules for expensive queries
- Implement high availability (multiple Prometheus instances)
- Configure retention based on storage capacity
- Use relabeling for metric cleanup
- Monitor Prometheus itself
- Implement federation for large deployments
- Use Thanos/Cortex for long-term storage
- 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 visualizationslo-implementation- For SLO monitoringdistributed-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-configurationCodex
npx degit wshobson/agents/plugins/observability-monitoring/skills/prometheus-configuration#main ~/.codex/skills/prometheus-configurationClaude.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.