Dual-mode workflow issue logger. Use with mode=log to append mistakes during waves. Use with mode=summary at workflow end to review accumulated issues. Use when completing /build, /audit, or /ms workflows.
/plugin marketplace add metasaver/metasaver-marketplace/plugin install core-claude-plugin@metasaver-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
ROOT AGENT ONLY - Called by commands only, never by subagents.
Purpose: Track workflow deviations as they happen, summarize at end
Output: docs/projects/{project-folder}/post-mortem.md
| Mode | When to Use | Action |
|---|---|---|
log | Before compact at each wave | Quick append of obvious mistakes |
summary | At workflow end | Read log, present summary to user |
Time budget: 30 seconds max - observation only
# Post-Mortem Log
**Workflow:** {command} - {description}
**Started:** {YYYY-MM-DD HH:MM}
## Issues
- Wave 1: Wrong agent - used coder for analysis instead of code-explorer
- Wave 2: Skipped HITL approval on FULL path
- Wave 3: Task failed - test runner not found
Rules: One line per issue, wave number, under 80 chars, append only
Trigger: After all phases complete, BEFORE final report
Clean: Workflow Postmortem: No issues logged
Issues found:
Workflow Postmortem: 3 issues logged across 2 waves
By Category: Wrong agent (1), Skipped step (1), Failed task (1)
Details in: docs/projects/{folder}/post-mortem.md
| Category | Example |
|---|---|
| Wrong agent | Used coder for analysis instead of code-explorer |
| Skipped step | HITL approval skipped on FULL path |
| Out of order | Validation before execution |
| Failed task | Task failed but workflow continued |
| Missing skill | Expected skill not invoked |
| Incomplete | Workflow aborted early |
Wave 1 (log): Append - Wave 1: Wrong agent - used coder for analysis
Wave 2 (log): No issues, nothing appended
Wave 3 (log): Append - Wave 3: Skipped HITL and - Wave 3: Task failed
End (summary): Read file, output "3 issues across 2 waves", append summary section