agentleFS
cjwindcjwind/crystal-facets/.claude/skills/after-action/SKILL.md

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

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. kaandgnsh/Claude-Blue★ 0same name
    2. 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.

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
  1. Distinctive:

    After completing a complex multi-step task

    line 27
  2. Very specific:

    Write to daily log: memory/YYYY-MM-DD.md

    line 48
  3. Distinctive:

    Not mechanical archiving — actually think about it.

    line 63
  4. Distinctive:

    Before saying "wrap-up done", ask yourself:

    line 106
  5. Distinctive:

    If my human asks "what did you do in Step X?", can I give a specific answer?

    line 109
  6. Distinctive:

    When your human says "wrap up" or "archive", don't ask questions.

    line 117

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

🔄 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:

  1. What went right — Most valuable output today? Why?
  2. What to watch — Any bad patterns forming? Time/energy spent wisely?
  3. The real issue — What's the actual underlying thing going on?
  4. 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

  1. Lessons → write to relevant skill files or SOUL.md
  2. Soul-level updates — If a lesson is systemic, recurring, or violates core principles → must be recorded in SOUL.md
  3. Micro-improvements — Spot automatable repetitive tasks → build script/alias
  4. 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:

  1. Are all boxes checked above?
  2. Is there anything I "thought I did" but actually just thought about?
  3. 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?

TimingCondition
Before sleep22:00-23:00 and significant work was done
After big projectComplex multi-step task just finished
Human leavingDetected "that's it for now", "gotta go", "talk later"
Context getting fullPre-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."

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.