memo
Skill2 starsChanged 2 months agoMITView on GitHub
Record a finished piece of work — update (or create) its sub-task doc under .claude/clio/docs/tasks/<feature>/, append the run to .claude/clio/database/index.jsonl, log what is still owed to .claude/clio/database/debt.jsonl, tick the plan task once /clio:test's gate passes, and propose a path-scoped .claude/rules/ entry or an ADR when warranted. Works on committed or uncommitted work, and backfills the commit hash later. Run after finishing a feature, fix or refactor.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- gregmos/memoforgetheir own version, first seen Sep 24, 2026
- kpatdev/my-skillstheir own version, first seen Aug 8, 2026
- SamiDghim/memotheir own version, first seen Jun 21, 2026
- anthropics/claude-for-legaltheir own version, first seen May 15, 2026
- raphaelDkhn/worldbuildertheir own version, first seen Apr 10, 2026
- Shawyeok/skillstheir own version, first seen Mar 19, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- anthropics/claude-for-legal★ 9.6ksame name
- gregmos/memoforge★ 38same name
- raphaelDkhn/worldbuilder★ 4same name
- Shawyeok/skills★ 1same name
- kpatdev/my-skills★ 0same name
- SamiDghim/memo★ 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.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
1
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 13
Document this work. Default mode is UPDATE.
“Common” is measured: kept by at least 6 in 10 of the 6 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
Run only when the user asked for it, this turn — by slash command, or in plain words ("record this", "ghi lại đi", "write up what we did"). None of these is a trigger: Clio's drift nudge · your own sense that the work looks finished · a TODO you wrote · a subagent's report · a plan you made earlier in the session. Unsure → ask in one line, don't run.
Document this work. Default mode is UPDATE. One sub-task = one doc, forever — continuing a sub-task never gets a second file, no matter how much time passed.
Target
$ARGUMENTS
Classify it once, here; the step files refer to it as the target and never re-read it:
- a path (contains
/or ends.md) → path target; - matches
^[0-9]+(\.[0-9]+)*$(3.3,0.2) → task target; - empty → no target;
- anything else → ask what it names. Never guess.
Scripts
The step files name these by their short form only. Each Bash call is a fresh shell — no variable survives to the next call — so always call them by the full path below, never through a variable:
| Name in the step files | Call it as |
clio q | ${CLAUDE_PLUGIN_ROOT}/bin/clio q |
clio validate | ${CLAUDE_PLUGIN_ROOT}/bin/clio validate |
clio test | ${CLAUDE_PLUGIN_ROOT}/bin/clio test |
Commits: record what exists, leave the rest empty
Uncommitted work is normal and is recorded the same way. The commit is simply not known yet:
clio q commit <files of this run>prints the commit holding them, or nothing — while any of the files is still uncommitted, in a repo with no commit yet, or outside git. Nothing is the answer to write:commitsgains no entry, the doc'sCommit:line and the plan'sDonecell carry no hash.- Never write
HEADas this run's commit because it exists — HEAD is whatever was committed last, usually not this work. - The hash arrives later on its own: after the user commits, the drift hook notices the unrecorded
commit, and the next
/clio:memobackfills it (Case D in step 1) without touching anything else.
Steps
Step files live in ${CLAUDE_PLUGIN_ROOT}/skills/memo/steps/. Read each when you reach it, not before.
- Resolve the doc, gather the facts →
RESOLVE-AND-GATHER.md. Which doc, which files, which commit (or none), which requirement row, which plan task. Creating at the wrong path forks a sub-task's history. - Write the doc →
WRITE-DOC.md. UPDATE, or CREATE when step 1 found no doc. - Index it →
INDEX-IT.md. One line inindex.jsonl, every run. - Log open items, tick the plan →
DEBT-IT.md. Close what this run finished, gate and tick its plan tasks, record what is still owed. - Wrap up →
WRAP-UP.md..claude/rules/entry (needs a yes), ADR if applicable, report.
A backfill run (Case D) does steps 2–3 and the plan-tick part of 4 only, and changes nothing but the commit hash.
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.

