Skip to content

Prometheus Configuration

Guides an agent through setting up Prometheus metric collection, scraping, recording rules and alerting

Repository
wshobson/agents
Stars
42,095
Licence
MIT
Files
2 files

What it does

Once installed, the agent can walk you through configuring Prometheus, the open-source system that collects and stores performance numbers (metrics) from servers and applications. It covers setting up scrape targets, service discovery, recording rules, alert rules, and general best practices such as naming conventions, scrape intervals, and high availability. It also suggests simple curl commands to check whether targets and the configuration are healthy.

Great for

  • Engineers setting up Prometheus monitoring for the first time
  • Platform or SRE teams reviewing or planning a metrics pipeline
  • Developers who need help writing scrape configs or alert rules

Skip it if

  • People who need a finished, tested production config: the skill gives guidance and patterns, so the output should be reviewed and validated before deployment, since a wrong config can silently stop metrics or alerts
  • Teams that do not run Prometheus or a compatible stack, since the instructions assume a running Prometheus server on localhost:9090

Try asking

  • “Set up Prometheus to scrape my Kubernetes pods and nodes with sensible intervals”
  • “Write recording rules to speed up a slow dashboard query”
  • “Create alert rules for high error rates and high latency”
  • “Check why a Prometheus scrape target is showing as down”
Step-by-step guide: how to use Prometheus ConfigurationInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 2 original files, the MIT licence and an attribution note.

    prometheus-configuration.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip prometheus-configuration.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip prometheus-configuration.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Give the agent your environment details (Kubernetes, VMs, cloud provider) so the service discovery advice fits your setup.
  • Ask it to validate generated config with promtool before applying it, and review any curl commands before running them against production.
  • Point it to references/details.md style patterns by asking for worked examples when the quick guidance is not enough.

What's inside

  • references/details.md
  • SKILL.md

Redistributed unmodified from wshobson/agents under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.