after-action
Skill0 starsChanged 5 months agoMITView on GitHub
Task wrap-up and self-evolution. Review what happened, extract lessons, archive logs, back up with git. The closing ritual for every work session. Triggers: "wrap up", "archive", "AAR", "after action", "收官"
- Commits and pushes
2 other projects use a version of this.
Adopted by
Most recently taken up by
- kaandgnsh/Claude-Bluetheir own version, first seen Nov 1, 2026
- yuanhaorannnnnn/agent-skillstheir own version, first seen Sep 18, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- kaandgnsh/Claude-Blue★ 0same name
- yuanhaorannnnnn/agent-skills★ 0same name
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 repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- becomeSkill
- self-evolutionSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
After completing a complex multi-step task
- Very specific: line 48
Write to daily log: memory/YYYY-MM-DD.md
- Distinctive: line 63
Not mechanical archiving — actually think about it.
- Distinctive: line 106
Before saying "wrap-up done", ask yourself:
- Distinctive: line 109
If my human asks "what did you do in Step X?", can I give a specific answer?
- Distinctive: line 117
When your human says "wrap up" or "archive", don't ask questions.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
🔄 After Action — Task Wrap-Up & Learning
Done but not archived = not done. Every action feeds the next one.
Core attitude: always find N→N+1. Wrapping up isn't just "recording what happened" — it's "finding what can be better next time." Perfection isn't the goal. Continuous evolution is. Today's system is always tomorrow's starting point.
Triggers
Any of these activate this skill:
- "wrap up" / "archive" / "AAR" / "after action"
- "收官" / "歸檔" / "整合經驗"
- End of a long work session
- After completing a complex multi-step task
🎯 Execution Flow
Step 1: Inventory — What happened?
List everything:
- Tasks completed
- Decisions made
- Files created or modified
- Problems encountered and solved
Step 2: Extract — What did we learn?
From each completed task, pull out:
- Problems → solutions → how to prevent next time
- New best practices discovered
- Performance data (time spent, what worked, what didn't)
Write to daily log: memory/YYYY-MM-DD.md
Step 3: Archive — Write it down
1. Daily log — memory/YYYY-MM-DD.md
- Complete record of the day
- Format: time, event, decision, output, lesson
2. Long-term memory (for significant events) — MEMORY.md
- New cognitive breakthroughs
- Important decisions with context
- Systemic changes (before/after)
Step 4: Reflect — What really happened?
Not mechanical archiving — actually think about it.
Four required questions:
- What went right — Most valuable output today? Why?
- What to watch — Any bad patterns forming? Time/energy spent wisely?
- The real issue — What's the actual underlying thing going on?
- N→N+1 — Based on everything today, what's the most natural next step? Not "what should I do" but "if I follow today's momentum, where does it lead?"
Tone: Direct, honest, but caring. This isn't a performance review — it's a debrief between partners.
Step 5: Evolve — Grow from experience
- Lessons → write to relevant skill files or SOUL.md
- Soul-level updates — If a lesson is systemic, recurring, or violates core principles → must be recorded in SOUL.md
- Micro-improvements — Spot automatable repetitive tasks → build script/alias
- N→N+1 list — For each skill/system/process, write one specific "can be better next time" point
Step 6: Backup — Git commit + push
cd /path/to/workspace
git add -A
git commit -m "🔄 after-action: $(date +%Y-%m-%d\ %H:%M) — wrap up"
git push📋 Verification Checklist (Gate Check)
Rule: Before announcing "wrap-up complete", every item must be checked. Missing any = not complete.
□ Step 1: Inventory — all tasks listed?
□ Step 2: Extract — lessons written?
□ Step 3: Archive — daily log complete?
□ Step 4: Reflect — four questions answered? (not one-liners)
□ Step 5: Evolve — lessons distributed? Soul updated if needed?
□ Step 6: Git — committed and pushed?Pre-Report Self-Check
Before saying "wrap-up done", ask yourself:
- Are all boxes checked above?
- Is there anything I "thought I did" but actually just thought about?
- If my human asks "what did you do in Step X?", can I give a specific answer?
If any answer is no → go back and finish. Don't announce completion.
⚡ One-Trigger Mode
When your human says "wrap up" or "archive", don't ask questions. Run all steps.
Report format:
🔄 Wrap-up complete
📊 Today's activity:
- [summary of what was done]
💭 Reflection:
[What went right / What to watch / The real issue — direct and honest]
🧬 Evolution:
- X lessons extracted
- [any soul-level updates]
🔒 Git:
- ✅ committed: [hash]🧠 When to auto-trigger?
| Timing | Condition |
| Before sleep | 22:00-23:00 and significant work was done |
| After big project | Complex multi-step task just finished |
| Human leaving | Detected "that's it for now", "gotta go", "talk later" |
| Context getting full | Pre-compaction flush |
⚠️ Notes
- Don't build new features during wrap-up — this is organizing, not developing
- Lessons must be specific — "had a problem" isn't enough. What problem? What solution? How to prevent?
- Git message uses 🔄 — distinguishes wrap-up commits from feature commits
"Did it but didn't record it = didn't do it. Recorded but didn't push = didn't record."
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.

