Tooluck logoTooluck
SKILL.md

postmortem

Agent skill fromSethGammon/Citadel

Auto-generates a structured postmortem from a completed campaign. Reads the campaign file, telemetry logs, and feature ledger. Produces a documented analysis of what broke, what the safety systems caught, and what patterns emerged. Can also be invoked manually for any incident.

How to install postmortem

install postmortem
# install the Citadel pack with the skills CLI
npx skills add SethGammon/Citadel

# or add only this skill to Claude Code: copy the folder

skills/postmortem/

# into

~/.claude/skills/postmortem/ (all projects)

.claude/skills/postmortem/ (one project)

skills/postmortem/SKILL.md

MITFull file
1# /postmortem — Campaign Postmortem Generator
2
3## Orientation
4
5**Use when:** A campaign just completed and you want a structured analysis of what broke, what safety systems caught, and what patterns emerged. Also for ad-hoc incident analysis from recent git history.
6
7**Don't use when:** You want to preserve session context for the next conversation (use `/session-handoff`), extract reusable patterns from findings into the knowledge base (use `/learn`), or score and improve quality iteratively (use `/improve`).
8
9## When to Use
10
11- After any Archon campaign completes (Archon should suggest it)
12- After a difficult debugging session
13- When the user says "what just happened" or "what broke"
14- When /do routes "postmortem", "retro", "what broke", "what happened"
15
16## Inputs
17
18One of:
191. A campaign file path (.planning/campaigns/*.md)
202. A time range ("last session", "today", "this week")
213. Nothing (reads the most recent completed campaign)
22
23## Protocol
24
25### Step 1: GATHER
26
27Collect data from all available sources:
28
29**From the campaign file (if it exists):**
30- Direction vs what was actually built (scope drift?)
31- Phase completion timeline (which phases needed rework?)
32- Decision log entries (what architectural choices were made?)
33- Review queue items (what needed human eyes?)
34- Circuit breaker activations (what hit the limit?)
35- Feature ledger (what shipped?)
36
37**From telemetry (.planning/telemetry/):**
38- hook-timing.jsonl: which hooks fired most, any patterns
39…

Excerpt shown under the repository's MIT license.

More skills in Citadel

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

tt-a1i /

archify
95k

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

CCCXOC1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates