investigating-alerts

investigating-alerts is a skill for Claude Code, Codex from Consensys/ask-o11y-plugin. It costs 82 tokens per session (2,057 once invoked), scanned A, original, MIT.

An alert and incident investigation workflow that examines monitoring data to find the underlying cause of a problem. It uses alerts, logs, traces, and metrics, and follows the relevant runbook, which is a set of instructions for handling an incident.

In plain words
What is it for?
Use it to investigate firing alerts, service incidents, outages, and unknown problems; compare evidence across monitoring sources and verify a likely root cause.
Why use it?
It helps avoid treating only the visible symptom and provides an ordered way to investigate outages and other failures. It also prioritizes the runbook before wider investigation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate firing alerts, service incidents, outages, and unknown problems; compare evidence across monitoring sources and verify a likely root cause.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/consensys/ask-o11y-plugin/investigating-alerts
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 Consensys/ask-o11y-plugin --skill investigating-alerts
Clone the repo
git clone --depth 1 https://github.com/Consensys/ask-o11y-plugin

Made for: Claude Code, Codex.

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 investigating-alerts

README.md
[![agentmods](https://agentmods.dev/badge/skills/consensys/ask-o11y-plugin/investigating-alerts/github.svg)](https://agentmods.dev/skills/consensys/ask-o11y-plugin/investigating-alerts)
Your own site
<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.

agentmods 80×15 button for investigating-alerts

Your own site · 80×15
<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>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,057 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00082 $0.02057
Opus 5.5 $0.00033 $0.00823
Sonnet 5.5 $0.00016 $0.00411
Haiku 4.5 $0.00008 $0.00206

Measured 1mo ago against content hash 687a42ff346b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

pkg/skills/bundled/investigating-alerts/SKILL.md · 98 lines

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":

  1. If an Alert Context block was prefetched into the system prompt, skip rule discovery entirely and start from its metrics/matchers/runbook
  2. Otherwise, list available datasources to discover their UIDs — reuse these UIDs for the rest of the session
  3. 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_name is ignored on the datasource path and returns all rules (a large token cost)
  4. Check Grafana-managed alerts (without a datasource UID filter)
  5. 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

  1. 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.
  2. 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)
  3. 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
  4. 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
  5. Narrow down — Use specific label filters once you identify the affected component
  6. 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.

Read the full file on GitHub · 98 lines

Files

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.

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. 1mo ago Changed · +22 lines 687a42ff346b
  2. 1mo ago Changed · +10 lines · +24 tokens per session b61599685904
  3. 1mo ago Changed · +2 lines c1e6db0be6a9
  4. 2mo ago First seen · 64 lines · 58 tokens per session scan A b0709f7acb0e

Subscribe to this mod's changes

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.

Related

investigating-alerts compared with skills from other repositories

investigating-alerts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
investigating-alertsConsensys/ask-o11y-pluginSkill422d agoMITA82Claude Code, Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16kyesterdayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7k3d agoMITA71Claude Code, Codex
cwv-optimizeradobe/skillsSkill319yesterdayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2kyesterdayApache-2.0A15Claude Code, Codex
incident-response-incident-responsermyndharis/antigravity-skillsSkill1.9k23d agoMITA36Claude Code
triaging-web-analytics-supportPostHog/posthogSkill41kyesterdaynoneA151Claude Code, Codex