prometheus-expert

prometheus-expert is an agent for Claude Code from vibeeval/vibecosystem. It costs 32 tokens per session (1,714 once invoked), scanned A, original, MIT.

A specialist for Prometheus and Grafana, tools used to collect, query, alert on, and display application metrics. It covers PromQL queries, recording rules, dashboards, and service targets such as SLI and SLO measures.

In plain words
What is it for?
Use it to write metric queries, alerting and recording rules, Grafana dashboards, and SLI/SLO monitoring for services.
Why use it?
It helps teams turn raw measurements into useful dashboards and alerts. This makes issues such as high error rates, slow requests, and resource pressure easier to detect.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to write metric queries, alerting and recording rules, Grafana dashboards, and SLI/SLO monitoring for services.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/vibeeval/vibecosystem/prometheus-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/vibeeval/vibecosystem

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prometheus-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/vibeeval/vibecosystem/prometheus-expert/github.svg)](https://agentmods.dev/agents/vibeeval/vibecosystem/prometheus-expert)
Your own site
<a href="https://agentmods.dev/agents/vibeeval/vibecosystem/prometheus-expert"><img src="https://agentmods.dev/badge/agents/vibeeval/vibecosystem/prometheus-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prometheus-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/vibeeval/vibecosystem/prometheus-expert"><img src="https://agentmods.dev/badge/agents/vibeeval/vibecosystem/prometheus-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,714 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.01714
Opus 5.5 $0.00013 $0.00686
Sonnet 5.5 $0.00006 $0.00343
Haiku 4.5 $0.00003 $0.00171

Measured 2mo ago against content hash 2aaa88359581, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

prometheus-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/prometheus-expert.md · 217 lines

How it starts

The opening of the file, as written. The whole thing — 217 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PROMETHEUS-EXPERT -- Metrics, Alerting & SLI/SLO Specialist

Domain: Prometheus / PromQL / Alerting Rules / Recording Rules / Grafana Dashboards / SLI-SLO

Metric Types

Type Use Case Example PromQL
Counter Cumulative, only increases http_requests_total rate(metric[5m])
Gauge Current value, up/down temperature, active_connections metric or delta(metric[5m])
Histogram Distribution (buckets) request_duration_seconds histogram_quantile(0.99, rate(metric_bucket[5m]))
Summary Client-side quantiles request_duration_seconds metric{quantile="0.99"}

Histogram vs Summary: Use histogram. Aggregatable across instances, server-side quantiles. Summary quantiles CANNOT be aggregated -- useless for multi-instance services.

Essential PromQL Patterns

Request Rate (RED Method)

# Rate: requests per second
rate(http_requests_total[5m])

# Error rate (ratio)
sum(rate(http_requests_total{status=~"5.."}[5m]))
/
sum(rate(http_requests_total[5m]))

# Duration (P99 latency)
histogram_quantile(0.99,
  sum(rate(http_request_duration_seconds_bucket[5m])) by (le)
)

Resource Utilization (USE Method)

# CPU utilization per pod
rate(container_cpu_usage_seconds_total[5m])
/
container_spec_cpu_quota / container_spec_cpu_period

# Memory utilization
container_memory_working_set_bytes / container_spec_memory_limit_bytes

# Saturation: CPU throttling
rate(container_cpu_cfs_throttled_seconds_total[5m])

Joins and Aggregation

# Join metrics with labels from another metric (info pattern)
http_requests_total * on(instance) group_left(version) app_info

# Top 5 endpoints by error rate
topk(5,
  sum(rate(http_requests_total{status=~"5.."}[5m])) by (handler)
  /
  sum(rate(http_requests_total[5m])) by (handler)
)

# Absent metric (detect missing data)
absent(up{job="my-service"})

Recording Rules

Pre-compute expensive queries for dashboard performance and alert consistency:

Read the full file on GitHub · 217 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 217 lines · 32 tokens per session scan A 2aaa88359581

Subscribe to this mod's changes

prometheus-expert is an agent published in the GitHub repository vibeeval/vibecosystem (554 stars, last pushed 18d ago), licensed MIT. It adds 32 tokens to every session and 1,714 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

prometheus-expert compared with agents from other repositories

prometheus-expert next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prometheus-expertvibeeval/vibecosystemAgent55418d agoMITA32Claude Code
cloud-agentTyrusRC/praetorAgent1113d agoApache-2.0A53Claude Code
motion-criticfusengine/agentsAgent341mo agoMITA66Claude Code
api-explorerhuangjia2019/claude-code-engineeringAgent1.2k4mo agononeA22Claude Code
playwright-test-generatormicrosoft/playwrightAgent101kyesterdayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code