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 Consensys/ask-o11y-plugin --skill investigating-alertsgit clone --depth 1 https://github.com/Consensys/ask-o11y-pluginWrote 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/consensys/ask-o11y-plugin/investigating-alerts)<a href="https://agentmods.dev/skills/consensys/ask-o11y-plugin/investigating-alerts"><img src="https://agentmods.dev/badge/skills/consensys/ask-o11y-plugin/investigating-alerts/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/consensys/ask-o11y-plugin/investigating-alerts"><img src="https://agentmods.dev/badge/skills/consensys/ask-o11y-plugin/investigating-alerts.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.00082 | $0.02057 |
| Opus 5.5 | $0.00033 | $0.00823 |
| Sonnet 5.5 | $0.00016 | $0.00411 |
| Haiku 4.5 | $0.00008 | $0.00206 |
Grade A, and why
investigating-alerts 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 1mo 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 — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Alert investigation priority
For questions about alerts, incidents, or "what's wrong":
- If an Alert Context block was prefetched into the system prompt, skip rule discovery entirely and start from its metrics/matchers/runbook
- Otherwise, list available datasources to discover their UIDs — reuse these UIDs for the rest of the session
- Check Prometheus datasource alerts first (pass the Prometheus datasource UID); filter by rule title or label selectors — on mcp-grafana < 1.4.0
search_rule_nameis ignored on the datasource path and returns all rules (a large token cost) - Check Grafana-managed alerts (without a datasource UID filter)
- Cross-reference with logs, traces, and metrics for context
Why Prometheus first? Most alerting rules live in Prometheus datasources, not Grafana-managed alerts.
Root cause analysis workflow
- Triage — Before deep queries, rank candidates using cheap signals: which alert fired first, which fires most often or carries the highest volume, and which signals (metrics + logs + traces) agree on the same component. Multi-modal agreement beats any single loud signal.
- Localize with metrics — Metrics answer which component and which resource: use the alert's exact metrics and label matchers first (the Alert Context block when present)
- Identify fault type with logs — Logs answer what kind of failure (OOM, connection refused, 5xx spike, backpressure): search error logs for the component metrics implicated
- Confirm the path with traces — Traces answer how the failure propagates: use them only to confirm a specific propagation path you already suspect; do not mine raw traces hunting for a cause
- Narrow down — Use specific label filters once you identify the affected component
- Verify — Confirm the root cause with targeted queries before proposing solutions
Hypothesis discipline
- Keep 2–3 competing hypotheses alive early. Each names a component AND a fault type, plus the one piece of evidence that would falsify it. Do not anchor on the first plausible story (the most common RCA failure mode) and do not chase a single hypothesis with ever-similar queries.
- Check time ordering — A plausible cause must start BEFORE its symptoms. Compare first-seen times across metrics and logs; a "cause" that starts after the effect is a symptom, not a cause.
- Check topology consistency — When the system prompt includes a Service Topology block, a propagation path must follow those edges. Do not invent dependencies that are not listed.
- Self-critique before concluding — Before the final answer, ask: what is the strongest piece of evidence AGAINST my leading hypothesis, and did I look at it? If you have not, spend one query on it instead of a fourth confirming query.
What ships with it
1 file 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.
- 1mo ago Changed · +22 lines 687a42ff346b
- 1mo ago Changed · +10 lines · +24 tokens per session b61599685904
- 1mo ago Changed · +2 lines c1e6db0be6a9
- 2mo ago First seen · 64 lines · 58 tokens per session scan A b0709f7acb0e
investigating-alerts is a skill published in the GitHub repository Consensys/ask-o11y-plugin (42 stars, last pushed 2d ago), licensed MIT. It adds 82 tokens to every session and 2,057 once invoked, about $0.0003 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-07.
investigating-alerts compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| investigating-alertsConsensys/ask-o11y-plugin | Skill | 42 | 2d ago | MIT | A | 82 | Claude Code, Codex |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | yesterday | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | 3d ago | MIT | A | 71 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 319 | yesterday | Apache-2.0 | A | 112 | Claude Code |
| ci-fixersipyourdrink-ltd/bernstein | Skill | 1.2k | yesterday | Apache-2.0 | A | 15 | Claude Code, Codex |
| incident-response-incident-responsermyndharis/antigravity-skills | Skill | 1.9k | 23d ago | MIT | A | 36 | Claude Code |
| triaging-web-analytics-supportPostHog/posthog | Skill | 41k | yesterday | none | A | 151 | Claude Code, Codex |