promql
A Grafana Labs skill for writing and checking PromQL queries against Prometheus, Grafana Mimir or Grafana Cloud Metrics.
What the skill teaches
A Grafana Labs skill for writing and checking PromQL queries against Prometheus, Grafana Mimir or Grafana Cloud Metrics. It covers rate, irate and increase, label matchers, aggregation, classic and native histogram quantiles, ratios that avoid division by zero, staleness functions, offsets and prediction, and the maths behind SLO and burn-rate alerts. The agent sketches a query, validates it against the query API and checks the values look plausible, and can turn a slow query into a recording rule and confirm the new metric matches. It also lists common mistakes and a way to find labels that inflate cardinality.
Capabilities
- Write PromQL for rates, ratios and quantiles
- Validate queries against the Prometheus API
- Build SLO and burn-rate alert queries
- Convert slow queries into recording rules
About
- Publisher
- Grafana Labs
- Tool
- Grafana
Works with
Install
What's inside
- references/patterns.md
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Grafana | |
| Publisher | Grafana Labs | source |
| Official status | Officialin Grafana Labs' grafana GitHub organisation | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Claude Code, Cursor, Codex | source |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 10, 2026307 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
More from Grafana Labs
3 servers · 54 skills
- Grafana (MCP server)
- admission-control (Skill)
- app-sdk-concepts (Skill)
- cue-kind-definition (Skill)
- reconciler-logic (Skill)
- adaptive-metrics (Skill)
Sources
- GitHub repositorygithub.com/grafana/skills · Backs: AI clients, Official status, Publisher, Activity, LicenceNov 11, 2026
- Skill file (SKILL.md)github.com/grafana/skills · Backs: LicenceNov 10, 2026
- Folder in the repository (promql)github.com/grafana/skills · Backs: Includes scriptsNov 10, 2026