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.
npx skills add addxai/enterprise-harness-engineering --skill prometheusgit clone --depth 1 https://github.com/addxai/enterprise-harness-engineeringWrote 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.
[](https://agentmods.dev/skills/addxai/enterprise-harness-engineering/prometheus)<a href="https://agentmods.dev/skills/addxai/enterprise-harness-engineering/prometheus"><img src="https://agentmods.dev/badge/skills/addxai/enterprise-harness-engineering/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.
<a href="https://agentmods.dev/skills/addxai/enterprise-harness-engineering/prometheus"><img src="https://agentmods.dev/badge/skills/addxai/enterprise-harness-engineering/prometheus.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00051 | $0.01134 |
| Opus 5.5 | $0.00020 | $0.00454 |
| Sonnet 5.5 | $0.00010 | $0.00227 |
| Haiku 4.5 | $0.00005 | $0.00113 |
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 3mo 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 "$PROMETHEUS_URL/api/v1/query?query=sum by(pod)(rate(container_cpu_usage_seconds_total[5m]))" This is a copy
92% identical to prometheus-addxai — 15 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.
How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
prometheus
Query monitoring metrics, check alerts, and verify target health via the Prometheus HTTP API. API and PromQL syntax are referenced through Context7 MCP; only environment-specific rules are documented here.
Setup
Configure your Prometheus endpoint before using this skill:
| Variable | Description | Required |
|---|---|---|
PROMETHEUS_URL |
Your Prometheus server URL (e.g. http://prometheus.internal:9090) |
Yes |
Common metric prefixes to monitor:
node_*— Node Exporter (host metrics: CPU, memory, disk, network)kube_*— kube-state-metrics (K8s object state: deployments, pods, nodes)container_*— cAdvisor (container resource usage)apiserver_*— K8s API Server metricskubelet_*— Kubelet metricsprometheus_*— Prometheus self-monitoring
If you have additional exporters (Kafka, Redis, custom applications), add their metric prefixes here:
| Prefix | Source | Description |
|---|---|---|
kafka_* |
Kafka Exporter | Broker and consumer group metrics |
fluentbit_* |
Fluent Bit | Log pipeline metrics |
| (add your own) |
Authentication: Configure as needed for your environment (none, basic auth, or bearer token).
API endpoints and PromQL syntax can be found in the official Prometheus documentation.
Rules
Query Considerations
- Confirm whether your Prometheus uses HTTP or HTTPS and configure
PROMETHEUS_URLaccordingly stepshould not be smaller than the scrape interval (typically 15s-60s) to avoid invalid interpolation- High-cardinality labels (user_id, request_id) must not be used in
rate()/sum by()aggregations - On macOS, use
date -v-1H +%sinstead of the Linuxdate -d '1 hour ago' +%s
Job Label Convention
Job labels are the key to locating services. Common naming patterns:
| Pattern | Example | Description |
|---|---|---|
{env}-{region}-{service} |
prod-gateway |
Service by environment and region |
kubernetes-{resource} |
kubernetes-pods |
Standard K8s metrics |
{component}-exporter |
kafka-exporter |
Dedicated exporters |
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.
- 3mo ago First seen · 99 lines · 51 tokens per session scan A e48401f51d19
prometheus is a skill published in the GitHub repository addxai/enterprise-harness-engineering (47 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 51 tokens to every session and 1,134 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 92% identical to prometheus-addxai, differing in 15 lines, and is treated as a copy.
prometheus compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| prometheusaddxai/enterprise-harness-engineering | Skill | 47 | 7mo ago | Apache-2.0 | A | 51 | Claude Code |
| linkerd-patternswshobson/agents | Skill | 43k | 6d ago | MIT | A | 41 | Claude Code |
| cost-optimizationwshobson/agents | Skill | 43k | 6d ago | MIT | A | 48 | Claude Code |
| istio-traffic-managementwshobson/agents | Skill | 43k | 6d ago | MIT | A | 40 | Claude Code |
| orchard-releaserohitg00/ai-engineering-from-scratch | Skill | 81k | today | MIT | A | 11 | Claude Code, Codex |
| orchard-reviewrohitg00/ai-engineering-from-scratch | Skill | 81k | today | MIT | A | 8 | Claude Code, Codex |
| peon-ping-togglePeonPing/peon-ping | Skill | 5.1k | 23d ago | MIT | A | 58 | Claude Code |