| name | anth-incident-runbook |
| description | Execute incident response procedures for Claude API outages and degradation.
Use when Claude API is returning errors, experiencing high latency,
or showing degraded performance in production.
Trigger with phrases like "anthropic incident", "claude api down",
"anthropic outage", "claude degraded", "anthropic runbook".
|
| allowed-tools | Read, Bash(curl:*), Grep |
| version | 1.6.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","ai","anthropic"] |
| compatibility | Designed for Claude Code |
Anthropic Incident Runbook
Severity Classification
| Severity | Condition | Response Time |
|---|
| P1 | API returning 500/529 for all requests | Immediate |
| P2 | Rate limiting (429) or high latency (>10s p99) | 15 minutes |
| P3 | Intermittent errors (<5% error rate) | 1 hour |
| P4 | Degraded quality (not errors) | Next business day |
Immediate Triage (First 5 Minutes)
curl -s https://status.anthropic.com/api/v2/status.json | python3 -c \
"import sys,json; d=json.load(sys.stdin); print(d['status']['indicator'], '-', d['status']['description'])"
curl -s -w "\nHTTP %{http_code} | Time: %{time_total}s\n" \
https://api.anthropic.com/v1/messages \
-H "x-api-key: $ANTHROPIC_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{"model":"claude-haiku-4-20250514","max_tokens":8,"messages":[{"role":"user","content":"1"}]}'
curl -s -D - https://api.anthropic.com/v1/messages \
-H "x-api-key: $ANTHROPIC_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{"model":"claude-haiku-4-20250514","max_tokens":8,"messages":[{"role":"user","content":"1"}]}' \
2>/dev/null | grep -i "ratelimit\|retry-after\|request-id"
Decision Tree
API returning errors?
โโโ 401/403 โ Key issue โ Check ANTHROPIC_API_KEY is set and valid
โโโ 429 โ Rate limited โ Check headers, reduce traffic, wait for retry-after
โโโ 500 โ Server error โ Check status.anthropic.com, retry with backoff
โโโ 529 โ Overloaded โ Temporary, retry after 30-60s
โโโ Timeouts โ Network or long generation โ Increase timeout, check max_tokens
Mitigation Actions
Rate Limiting (429)