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 sawrus/agent-guides --skill prometheus-alertmanagergit clone --depth 1 https://github.com/sawrus/agent-guidesWrote 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/sawrus/agent-guides/prometheus-alertmanager)<a href="https://agentmods.dev/skills/sawrus/agent-guides/prometheus-alertmanager"><img src="https://agentmods.dev/badge/skills/sawrus/agent-guides/prometheus-alertmanager/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/sawrus/agent-guides/prometheus-alertmanager"><img src="https://agentmods.dev/badge/skills/sawrus/agent-guides/prometheus-alertmanager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00054 | $0.00736 |
| Opus 5.5 | $0.00022 | $0.00294 |
| Sonnet 5.5 | $0.00011 | $0.00147 |
| Haiku 4.5 | $0.00005 | $0.00074 |
Grade A, and why
prometheus-alertmanager 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 today.
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 <url>/-/reload`). How it starts
The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Prometheus alert: add or change
1. Find where rules live
- Rule files (
*.rules.yml,rules/*.yml) loaded byrule_files:inprometheus.yml, orPrometheusRuleobjects for the Prometheus Operator, or a Helm chart values block. - The Alertmanager config:
alertmanager.ymlor anAlertmanagerConfigobject. - Existing alerts for the same service: reuse their labels (
severity,team,service).
2. Write the query first
- Run the expression in the Prometheus UI or with
promtool query instant <url> '<expr>'against real data. - Alert on symptoms users see (error ratio, latency, saturation), not on every cause.
- Use a ratio for errors:
sum(rate(http_requests_total{code=~"5.."}[5m])) / sum(rate(http_requests_total[5m])). - If the query is expensive or reused, add a recording rule named
level:metric:operations, for exampleservice:http_requests:rate5m.
3. Write the rule
- alert: CheckoutHighErrorRate
expr: service:http_errors:ratio_rate5m{service="checkout"} > 0.05
for: 10m
labels:
severity: page
annotations:
summary: "checkout 5xx ratio above 5% for 10m"
runbook_url: "https://wiki.example.com/runbooks/checkout-errors"
- Set
for:so one scrape spike does not page. - Use only the severities that the Alertmanager routes know (for example
page,ticket). - Every paging alert has a
runbook_url.
4. Test the rule
promtool check rules rules/checkout.rules.yml
promtool test rules tests/checkout.test.yml
Write a unit test with input_series that fires the alert and one that does not:
rule_files: [../rules/checkout.rules.yml]
tests:
- interval: 1m
input_series:
- series: 'service:http_errors:ratio_rate5m{service="checkout"}'
values: '0.1x20'
alert_rule_test:
- eval_time: 15m
alertname: CheckoutHighErrorRate
exp_alerts: [{exp_labels: {severity: page, service: checkout}}]
5. Check the route
amtool check-config alertmanager.yml
amtool config routes test --config.file=alertmanager.yml severity=page service=checkout
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.
- today Changed · -112 lines · +32 tokens per session 66b35f0b2022
- 1mo ago First seen · 189 lines · 22 tokens per session scan A 0f52d095f67c
prometheus-alertmanager is a skill published in the GitHub repository sawrus/agent-guides (19 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 736 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
shipping-and-launch
Prepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.
apify-actor-development
Create, modify and validate Apify Actors with scoped inputs, storage schemas, runtime logic and deployment review.
aws-serverless-eda
AWS serverless and event-driven architecture expert based on Well-Architected Framework. Use when building serverless APIs, Lambda functions, REST APIs, microservices, or async workflows.
ai-inference-service-mesh
Use verified service mesh patterns for AI inference traffic management, mTLS, canary releases, policy enforcement, and cross-cluster resilience.
ai-pipeline-orchestration
Orchestrate AI/ML pipelines for data ingestion, model training, batch inference, and RAG indexing using Prefect, Airflow, or Dagster.
ai-sre-incident-response
Build AI-focused SRE incident response practices for LLM outages, degraded quality, runaway cost events, and safety regressions.