ops-investigate-alert — Claude Code skill: install and overview
Investigates production alerts end-to-end by collecting telemetry, error logs, and recent code diffs. Gives on-call engineers an evidence-based incident root cause.
npx skills add c0x12c/ai-toolkit --skill ops-investigate-alert -a claude-codeWhat ops-investigate-alert does
Alert triaging starts with an environment check. The skill inspects connected MCP servers for platforms like Datadog, Grafana, or PagerDuty. Without an active monitoring MCP server, the investigation stops immediately with an error. The user can pass either a direct monitor link or an alert name to begin.
The core procedure always gathers the monitor state, queries telemetry an hour around the incident, and pulls ERROR logs. When the GitHub CLI tool is authorized, the agent inspects the last two deployed tags to correlate exceptions with fresh commits. A Kubernetes MCP can also inspect pod health and OOM events.
The skill never pushes git tags or alters deployment states. Every run finishes with an inline breakdown containing evidence, diagnostic confidence, and targeted remediation steps.
What it helps with
- investigate triggered monitoring alerts
- correlate metric anomalies with application error logs
- diff recent releases with GitHub CLI during incidents
- inspect Kubernetes pod restarts near failure events
Example prompts for the agent
- Investigate the high-memory-usage alert on the billing service
- Check metrics and logs for the failing payment-gateway monitor
- Analyze the auth-service-5xx alert and inspect recent code changes
How to install ops-investigate-alert
1Skills CLI (Vercel)
npx skills add c0x12c/ai-toolkit --skill ops-investigate-alert -a claude-code2Manually: put the files in place
~/.claude/skills/ops-investigate-alert/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/ops-investigate-alert/
1Skills CLI (Vercel)
npx skills add c0x12c/ai-toolkit --skill ops-investigate-alert -a codex2Manually: put the files in place
.agents/skills/ops-investigate-alert/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add c0x12c/ai-toolkit --skill ops-investigate-alert -a cursor2Manually: put the files in place
.cursor/skills/ops-investigate-alert/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install c0x12c/ai-toolkit ops-investigate-alert2Manually: put the files in place
.github/skills/ops-investigate-alert/SKILL.md1Skills CLI (Vercel)
npx skills add c0x12c/ai-toolkit --skill ops-investigate-alert -a gemini-cli2Platform CLI
gemini skills install https://github.com/c0x12c/ai-toolkit --path toolkit/skills/ops-investigate-alertManually: put the files in place
.devin/skills/ops-investigate-alert/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add c0x12c/ai-toolkit --skill ops-investigate-alert -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about ops-investigate-alert
How to install ops-investigate-alert in Claude Code?
Run npx skills add c0x12c/ai-toolkit --skill ops-investigate-alert -a claude-code. The skill writes its instructions to ~/.claude/skills/ops-investigate-alert/SKILL.md.
What does ops-investigate-alert do?
It queries telemetry systems through an MCP server, inspects errors in logs, and scans recent repository changes. The final output provides a root cause hypothesis alongside triage advice.
What prerequisites does ops-investigate-alert require?
You need at least one monitoring MCP server connected, such as Datadog MCP. Optional integrations include authenticated GitHub CLI for commit diffs and Kubernetes MCP for cluster health.