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 talkops-ai/talkops-mcp --skill authoring-and-testing-prometheus-rulesgit clone --depth 1 https://github.com/talkops-ai/talkops-mcpWrote 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/talkops-ai/talkops-mcp/authoring-and-testing-prometheus-rules)<a href="https://agentmods.dev/skills/talkops-ai/talkops-mcp/authoring-and-testing-prometheus-rules"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/authoring-and-testing-prometheus-rules/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/talkops-ai/talkops-mcp/authoring-and-testing-prometheus-rules"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/authoring-and-testing-prometheus-rules.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.00226 | $0.02497 |
| Opus 5.5 | $0.00090 | $0.00999 |
| Sonnet 5.5 | $0.00045 | $0.00499 |
| Haiku 4.5 | $0.00023 | $0.00250 |
Grade A, and why
authoring-and-testing-prometheus-rules 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Authoring and Testing Prometheus Rules
Provides a safety-gated workflow for creating, auditing, tuning, unit-testing (promtool), backtest-simulating, and deploying Prometheus recording and alerting rule groups across k8s_crd, http_ruler, local_file, and yaml_only modes while strictly preserving sibling rule groups. Never shell out to kubectl or raw promtool when MCP resources (prom://rules/groups, prom://rules/{backend_id}/groups/{group_name}, prom://kubernetes/scrape-crds, prom://kubernetes/manifests/{kind}/{namespace}/{name}) and tools (prom_validate_rules, prom_upsert_rule_group, prom_delete_rule_group) are available. If invoked via commands/setup-monitoring.md (/setup-monitoring), read that command file first.
MCP Execution Primitives Used
- Resources:
prom://rules/groups— snapshot of all loaded alerting and recording rule groups across backends.prom://rules/{backend_id}/groups/{group_name}— inspect full rule definitions and evaluation health for a specific loaded group (passingbackend_id="default"and the group name).prom://kubernetes/scrape-crds— inventory of deployedPrometheusRuleCRDs and their metadata labels.prom://kubernetes/manifests/{kind}/{namespace}/{name}— read a livePrometheusRuleCRD manifest (prom://kubernetes/manifests/PrometheusRule/{namespace}/{name}) before editing or diagnosingruleSelectorlabel mismatches.prom://audit/recent— verify rule upsert/deletedry_runandsucceededaudit records.
- Tools (
rules&querytoolsets):prom_explore_metrics&prom_query_range— verify exact metric/label names and inspect historical trajectories before setting thresholds.prom_get_firing_alerts— inspect/api/v1/alertsandALERTS_FOR_STATEhistory (include_history_lookback="24h") to detectFLAPPING_ALERT(fires_per_day >= 10,mean_duration_seconds < 300) andCHRONIC_ALWAYS_FIRING.prom_validate_rules— runpromtool check rules, structural/hygiene checks (check_hygiene=True), andpromtool test rules(unit_tests).prom_simulate_rule_firing— backtest candidate alerts against live TSDB history (mode="historical") or synthetic series (mode="synthetic").prom_upsert_rule_group— non-destructively upsert a rule group viastorage_mode(k8s_crd,http_ruler,local_file, oryaml_only;dry_run=Truedefault).prom_delete_rule_group— remove a single rule group fromk8s_crd,http_ruler, orlocal_file(dry_run=Truedefault), warning whenremaining_group_count == 0deletes the entirePrometheusRuleCRD.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 11d ago First seen · 78 lines · 226 tokens per session scan A 229b08b4f4d0
authoring-and-testing-prometheus-rules is a skill published in the GitHub repository talkops-ai/talkops-mcp (4 stars, last pushed 12d ago), licensed Apache-2.0. It adds 226 tokens to every session and 2,497 once invoked, about $0.0009 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-11-18.
authoring-and-testing-prometheus-rules compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| authoring-and-testing-prometheus-rulestalkops-ai/talkops-mcp | Skill | 4 | 12d ago | Apache-2.0 | A | 226 | Claude Code, Codex |
| smart-contract-testingnirholas/three.ws | Skill | 287 | yesterday | Apache-2.0 | A | 33 | Claude Code, Codex |
| testinggriddynamics/rosetta | Skill | 382 | 5d ago | Apache-2.0 | A | 26 | Claude Code |
| test-commanderEliasOulkadi/shokunin | Skill | 112 | 1mo ago | MIT | A | 117 | Claude Code |
| argocdalivirgo/Major-AI-Skills | Skill | 6 | yesterday | MIT | A | 42 | Claude Code |
| edt-mcp-project-yaxunitDitriXNew/EDT-MCP | Skill | 352 | today | AGPL-3.0 | A | 39 | Claude Code, Codex |
| fix-codecov-gapsAnselmoo/mcp-ai-agent-guidelines | Skill | 6 | 5d ago | MIT | A | 87 | Claude Code |