investigate-incident
Skill2 starsChanged 3 months agoMITView on GitHub
Investigate an incident to determine the root cause and potential impact.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- matarpeles/skills-registry-demotheir own version, first seen May 5, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- matarpeles/skills-registry-demo★ 0same name
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 repository3 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- generate-llms-txtSkill
- golang-proSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
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
- Distinctive: line 9
If no incident reference is provided, ask the user for the incident link, ID or details before executing next steps.
- Distinctive: line 11
Follow this exact sequence:
- Distinctive: line 21
After the investigation agent completes and you have presented the report to the user, run the context-gathering phase below — do NOT …
- Distinctive: line 27
After the context-gathering phase completes, proceed with incident management — do NOT prompt the user until this step is ready.
- Distinctive: line 34
Create a new incident via incident.io
- Distinctive: line 42
Create a new incident in incident.io with the investigation findings (summary, severity, affected components).
- Distinctive: line 45
After creating the incident (or when posting to an existing incident channel):
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Investigate incident $ARGUMENTS for the Kubernetes cluster.
If no incident reference is provided, ask the user for the incident link, ID or details before executing next steps.
Follow this exact sequence:
Step 1: Investigation
Launch the incident-investigator subagent to perform the full investigation. Pass along any incident ID, cluster name, alert details, or other context the user has provided.
You MUST present the report to the user.
Step 2: Gather Context & Correlate Similar Incidents
After the investigation agent completes and you have presented the report to the user, run the context-gathering phase below — do NOT prompt the user until it is complete.
Launch the incident-context-gatherer subagent to collect context from PagerDuty, Slack, GitHub, and incident.io. Include all information learned during the investigation (root cause, affected components, error messages, related services, cluster name). This pass surfaces Slack threads, related incidents, or GitHub activity that match the investigation findings.
Step 3: Incident Management
After the context-gathering phase completes, proceed with incident management — do NOT prompt the user until this step is ready.
Present options via AskUserQuestion:
If a matching Slack incident channel and/or thread was found, present options like:
- Post to
#inc-<incident-name>(the matching channel) - Post in thread (link to the matching thread)
- Create a new incident via incident.io
- Skip
If no related Slack channel or thread was found, present options like:
- Create a new incident via incident.io
- Skip
Creating a new incident:
Create a new incident in incident.io with the investigation findings (summary, severity, affected components).
Posting to the incident channel:
After creating the incident (or when posting to an existing incident channel):
- Find the incident's Slack channel (incident.io auto-creates
#inc-*channels) - Send the investigation report into the Slack channel and upload the full report as canvas — do NOT draft, send it immediately
Step 4: Ask How to Resolve
Once the investigation is done (even if inconclusive), stop and ask the user what to do for resolution. List the options you found — fix, workaround, silence, escalate, leave as is — with your recommendation. Wait for the answer before going further.
Step 5: Post Incident Summary
This is the LAST step — do it only after the user answered Step 4, so the summary reflects what was actually decided.
Post a one-liner summary of the alert in #oncall-atlas (https://gigantic.slack.com/archives/C04UMF3KV3K) with mcp__slack__slack_send_message. Send it immediately — do NOT draft it for review.
One-liner format:
<status icon> <identifier> - <description>, <links>- status icon:
:large_green_circle:— the alert is fully resolved:large_orange_circle:— the alert is mitigated (silence, workaround in place, ...) but not resolved:red_circle:— the alert is still ongoing and needs attention from team atlas
- identifier:
<alertname>/<cluster id>when it's only one alert on one cluster<alertname>only when it affects multiple clusters<cluster id>only when it's a cluster-wide problem with multiple related alerts
- description: summarize in 25 words maximum — the root cause or ongoing problem, and what was done for resolution/mitigation; if silenced, say so and until when
- links: maximum 2 links — a Slack channel or thread with more information about this incident, a GitHub issue with more information if any. Omit links you don't have; never fabricate one.
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.

