incident-triage-harness
Skill126 starsChanged 6 months agoMITView on GitHub
Production-style incident triage workflow for logs, metrics, code, safe mitigations, and M3 multimodal visual evidence (screenshots, screen recordings). Use when debugging alerts, regressions, outages, or suspicious runtime behavior.
In this repository27 other files it gives its agents.
- docs/AGENTS.mdAGENTS.md
- .cursor/rules/3d-graphics.mdcCursor rule
- .cursor/rules/agent-teams.mdcCursor rule
- .cursor/rules/clarify-first-prompting.mdcCursor rule
- .cursor/rules/cursor-agent-orchestration.mdcCursor rule
- .cursor/rules/cursor-mcp-optimization.mdcCursor rule
- .cursor/rules/cursor-tools-mastery.mdcCursor rule
- .cursor/rules/design-systems.mdcCursor rule
- .cursor/rules/devops-infrastructure.mdcCursor rule
- .cursor/rules/fable5-coding-craft.mdcCursor rule
- .cursor/rules/fable5-reasoning.mdcCursor rule
- .cursor/rules/language-agnostic-patterns.mdcCursor rule
- .cursor/rules/minimax-m3-core.mdcCursor rule
- .cursor/rules/minimax-m3-self-evolution.mdcCursor rule
- .cursor/rules/minimax-m3-status-verification.mdcCursor rule
- .cursor/rules/minimax-m3-verification.mdcCursor rule
- .cursor/rules/minimax-mcp-tools.mdcCursor rule
- .cursor/rules/mobile-cross-platform.mdcCursor rule
- .cursor/rules/model-compatibility.mdcCursor rule
- .cursor/rules/skill-authoring.mdcCursor rule
- .cursor/rules/tool-discovery.mdcCursor rule
- 3d-web-experiencesSkill
- anti-slop-designSkill
- deep-researchSkill
- minimax-m3-long-contextSkill
- minimax-m3-multimodal-inputSkill
- minimax-multimodal-toolkitSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
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 32
Before doing anything else, identify:
- Distinctive: line 39
Do not jump into code edits until you have at least one concrete failure hypothesis.
- Distinctive: line 43
When the user attaches a screenshot of a broken UI, a screen recording of the failure, or a short clip of the symptom, the visual is …
- Distinctive: line 45
Read the actual file in the current session.
- Distinctive: line 87
Prefer the smallest safe mitigation that reduces impact:
- Distinctive: line 91
add or restore a missing migration or config
- Distinctive: line 94
Do not claim a root cause until the evidence supports it.
- Distinctive: line 100
When reporting back, make clear:
- Distinctive: line 109
If the system is safer but the root cause is still incomplete, say so explicitly.
≈ “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
Incident Triage Harness
Investigate production-style failures with an evidence-first loop: confirm symptoms, narrow the blast radius, correlate signals, inspect code, and prove the smallest safe mitigation.
When to Use
- User asks to debug an outage, incident, alert, regression, or mysterious failure
- Logs, traces, deployments, migrations, config drift, or runtime behavior are involved
- You need a structured loop for "hypothesis -> check -> narrow -> mitigate -> verify"
For deeper prompts, evidence templates, and mitigation checklists, also read reference.md in this skill directory.
Step 0: Triage The Situation
Before doing anything else, identify:
- User-visible symptom: What is broken right now?
- Blast radius: Which route, job, service, or user segment is affected?
- Recent change surface: Deploys, migrations, feature flags, config changes, dependency bumps
- Available evidence: logs, traces, dashboards, DB data, repo history, local repro, tests
Do not jump into code edits until you have at least one concrete failure hypothesis.
Step 0a: Visual Evidence (M3)
When the user attaches a screenshot of a broken UI, a screen recording of the failure, or a short clip of the symptom, the visual is primary evidence — not a supplement.
- Read the actual file in the current session. Quote the visible text (error message, broken layout, empty state) directly in the report.
- Name the file path in the closeout; do not describe the image from memory.
- For a UI regression, treat the screenshot as the "what is broken" input. Treat a re-rendered post-fix frame as the "what is fixed" proof (
multimodal-grounded). - For animation / interaction bugs, prefer a short clip over a single frame; cite the timestamp region of the relevant behavior.
Step 1: Evidence Loop
Use this sequence:
1. Confirm the symptom
2. Correlate recent changes with the failure window
3. Form the smallest plausible hypothesis
4. Check the hypothesis with the strongest available evidence
5. Narrow the cause before changing code
6. Prefer safe mitigation before broad refactors
7. Verify the mitigation at the affected surfaceStep 2: What To Inspect
Inspect in this order when relevant:
- User symptom
- broken page, failing endpoint, timeout, data corruption, auth issue
- Runtime evidence
- logs, traces, metrics, console errors, network failures
- Recent change history
- deploy timeline, feature flags, migrations, dependency changes
- Code surface
- likely entry points, data flow, integration boundaries
- Persistence layer
- DB schema, indexes, missing migrations, stale data, queue state
Step 3: Mitigation Bias
Prefer the smallest safe mitigation that reduces impact:
- disable or isolate the failing path
- revert a narrow change if the evidence is strong
- add or restore a missing migration or config
- patch one integration boundary rather than refactoring the whole subsystem
Do not claim a root cause until the evidence supports it.
Step 4: Closeout Expectations
When reporting back, make clear:
- symptom confirmed
- strongest hypothesis
- evidence checked
- mitigation applied or recommended
- verification run
- remaining unknowns
If the system is safer but the root cause is still incomplete, say so explicitly.
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.

