seed-memory-file
Skill0 starsChanged 6 months agoMITView on GitHub
Bootstrap a minimal CLAUDE.md (with AGENTS.md bridge) for a project that has no memory file yet, by exploring the codebase for commands, structure, and conventions. Use when the user asks to seed, bootstrap, init, or create a memory file / AGENTS.md / CLAUDE.md for a project, or for inventory rows where both files are absent.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- audit-memory-fileSkill
- refresh-best-practicesSkill
- scan-projectsSkill
- setupSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Create a first CLAUDE.md for a project that has none.
- Very specific: line 14
Safety check: Check the project's scope in SCOPES.md: in no-new-files scopes do NOT create files inside the repo — propose adding a section …
- Very specific: line 35
Create on approval: write CLAUDE.md, then bridge: ln -s CLAUDE.md AGENTS.md.
- Distinctive: line 45
Don't pad a thin project to make the file look complete — a 10-line CLAUDE.md for a simple repo is correct.
- Very specific: line 47
Don't document what ls and the README already make obvious.
- Distinctive: line 48
Don't guess commands — verify they exist in manifests/CI before writing them down.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Seed Memory File
Create a first CLAUDE.md for a project that has none. Short and evidence-based: a new memory file earns lines from what's actually in the repo, not from speculation.
Workflow
- Safety check. Check the project's scope in
SCOPES.md: inno-new-filesscopes do NOT create files inside the repo — propose adding a section to the scope-root memory file instead. Skip projects on theNever touch/ fork-skip lists unless explicitly asked. - Explore the project (keep it cheap — README, manifests, CI config,
Makefile/justfile, top-level layout):
- How to build, test, lint, run — exact commands
- Tech stack and versions that aren't obvious from a glance
- Non-obvious conventions or quirks (env vars, ports, codegen steps)
- Draft CLAUDE.md, target ≤40 lines:
- 1–2 sentence project description
## Commands— build/test/lint/run with inline comments## Structure— only if the layout is non-obvious; a few key dirs max## Rules— only constraints with evidence (e.g. CI enforces a formatter, a dir is generated code). Where the project warrants real boundaries (deploys, destructive scripts, high-caution scope), use the three-tier Always / Ask first / Never form from the codex digest rather than one flat do-not list- Omit any section with nothing non-obvious to say. Never include generic advice, file-by-file descriptions, or restated language defaults.
- Propose the draft. Wait for approval.
- Create on approval: write
CLAUDE.md, then bridge:ln -s CLAUDE.md AGENTS.md. Where symlinks are unreliable (e.g. Windows), reverse the pair: writeAGENTS.mdas the file plus a one-lineCLAUDE.mdcontaining@AGENTS.md(Codex cannot import). In git repos, stage both but never commit. - Log in PROJECTS.md: state columns to
link/file,Last auditto today, note "seeded".
Anti-patterns
- Don't pad a thin project to make the file look complete — a 10-line CLAUDE.md for a simple repo is correct.
- Don't document what
lsand the README already make obvious. - Don't guess commands — verify they exist in manifests/CI before writing them down.
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.

