memory-init
Skill1 starsChanged 3 months agoMITView on GitHub
One-time setup for a project. Creates the memory files, fills them from what the project actually contains, and adds the boot block to your agent's instruction file.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- dmzoneill/skillstheir own version, first seen Oct 24, 2026
- osipovn/agents-skillstheir own version, first seen Oct 17, 2026
- Rishabh-Choudhry/anchor-memorytheir own version, first seen Oct 15, 2026
- haraldalder-vibemogger/project-memorytheir own version, first seen Sep 26, 2026
- flc1125/skillstheir own version, first seen Aug 12, 2026
- yunshu0909/yunshu_skillshubtheir own version, first seen Aug 10, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- yunshu0909/yunshu_skillshub★ 760same name
- flc1125/skills★ 38same name
- d2a8k3u/claude-code-memory★ 8same name
- osipovn/agents-skills★ 4same name
- dmzoneill/skills★ 2same name
- haraldalder-vibemogger/project-memory★ 2same name
- spudy-vibing/Claude-Code-Prompts★ 2same name
- Rishabh-Choudhry/anchor-memory★ 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 repositoryOne other file it gives its agents.
- checkpointSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Run once per project. Gives checkpoint somewhere to read and write.
- Very specific: line 9
If you use Claude Code, this is not its built-in /init.
- Very specific: line 13
All under memory/. Each has one job, and the split is what keeps the first one short enough to be read every session.
- Very specific: line 24
Read the instruction file your agent reads, if the project has one: AGENTS.md, CLAUDE.md, or your agent's equivalent.
- Distinctive: line 32
Read the README, the build and test config, the entry point, and the directory layout.
- Distinctive: line 50
Write it to the file your agent actually reads at the start of a session:
- Distinctive: line 51
If the project already has AGENTS.md, use that.
- Distinctive: line 53
If it has neither, create the one your own agent reads.
“Common” is measured: kept by at least 6 in 10 of the 7 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 once per project. Gives checkpoint somewhere to read and write.
If you use Claude Code, this is not its built-in /init. That one writes a CLAUDE.md describing your codebase, and it is worth running. This one creates the files that carry state between sessions, and it leaves any existing instruction file standing.
The three files
All under memory/. Each has one job, and the split is what keeps the first one short enough to be read every session.
| File | Job | Write style |
PROJECT.md | What this project is, right now | Edited in place. Stays under one screen |
DECISIONS.md | Why it is that way | Append only, newest at top |
SESSIONS.md | What happened, and when | Append only, newest at top |
Steps
- Survey first.
Read the instruction file your agent reads, if the project has one:
AGENTS.md,CLAUDE.md, or your agent's equivalent. Listmemory/. Done when you can name which of the four target files already exist. - Back up anything that exists.
Copy each existing target to
<filename>.bakbeside it. A file with no.bakdoes not get written to. Done when every file you intend to modify has a backup. - Learn the project before writing about it. Read the README, the build and test config, the entry point, and the directory layout. Run the test command if there is one, and record whether it passed. Done when you can state in your own words what the project does, how it is run, and how it is tested.
Write
PROJECT.md. These sections, in this order:- What this is (one paragraph)
- Run and test (exact commands, copy-pasteable)
- Where things live (only the paths that matter, one line each)
- State (what works, what is in flight)
- Traps (anything that looks wrong but is deliberate, and what breaks if someone "fixes" it)
A section with nothing real in it gets the words
none yet. Done when every claim in the file came from a file you read or a command you ran.- Seed
DECISIONS.mdandSESSIONS.md. Each gets its heading and one real first entry: for decisions, any choice already visible in the project's config or docs; for sessions, today's setup run. Thecheckpointskill owns the session entry shape and repeats it there. Done when both files exist and neither first entry is a placeholder. Add the boot block to your agent's instruction file. Write it to the file your agent actually reads at the start of a session:
- If the project already has
AGENTS.md, use that. - Otherwise, if it already has
CLAUDE.md, use that. - If it has neither, create the one your own agent reads. Claude Code reads
CLAUDE.md; several other agents readAGENTS.md. Pick the correct one for yourself rather than guessing, and say in your report which file you chose and why.
Append the Memory section using the copy below. Keep everything already in the file. Where a rule there clashes with the block, keep both and name the two lines that disagree. Done when the block is present in the right file and nothing that was in it is gone.
- If the project already has
- Prove it works. Re-read the three files as though you had never seen this project, and state the brief they give on their own. Done when that brief answers what this is, how to run it, and what is next, using nothing you remember from this session.
The boot block
## Memory
Continuity for this project lives in `memory/`. Read `PROJECT.md` and
`DECISIONS.md` at the start of every session, before doing any work.
- `PROJECT.md` is the current state. Where it disagrees with the code, the code
wins, and the file gets fixed in the same pass.
- `DECISIONS.md` holds settled choices. A settled choice is reopened by asking,
not by quietly working around it.
- `SESSIONS.md` is the log of what happened.
Run `checkpoint` when something a future session would need to know becomes
true.A note on what this pack does not include
This is the free two-skill pack. Session start-up is manual here: you read the three files yourself, or tell the session to read them, which is what the boot block above instructs.
The full stack adds four more skills that automate the parts this pack leaves to you: cold-booting a session from the memory files, saving state ahead of a context compaction, locking a decision with its reasoning, and removing stale lines with your approval. Details at https://getclearstack.carrd.co
Nothing here is time limited or crippled. These two skills do the whole job they describe.
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.

