debrief
Skill2 starsChanged 6 months agoMITView on GitHub
Post-execution retrospective on an agent run. Compares what the handoff packet predicted against what actually happened — surfaces broken assumptions, unexpected failures, and one concrete change for the next run. Use after an agent completes a task, when the user says "debrief", "retro", "what went wrong", or wants to capture learnings before the next handoff.
18 other projects use a version of this.
Adopted by
Most recently taken up by
- gasyoun/chief-of-staff-templatetheir own version, first seen Oct 5, 2026
- uttambharadwaj/kb-graphtheir own version, first seen Sep 20, 2026
- suboss87/FDEOpstheir own version, first seen Sep 17, 2026
- adamlinscott/claude-skillstheir own version, first seen Sep 16, 2026
- High-East/agentstheir own version, first seen Aug 30, 2026
- YunyueLi/greenroomtheir own version, first seen Aug 24, 2026
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- suboss87/FDEOps★ 950same name
- spacedock-dev/spacedock★ 82same name
- markster/markster-os★ 49same name
- YunyueLi/greenroom★ 12same name
- AMindToThink/claude-code-settings★ 4same name
- trydebrief/debrief-skills★ 4same name
- uttambharadwaj/kb-graph★ 4same name
- adamlinscott/claude-skills★ 3same name
- armenr/modelmux★ 2same name
- propstreet/claude-powerpack★ 2same name
8 more not listed
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 repository5 other files it gives its agents.
- ahaSkill
- align-meSkill
- ask-meSkill
- critique-thisSkill
- optimize-promptSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
5
Distinctive
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 30
If either the packet or the actual-run description is missing, ask for it and stop.
- Distinctive: line 31
Do not re-summarize the packet.
- Distinctive: line 32
Every point names a specific section of the packet it came from (e.g., "Scope — in scope item 2", "Inputs checklist item 3").
- Distinctive: line 33
Do not soften findings. "The agent struggled" is not specific.
- Distinctive: line 55
If a return_packet was supplied, set its status: complete | partial | missing | conflicting.
“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
debrief
When to use
You ran an agent using an AHA handoff packet (or any structured prompt). The run is done — succeeded, failed, or partially completed. Before you close the ticket or move on, you want to capture what was different from the plan.
Inputs you supply
- The original handoff packet (or the agent prompt section at minimum).
- A short description of what the agent actually did — output produced, errors hit, where it got stuck.
- A return packet.
- (Optional) The agent's raw output or a transcript excerpt if the gap is subtle.
Expected output
Seven sections: what matched, what broke, root causes (ranked), return-packet check, AHA delta, proposed rules, and one concrete change for the next run.
Instructions
You are running a post-execution retrospective. The user will provide a handoff packet and an account of what the agent actually did. Your job is to compare prediction against reality — not to judge the outcome, just to surface the gap clearly.
Hard rules:
- If either the packet or the actual-run description is missing, ask for it and stop. Do not fabricate.
- Do not re-summarize the packet. Identify only the gaps.
- Every point names a specific section of the packet it came from (e.g., "Scope — in scope item 2", "Inputs checklist item 3").
- Do not soften findings. "The agent struggled" is not specific. "The agent looped on step 3 because the retry policy was missing from the inputs checklist" is.
- Output voice — apply these to every line:
- Flat, direct, concrete. State what happened.
- Sentence case headings. Minimize bold and em dashes.
- Banned words: delve, tapestry, vibrant, pivotal, crucial, intricate, landscape (abstract), testament, underscore (verb), meticulous, garner, bolstered, fostering, enhance, showcase, interplay, enduring, nestled, groundbreaking, renowned.
- Banned phrases: "not just X but Y", "despite challenges", "serves as" (use "is"), section summaries, "it's important to note", promotional puffery.
Output format:
What matched
Up to 3 items. Specific things the packet predicted correctly — assumption held, constraint respected, output matched. One line each with citation.
What broke
Up to 5 items. For each:
- What happened (one sentence)
- Which packet section was wrong or missing
- Severity: H / M / L
Root causes
Ranked list, max 3. Each cause applies to one or more "what broke" items. Name the cause, not the symptom. "Missing input" is a cause. "Agent failed" is a symptom.
Return-packet check
If a return_packet was supplied, set its status: complete | partial | missing | conflicting. A packet that claims no blockers while an acceptance check failed, or lists files_changed with no commands_run, is conflicting and becomes an H-severity item under "What broke".
AHA delta
One line: the specific decision, missing input, approval gate, or validation check that changed because AHA ran. If none, say "no delta — this task did not need AHA."
Proposed rules
Up to 1 by default. For each: the rule text, scope, and provenance (this session + the break it came from). Status is "proposed". Do not edit any instruction file here.
One change for the next run
One paragraph. The single edit to the handoff packet (or the process that produced it) that would have prevented the highest-severity break. Be specific: name the section, the line, what to add or change.
Failure modes
- Debrief re-summarizes the packet instead of diffing against it. Fix: frame every point as "packet said X, reality was Y".
- "What broke" items are vague ("agent got confused"). Fix: require a packet citation per item.
- Root causes duplicate "what broke" items. Fix: causes explain why breaks happened, not what the breaks were.
- "One change" duplicates a "what broke" item. Fix: it must be a prescription (what to write differently), not a description of the failure.
Example invocation
User input:
Packet: agent to triage failed webhook deliveries. In scope: classify failure type, suggest retry. What happened: agent classified correctly but invented a retry URL that doesn't exist. Retries section was empty in the packet. return_packet: status: complete files_changed: [] commands_run: [] acceptance_check_results: - "retry URL verified: fail; no policy source was supplied" blockers: []
Expected output:
What matched
- Failure classification ran correctly — "Scope — in scope item 1" held.
- Output was a markdown table as specified — "Agent prompt — output schema" held.
What broke
- Agent invented a retry endpoint not in the inputs. Inputs checklist had no retry policy document. Severity: H.
- Output had 14 rows; packet said max 10. "Agent prompt — output schema" cap was not enforced. Severity: M.
Root causes
- Missing input: retry policy was listed as [SPECIFY: ...] but never filled in before the run.
- Output cap not enforced: the word "max" in the schema was not backed by a hard instruction.
Return-packet check
Status: conflicting. The packet claims complete and lists no blockers, but the acceptance check failed because the retry policy source was missing.
AHA delta
AHA should have added a stop condition: do not suggest retries until the retry policy excerpt is pasted.
Proposed rules
- Rule: Handoffs that request retries must include the retry policy excerpt or a stop condition. Scope: coding. Provenance: this session, missing retry policy break. Status: proposed.
One change for the next run
In the Inputs checklist, replace "[SPECIFY: retry policy excerpt]" with a required gate: "Do not start phase 4 until this item is pasted." The agent invented the URL because it had no data and no instruction to stop.
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.

