Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

prometheus-grafana

Skill by a5c-ai

Writes and validates PromQL queries, generates Grafana dashboard JSON, and drafts Prometheus recording and alerting rules. Built for SRE and DevOps engineers who run Prometheus and Grafana.

  • Score 69
  • 1.9k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install prometheus-grafana

Built from the published package, never by AI.

git clone --depth 1 https://github.com/a5c-ai/babysitter /tmp/babysitter && mkdir -p ~/.claude/skills && cp -r /tmp/babysitter/library/specializations/devops-sre-platform/skills/prometheus-grafana ~/.claude/skills/prometheus-grafana

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install prometheus-grafana in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The prometheus-grafana skill helps an AI assistant with Prometheus metrics and Grafana dashboards. It covers writing and validating PromQL queries, generating Grafana dashboard JSON, and creating recording and alerting rules. It also covers metric cardinality analysis and debugging scrape configurations. The skill file includes example PromQL, YAML rule files, a scrape config, and a dashboard JSON template.

The skill's frontmatter lists the tools it may use: Bash, Read, Write, Edit, Glob, Grep and WebFetch. The source says it can leverage the official mcp-grafana and loki-mcp MCP servers. It is intended for SRE and DevOps engineers. Prerequisites are Prometheus server access and a Grafana instance with API access, with Alertmanager and Thanos or Cortex as optional extras.

Written from the project's SKILL.md and checked against it.

What it can do

  • PromQL query writingWrites and optimizes PromQL queries for rates, error ratios and latency.
  • Recording rulesCreates Prometheus recording rules to pre-compute expensive queries.
  • Alerting rulesCreates alerting rules with severity labels, durations and runbook links.
  • Grafana dashboard generationGenerates Grafana dashboard JSON with panels, units and thresholds.
  • Scrape configurationGenerates and debugs Prometheus scrape configs, including Kubernetes pod discovery.
  • Metric cardinality analysisAnalyzes metric cardinality with topk and count queries.

What you need

  • Prometheus server access
  • Grafana instance with API access
  • Alertmanager (optional, for alerting)
  • Thanos or Cortex (optional, for long-term storage)

Try asking

  • Write a PromQL query for p99 latency of my API service
  • Generate a Grafana dashboard JSON for request rate and error rate
  • Create a Prometheus alerting rule for high error rate with a runbook link

Good to know

  • Validate PromQL syntax before applying queries.
  • Test alerts in non-production first.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: library/specializations/devops-sre-platform/skills/prometheus-grafana/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Bash(*) Read Write Edit Glob Grep WebFetch

Alternatives to prometheus-grafana

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

prometheus-grafana: common questions

Does this skill need a Grafana API key?

The source lists a Grafana instance with API access as a prerequisite. It does not describe how credentials should be configured.

Which tools can the skill use?

The frontmatter allows Bash, Read, Write, Edit, Glob, Grep and WebFetch.

Which MCP servers does it work with?

The source says it can leverage mcp-grafana from Grafana Labs and loki-mcp for Loki log integration.

How do I install prometheus-grafana?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is prometheus-grafana free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is prometheus-grafana safe to use?

It scores 69 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to prometheus-grafana?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

prometheus-grafana Install

Add to stack

Loading.