prometheus

prometheus is a skill for Claude Code from devantler-tech/agent-plugins. It costs 55 tokens per session (1,286 once invoked), scanned A, a copy of prometheus, Apache-2.0.

A reference for Prometheus and Grafana Cloud Metrics, tools that collect and display measurements from running systems. It explains PromQL, the query language used to select, calculate, and group those measurements.

In plain words
What is it for?
Use it to write PromQL queries, investigate metrics, configure alerts, define recording rules, and plan integrations with Prometheus or Grafana Cloud Metrics.
Why use it?
It gives developers patterns for turning raw service measurements into useful results instead of writing unfamiliar queries from scratch. It also covers alerting and recording rules for detecting or preparing important values.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agentic-engineering plugin — 95 skills, 4 agents, 13 MCP servers shipped together

Good fit Use it to write PromQL queries, investigate metrics, configure alerts, define recording rules, and plan integrations with Prometheus or Grafana Cloud Metrics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/devantler-tech/agent-plugins/prometheus
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.

Any agent
npx skills add devantler-tech/agent-plugins --skill prometheus
Clone the repo
git clone --depth 1 https://github.com/devantler-tech/agent-plugins

Made for: Claude Code.

Or install agentic-engineering, the plugin that ships this one along with the rest of its 95 skills, 4 agents, 13 MCP servers.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/devantler-tech/agent-plugins/prometheus/github.svg)](https://agentmods.dev/skills/devantler-tech/agent-plugins/prometheus)
Your own site
<a href="https://agentmods.dev/skills/devantler-tech/agent-plugins/prometheus"><img src="https://agentmods.dev/badge/skills/devantler-tech/agent-plugins/prometheus/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/devantler-tech/agent-plugins/prometheus"><img src="https://agentmods.dev/badge/skills/devantler-tech/agent-plugins/prometheus.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,286 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod 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.00055 $0.01286
Opus 5.5 $0.00022 $0.00514
Sonnet 5.5 $0.00011 $0.00257
Haiku 4.5 $0.00006 $0.00129

Measured 19d ago against content hash 40c2c06c5daf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

prometheus scanned grade A with 1 finding 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 19d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST http://localhost:9090/-/reload
Origin

This is a copy

88% identical to prometheus — 13 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/agentic-engineering/skills/prometheus/SKILL.md · 187 lines

How it starts

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

Metrics with Prometheus and Grafana

Docs: https://prometheus.io/docs/ | Grafana Cloud Metrics: https://grafana.com/docs/grafana-cloud/send-data/metrics/

PromQL Quick Reference

Instant Vector Selectors

# By metric name
http_requests_total

# Label filter
http_requests_total{job="api-server"}

# Multiple labels (AND)
http_requests_total{job="api-server", method="GET"}

# Regex
http_requests_total{job=~"api.*", status=~"5.."}

# Negative
http_requests_total{status!="200"}

Range Vectors & Rates

# Per-second rate over 5 minutes
rate(http_requests_total[5m])

# Increase over interval
increase(http_requests_total[1h])

# Instant rate (last two samples)
irate(http_requests_total[5m])

# Offset (5 minutes ago)
rate(http_requests_total[5m] offset 5m)

Aggregations

# Sum by label
sum by (job) (rate(http_requests_total[5m]))

# Average
avg by (instance) (node_cpu_seconds_total)

# Top-K
topk(5, rate(http_requests_total[5m]))

# Histogram quantiles
histogram_quantile(0.99, rate(http_request_duration_seconds_bucket[5m]))

# Count distinct
count(up{job="api"})

Common Patterns

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

# Saturation (CPU usage %)
100 - (avg by(instance) (irate(node_cpu_seconds_total{mode="idle"}[5m])) * 100)

# Memory usage
node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes

# Predict disk full (linear extrapolation)
predict_linear(node_filesystem_free_bytes[6h], 24*3600) < 0

Alerting Rules

Prometheus Alerting Rule

groups:
  - name: api_alerts
    rules:
      - alert: HighErrorRate
        expr: |
          sum(rate(http_requests_total{status=~"5.."}[5m]))
            / sum(rate(http_requests_total[5m])) > 0.05
        for: 5m
        labels:
          severity: critical
        annotations:
          summary: "High 5xx error rate ({{ $value | humanizePercentage }})"

Read the full file on GitHub · 187 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. 19d ago First seen · 187 lines · 55 tokens per session scan A 40c2c06c5daf

Subscribe to this mod's changes

prometheus is a skill published in the GitHub repository devantler-tech/agent-plugins (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 55 tokens to every session and 1,286 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 88% identical to prometheus, differing in 13 lines, and is treated as a copy.

Related

prometheus compared with skills from other repositories

prometheus next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prometheusdevantler-tech/agent-pluginsSkill3yesterdayApache-2.0A55Claude Code
provisioningxobotyi/cc-foundrySkill233d agoMITA102Claude Code
proxmoxxobotyi/cc-foundrySkill233d agoMITB91Claude Code
k8s-manifest-validationsigistry/marketplaceSkill32d agoMITB84Claude Code
devopsJoncik91/ucaiSkill283mo agoMITC41Claude Code
infrastructure-planninglukaskellerstein/claude-my-marketplaceSkill311d agononeA64Claude Code
istiolukaskellerstein/claude-my-marketplaceSkill311d agononeA0Claude Code