Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/ilyasibrahim/claude-agents-coordinationWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/ilyasibrahim/claude-agents-coordination/postmortem)<a href="https://agentmods.dev/commands/ilyasibrahim/claude-agents-coordination/postmortem"><img src="https://agentmods.dev/badge/commands/ilyasibrahim/claude-agents-coordination/postmortem/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/ilyasibrahim/claude-agents-coordination/postmortem"><img src="https://agentmods.dev/badge/commands/ilyasibrahim/claude-agents-coordination/postmortem.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00016 | $0.01200 |
| Opus 5.5 | $0.00006 | $0.00480 |
| Sonnet 5.5 | $0.00003 | $0.00240 |
| Haiku 4.5 | $0.00002 | $0.00120 |
Grade A, and why
postmortem scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 228 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Postmortem Command
Invoke sre agent in incident mode for blameless postmortem generation.
Usage
/postmortem [incident-description]
/postmortem --from-logs [log-path]
/postmortem --template # Generate blank template
Default Mode
Task(sre, "
Mode: incident
Incident: [description from user]
Generate blameless postmortem:
1. Incident Summary
- Severity classification (SEV1-4)
- Duration and impact
- Detection method
2. Timeline Reconstruction
- First indication
- Detection time
- Response actions
- Resolution steps
- Recovery confirmation
3. Root Cause Analysis
- Technical root cause
- Contributing factors
- Why detection was delayed (if applicable)
4. Impact Assessment
- Users affected
- Business impact
- Data implications
5. Action Items
- Prevent recurrence
- Improve detection
- Process improvements
- Each with owner and priority
6. Lessons Learned
- What went well
- What went wrong
- What we'll do differently
Output: .claude/reports/sre/postmortem-[incident-slug]-YYYYMMDD.md
After generating postmortem:
- Add P0/P1 action items to .claude/reports/_tech-debt.md as Critical/High priority
- Format: TD-NNN with link to postmortem
")
From Logs Mode
When analyzing existing logs/alerts:
/postmortem --from-logs [path-to-logs]
Task(sre, "
Mode: incident
Analyze logs at: [path]
Extract from logs:
- Error patterns
- Timeline of events
- Affected components
- Recovery indicators
Reconstruct incident narrative and generate postmortem.
Output: .claude/reports/sre/postmortem-[extracted-title]-YYYYMMDD.md
")
Template Mode
Generate blank postmortem template:
/postmortem --template
Creates:
# Postmortem: [TITLE]
## Incident Summary
| Field | Value |
|-------|-------|
| Severity | SEV1 / SEV2 / SEV3 / SEV4 |
| Duration | HH:MM to HH:MM (X hours Y minutes) |
| Impact | [Users affected, revenue impact] |
| Detection | Alert / Customer Report / Internal |
| Resolution | [How it was fixed] |
## Timeline (All times UTC)
| Time | Event |
|------|-------|
| | First signs of issue |
| | Issue detected |
| | Incident declared |
| | Root cause identified |
| | Fix implemented |
| | Service restored |
| | Incident closed |
## Root Cause
[Technical explanation of what caused the incident. Be specific about the chain of events.]
## Contributing Factors
1. [Factor that made the incident worse or more likely]
2. [Factor that delayed detection]
3. [Factor that complicated response]
## Impact
### User Impact
- [Number of users affected]
- [User-visible symptoms]
- [Duration of impact]
### Business Impact
- [Revenue impact if applicable]
- [Reputation impact]
- [SLA implications]
### Data Impact
- [Any data loss or corruption]
- [Recovery status]
## Response Analysis
### What Went Well
- [Effective monitoring/alerting]
- [Quick response time]
- [Good communication]
- [Effective mitigation]
### What Went Wrong
- [Detection gaps]
- [Response delays]
- [Communication issues]
- [Missing runbooks]
## Action Items
| Priority | Action | Owner | Due Date | Status |
|----------|--------|-------|----------|--------|
| P0 | [Prevent recurrence] | | | Open |
| P1 | [Improve detection] | | | Open |
| P1 | [Add missing test] | | | Open |
| P2 | [Update documentation] | | | Open |
| P2 | [Process improvement] | | | Open |
## Lessons Learned
### Technical
- [Technical insight gained]
### Process
- [Process improvement identified]
### Communication
- [Communication improvement]
## Related
- Previous similar incidents: [links]
- Related documentation: [links]
- Monitoring dashboards: [links]
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 228 lines · 16 tokens per session scan A a5ac8c28269e
postmortem is a command published in the GitHub repository ilyasibrahim/claude-agents-coordination (87 stars, last pushed 6mo ago), licensed Unlicense. It adds 16 tokens to every session and 1,200 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
postmortem compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| postmortemilyasibrahim/claude-agents-coordination | Command | 87 | 6mo ago | Unlicense | A | 16 | Claude Code |
| checklistgithub/spec-kit | Command | 154k | yesterday | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 154k | yesterday | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 154k | yesterday | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 154k | yesterday | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 154k | yesterday | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 154k | yesterday | MIT | A | 14 | Claude Code |