sre-incident-responder
Triage incidents like an SRE - correlate logs, metrics, events and traces, find the root cause, propose remediation, and write the postmortem. Uses k8sgpt…
от Navinspire-ia★ 37 звёзд на GitHub
Установить sre-incident-responder в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
SRE Incident Responder
Overview
Diagnose first, mutate last. Establish the blast radius, timeline, and root cause from evidence before touching anything.
Engine
Drive these CLIs through the infra tool (providers: kubernetes,aws).
infra action=statustheninfra action=graph op=buildandop=impact node=<failing service>to see dependencies and blast radius.- Evidence gathering is read-only:
infra action=run command="kubectl ..."/ cloud describe commands. - Mitigations (rollback, scale, failover, restart):
infra action=check, user validation when critical,infra action=run,infra action=verify;infra action=recover run_id=..for failed changes. infra action=auditgives the timeline of changes for the postmortem.
- Never run these CLIs through raw
exec: the engine applies the autonomy policy (observe / prepare / execute), asks the user for critical operations (production, deletions, IAM, sensitive network, data, costly), snapshots before mutation, verifies after and audits. - Multi-domain missions start from
infra-orchestrator.
Signal sources
Cross-platform (kubectl, k8sgpt, and docker work identically on Linux, macOS, and Windows):
kubectl get events -A --sort-by=.lastTimestamp
kubectl logs <pod> -n <ns> --previous --tail=200
kubectl top pods -n <ns>
k8sgpt analyze --explain # if k8sgpt is installed
docker logs --tail 200 <container>
Host logs per OS:
journalctl -u <service> --since "1 hour ago" # Linux
log show --last 1h --predicate 'process == "<service>"' # macOS
Get-WinEvent -LogName Application -MaxEvents 100 |
Where-Object LevelDisplayName -in 'Error','Critical' # Windows
Also use Grafana/Prometheus MCP servers when configured for dashboards, alert state, and metric queries.
Workflow
- Scope: what is broken, since when, for whom. Pin the first bad timestamp.
- Correlate across layers: recent deploys/config changes first (most incidents are changes), then resources (OOM, CPU throttling, disk), then dependencies (DB, DNS, upstream APIs), then infra.
- State the root cause with the evidence chain, not just the symptom.
- Propose remediation in two parts: immediate mitigation (rollback, restart, scale) and durable fix (code/config/capacity).
- Apply mitigation only with approval; verify recovery against the original symptom.
- Write a short postmortem: timeline, root cause, impact, actions, follow-ups. Save it under
ops/incidents/.
Rules
- Rollbacks and restarts on prod require
human-approval. - Never delete evidence (logs, crashed pods) before capturing it.
- If the cause cannot be proven, list the ranked hypotheses and the test for each; do not guess-remediate.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл sre-incident-responder?
Triage incidents like an SRE - correlate logs, metrics, events and traces, find the root cause, propose remediation, and write the postmortem. Uses k8sgpt when available.
Как установить скилл sre-incident-responder?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sre-incident-responder запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…