agentleFS
justnau1020justnau1020/claude-os/skills/operations/incident/SKILL.md

incident

Skill3 starsChanged 8 months agoApache-2.0View on GitHub

Guide through security incident or outage response. Use when there is a security incident, the service is down, or there is a production emergency.

13 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use observability, plan and 3 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • OpenAISkill

    observability

    Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.

    Also in 3 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 4 projects that use this

  • AWSSkill

    retro

    Conduct a retrospective on a coding session.

    Also in 3 projects that use this

  • Microsoft AzureSkill

    design

    Design rules and conventions for the API Center Portal. Use when editing detail pages, card components, badges, layout, navigation, sidebars, or headers. Covers badge styling, metadata placement, page navigation patterns, and layout alignment.

    Also in 3 projects that use this

  • AnthropicSkill

    debug

    Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When did it start?

    line 16
  2. Distinctive:

    If security breach: rotate all API keys and secrets immediately

    line 21
  3. Distinctive:

    If outage: check health endpoint and CI status

    line 22
  4. Distinctive:

    If data corruption: stop the service, take a backup immediately

    line 23
  5. Distinctive:

    Follow the relevant procedure from the project's runbook or operational docs.

    line 49
  6. Distinctive:

    Verify service is healthy

    line 53
  7. Distinctive:

    Create an incident report with:

    line 59

“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Incident Response

This is an emergency procedure. Follow steps carefully.

Steps

1. Assess

  • What is the nature of the incident? (outage, security breach, data corruption)
  • When did it start?
  • What is the blast radius? (single user, all users, data integrity)

2. Contain

  • If security breach: rotate all API keys and secrets immediately
  • If outage: check health endpoint and CI status
  • If data corruption: stop the service, take a backup immediately
# Take immediate backup (adjust for your database)
# SQLite
cp database.db database.db.incident-backup

# PostgreSQL
pg_dump dbname > incident-backup.sql

3. Diagnose

# Check service status
curl -sf https://{PRODUCTION_URL}/health

# Check recent CI
gh run list --limit 5

# Check recent commits for the cause
git log --oneline -10

4. Remediate

Follow the relevant procedure from the project's runbook or operational docs.

5. Recover

  • Verify service is healthy
  • Verify data integrity
  • Notify affected users if applicable

6. Document

Create an incident report with:

  • Timeline of events
  • Root cause
  • Resolution steps taken
  • Prevention measures for the future

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.