Command Palette

Search for a command to run...

Назад к скиллам
скилл № 60379

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от 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).

  1. infra action=status then infra action=graph op=build and op=impact node=<failing service> to see dependencies and blast radius.
  2. Evidence gathering is read-only: infra action=run command="kubectl ..." / cloud describe commands.
  3. 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.
  4. infra action=audit gives 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

  1. Scope: what is broken, since when, for whom. Pin the first bad timestamp.
  2. 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.
  3. State the root cause with the evidence chain, not just the symptom.
  4. Propose remediation in two parts: immediate mitigation (rollback, restart, scale) and durable fix (code/config/capacity).
  5. Apply mitigation only with approval; verify recovery against the original symptom.
  6. 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.
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

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), без исполняемых скриптов.

Похожие скиллы

Сравнить sre-incident-responder с