agentleFS
GoodsmileduckGoodsmileduck/agents-md-orchestrator/.claude/skills/seed-memory-file/SKILL.md

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.

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

    Create a first CLAUDE.md for a project that has none.

    line 8
  2. Very specific:

    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 …

    line 14
  3. Very specific:

    Create on approval: write CLAUDE.md, then bridge: ln -s CLAUDE.md AGENTS.md.

    line 35
  4. Distinctive:

    Don't pad a thin project to make the file look complete — a 10-line CLAUDE.md for a simple repo is correct.

    line 45
  5. Very specific:

    Don't document what ls and the README already make obvious.

    line 47
  6. Distinctive:

    Don't guess commands — verify they exist in manifests/CI before writing them down.

    line 48

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

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

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

  1. 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 to the scope-root memory file instead. Skip projects on the Never touch / fork-skip lists unless explicitly asked.
  2. 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)
  3. 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.
  4. Propose the draft. Wait for approval.
  5. Create on approval: write CLAUDE.md, then bridge: ln -s CLAUDE.md AGENTS.md. Where symlinks are unreliable (e.g. Windows), reverse the pair: write AGENTS.md as the file plus a one-line CLAUDE.md containing @AGENTS.md (Codex cannot import). In git repos, stage both but never commit.
  6. Log in PROJECTS.md: state columns to link/file, Last audit to 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 ls and the README already make obvious.
  • Don't guess commands — verify they exist in manifests/CI before writing them down.

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.