incident
Skill3 starsChanged 31 days agoMITView on GitHub
Gather incident context and write a blameless postmortem with timeline, root cause, and action items.
21 other projects use a version of this.
Adopted by
Most recently taken up by
- AsiaOstrich/EngramGraphtheir own version, first seen Nov 8, 2026
- lalulali/vespyrtheir own version, first seen Nov 6, 2026
- AsiaOstrich/universal-dev-standardstheir own version, first seen Nov 1, 2026
- fervaldezjr/agent-opstheir own version, first seen Nov 1, 2026
- umararshad4/honey-stacktheir own version, first seen Nov 1, 2026
- DataWithBaraa/claude-code-data-engineering-skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use runbook, perf and 7 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.
AnthropicSkillrunbook
Create or update an operational runbook for a recurring task or procedure. Use when documenting a task that on-call or ops needs to run repeatably, turning tribal knowledge into exact step-by-step commands, adding troubleshooting and rollback steps to an existing procedure, or writing escalation paths for when things go wrong.
Also in 4 projects that use this
MicrosoftSkillperf
Speed and memory performance rules for Rust crates, the Node addon, webui-framework, and webui-delivery.
Also in 3 projects that use this
drewdrewthisSkillsweep
Search for similar patterns, anti-patterns, or issues elsewhere in the codebase after a fix or feature. Use after implementing a fix to catch the same bug in other places, or proactively to audit for a known pattern.
Also in 3 projects that use this
OpenAISkillobservability
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 5 projects that use this
mijunriSkilldatabase
数据库脚本与操作规范。脚本放在 db_scripts 目录,遵循查询优化、事务、安全等实践。
Also in 3 projects that use this
MicrosoftSkillapi-design
Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.
Also in 6 projects that use this
- +1 more from microsoft
Other versions21 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 21
- AsiaOstrich/universal-dev-standards★ 84same name
- DataWithBaraa/claude-code-data-engineering-skills★ 84same name
- manusco/resonance★ 38same name
- ulises-jeremias/agent-toolkit★ 19same name
- lalulali/vespyr★ 11same name
- NotHarshhaa/devops-skills★ 8same name
- greglas75/zuvo★ 7same name
- umararshad4/honey-stack★ 5same name
- AsiaOstrich/EngramGraph★ 4same name
- gonimar/claude-web-studio★ 4same name
11 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- asideSkill
- assessmentSkill
- auditSkill
- benchmarkSkill
- brainSkill
- checkpointSkill
- cleanupSkill
- concise-modeSkill
- cross-modelSkill
- deploySkill
- designSkill
- explainSkill
- fix-issueSkill
- ganSkill
- guardSkill
- hotfixSkill
- infraSkill
- interview-meSkill
- investigateSkill
- migrateSkill
- module-auditSkill
- morningSkill
- onboardSkill
- planSkill
- profileSkill
- pr-summarySkill
- readmeSkill
- refactorSkill
- researchSkill
- resolveSkill
- respondSkill
- retroSkill
- reviewSkill
- session-logSkill
- setupSkill
- shipSkill
- skill-newSkill
- spikeSkill
- tddSkill
- testSkill
- zoom-outSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
30 rules. 0 are common, 25 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 19 edited versions we read keep these.
25
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
After resolving a production incident to write the postmortem.
- Distinctive: line 18
When preparing for an incident review meeting.
- Distinctive: line 29
No arguments: interactive mode.
- Distinctive: line 37
Collect deployment history: Run these in parallel:
- Distinctive: line 42
Check service health: Run these in parallel:
- Distinctive: line 43
If the project has health check endpoints documented in the codebase, suggest curling them.
- Distinctive: line 45
Check for error monitoring: suggest checking Sentry, Datadog, or CloudWatch based on project dependencies.
- Distinctive: line 47
Identify recent changes: Run these in parallel:
- Very specific: line 50
Check for recent infrastructure changes: look for .tf or pulumi file modifications.
- Distinctive: line 78
Ask for incident details: if not provided:
- Distinctive: line 80
When was it detected? Timestamp or approximate time.
- Distinctive: line 81
When was it resolved? Timestamp or approximate time.
- Distinctive: line 85
Gather automated context: Run the same data collection as gather mode, steps 1-3 above.
- Very specific: line 92
Generate the postmortem draft: Follow this structure from standards/observability.md:
- Distinctive: line 152
Ask if any sections need more detail.
- Distinctive: line 153
Ask if the root cause analysis is accurate.
- Distinctive: line 154
Ask if the action items are concrete enough, with real owners and due dates.
- Very specific: line 156
File what generalizes: When SECOND_BRAIN_VAULT resolves to a directory, offer to file an incident note before closing out.
- Very specific: line 164
All timestamps in GMT per standards/observability.md.
- Distinctive: line 167
Never fabricate incident details.
- Very specific: line 170
If gh or glab is not installed, skip the deployment history steps that require them and note the limitation.
- Distinctive: line 171
Never access production systems, databases, or monitoring dashboards directly.
- Distinctive: line 183
Stop and ask the user when a timestamp, severity, or impact figure has no source in user input or command output.
- Distinctive: line 184
Stop and rewrite when the Root Cause section names only the triggering change.
- Distinctive: line 185
Stop and convert when a timestamp is in local time or carries no zone.
- Distinctive: line 186
Stop and hand the step to the user when it needs a production system, database, or monitoring dashboard.
- Distinctive: line 187
Stop and reword when a sentence attributes the outage to a person.
- Distinctive: line 191
Every timeline row carries a GMT timestamp sourced from the user or from a gathered command output.
- Distinctive: line 193
Every action item has an owner and a due date, or is marked as a placeholder for the user to fill.
- Distinctive: line 194
Every missing detail appears as a placeholder that names what is needed.
“Common” is measured: kept by at least 6 in 10 of the 19 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.
Files
Overview
Gather incident data from multiple sources, like recent deploys, error spikes, affected services, and recent changes, and produce a structured blameless postmortem following the template in standards/observability.md. Can also help during active incidents by collecting diagnostic information.
When to use
- After resolving a production incident to write the postmortem.
- During an active incident to quickly gather context and diagnostic data.
- When preparing for an incident review meeting.
When NOT to use
- For non-production issues or local development bugs. Use standard debugging instead.
- For planned maintenance or expected downtime.
Arguments
This skill accepts optional arguments after /incident:
- No arguments: interactive mode. Ask for incident details and build the postmortem.
--gather: collect diagnostic data from available sources without writing a postmortem yet. Useful during an active incident.--draft <title>: start a postmortem draft with the given title, pre-filling what can be automated.
Steps
Gather mode (--gather)
- Collect deployment history. Run these in parallel:
git log --oneline --since="24 hours ago" --allto find recent commits.GH_TOKEN=$(gh auth token --user <account>) gh release list --limit 5to find recent releases, ifghis available.GH_TOKEN=$(gh auth token --user <account>) gh pr list --state merged --limit 10 --json number,title,mergedAtto find recently merged PRs.
- Check service health. Run these in parallel:
- If the project has health check endpoints documented in the codebase, suggest curling them.
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"to check container health, if applicable.- Check for error monitoring: suggest checking Sentry, Datadog, or CloudWatch based on project dependencies.
- Identify recent changes. Run these in parallel:
git diff --stat HEAD~10..HEADto show what changed recently.git log --oneline --since="48 hours ago" --format="%h %s (%an, %ar)"for attributed change history.- Check for recent infrastructure changes: look for
.tforpulumifile modifications.
Present findings. Format as a diagnostic summary:
## Incident Diagnostic Summary **Gathered:** <timestamp GMT> **Repo:** <owner/repo> **Branch:** <current branch> ### Recent deployments <list of recent releases, merged PRs, and deploys> ### Recent code changes <summary of changes in the last 48 hours, grouped by area> ### Service status <container health, endpoint status if checked> ### Suggested next steps - Check <monitoring tool> for error rate spikes - Review <specific recent change> as potential cause - Check <dependency> health
Postmortem mode (default or --draft)
- Ask for incident details if not provided:
- What happened? One sentence summary.
- When was it detected? Timestamp or approximate time.
- When was it resolved? Timestamp or approximate time.
- What was the user impact? Who was affected and how.
- What was the severity? SEV1 through SEV4.
- Gather automated context. Run the same data collection as gather mode, steps 1-3 above.
- Build the timeline. Combine user-provided timestamps with automated data:
- Match deploy times against the incident window.
- Identify the most likely triggering change.
- Structure events chronologically with GMT timestamps per
standards/observability.md.
Generate the postmortem draft. Follow this structure from
standards/observability.md:# Postmortem: <title> **Date:** <incident date> **Severity:** <SEV1-SEV4> **Duration:** <start to resolution> **Author:** <user> ## Summary <One paragraph: what happened, who was affected, what was the business impact> ## Impact - **Duration:** <total downtime or degradation window> - **Affected users:** <scope: all users, specific region, specific feature> - **Error budget consumed:** <if SLOs are defined> ## Timeline (GMT) | Time | Event | |------|-------| | HH:MM | <detection, first alert, or user report> | | HH:MM | <investigation started> | | HH:MM | <root cause identified> | | HH:MM | <mitigation applied> | | HH:MM | <service restored> | | HH:MM | <confirmed resolution> | ## Root Cause <The actual cause, not the trigger. Explain why the system behaved this way.> ## Contributing Factors <What made detection or recovery slower? Missing monitoring, unclear runbooks, lack of feature flags, insufficient testing?> ## What Went Well - <Things that worked: fast detection, effective communication, quick rollback> ## What Didn't Go Well - <Things that failed: slow detection, unclear ownership, manual recovery steps> ## Action Items | Action | Owner | Due Date | Status | |--------|-------|----------|--------| | <concrete task> | <person> | <date> | Open | ## Lessons Learned <Key takeaways that should inform future design and process decisions>- Present the draft to the user for review and refinement.
- Ask if any sections need more detail.
- Ask if the root cause analysis is accurate.
- Ask if the action items are concrete enough, with real owners and due dates.
File what generalizes. When
SECOND_BRAIN_VAULTresolves to a directory, offer to file an incident note before closing out.The postmortem belongs to the outage and stays where the team keeps postmortems. The vault note is the part that outlives it: the failure mode, the system property that allowed it, and what would catch it next time. Separate the two deliberately, because a vault note that restates the timeline is a duplicate that will drift.
Delegate the write by calling the Skill tool with
brainand the argumentcapture; that skill owns the note grammar. The note is a dated snapshot, so the incident date is the note date and its claims stay true without stamps. Link it to systems and people already in the vault, never to notes that do not exist yet.
Rules
- All timestamps in GMT per
standards/observability.md. Never use local timezones. - Blameless tone throughout. No individual blame, no "should have known better." Focus on systems and processes.
- Action items must be concrete tasks with owners, not vague improvements like "be more careful" or "improve monitoring."
- Never fabricate incident details. If information is missing, leave a placeholder and note what needs to be filled in.
- The root cause section must explain WHY, not just WHAT. "The deploy broke the API" is a trigger, not a root cause. "The deploy introduced a query without an index on a table with 10M rows, causing timeouts under normal load" is a root cause.
- Contributing factors are not excuses. They are system-level observations that inform action items.
- If
ghorglabis not installed, skip the deployment history steps that require them and note the limitation. - Never access production systems, databases, or monitoring dashboards directly. Suggest the user check them and provide the data.
Common Rationalizations
- "The deploy inside the incident window is the root cause": that deploy is the trigger. The Root Cause section explains why the system failed under it, such as the missing index behind the timeouts.
- "A best-guess timestamp is close enough": an invented time corrupts the timeline. Leave a placeholder and name who can supply the real value.
- "
Improve monitoringcovers it": an action item names a concrete task, an owner, and a due date, or it is a placeholder the user still has to fill. - "Naming the engineer who merged the change makes the timeline clearer": the postmortem is blameless. Describe the change and the process gap that let it through.
- "A quick query against production would confirm the theory": hand the query to the user and work from the data they return.
Red Flags
- Stop and ask the user when a timestamp, severity, or impact figure has no source in user input or command output.
- Stop and rewrite when the Root Cause section names only the triggering change.
- Stop and convert when a timestamp is in local time or carries no zone.
- Stop and hand the step to the user when it needs a production system, database, or monitoring dashboard.
- Stop and reword when a sentence attributes the outage to a person.
Verification
- Every timeline row carries a GMT timestamp sourced from the user or from a gathered command output.
- The Root Cause section explains why the system behaved as it did, beyond naming the trigger.
- Every action item has an owner and a due date, or is marked as a placeholder for the user to fill.
- Every missing detail appears as a placeholder that names what is needed.
- The user answered the three review questions from postmortem step 5 on the draft.
- In gather mode, the summary carries the gathering time in GMT and names every step skipped because
ghorglabwas missing.
Related skills
/ship checks- Check CI/CD pipeline status during incident investigation./ship commit- Commit the postmortem document./review- Review changes related to incident fixes.
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
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.

