agentleFS
blauwtjeblauwtje/exo/.claude/CLAUDE.md

exo

CLAUDE.md1 starsChanged 53 days agoMITView on GitHub

This is the source of the Claude Code plugin exo. Layout is in README.md; commands, internals and the plan loop are in CONTRIBUTING.md.

  • Commits and pushes

The file

We split this CLAUDE.md into the rules it gives an agent

8 rules. About 0 are common, 0 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Keep the main checkout on main and run every edit in a worktree under .worktrees/, because exo loads in place from this checkout.

    line 7
  2. Very specific:

    Before the start-of-run cleanup, a squash, a worktree removal, a branch delete or a session push, read .claude/landing.md.

    line 10
  3. Very specific:

    Ask nothing about where to commit, because this workflow outranks skills/build/references/workspace.md and the pull-request route in ship.

    line 12
  4. Very specific:

    When a report changed exo, tell the user that a new session runs it and that /reload-plugins updates only the open session.

    line 13
  5. Very specific:

    When a mistake recurs, add a check to npm run check or fix its code path, not a hook or prose line, because a hook adds overhead to every …

    line 20
  6. Very specific:

    Before designing a prompt, context, agent, tool, harness or eval, read docs/principles/README.md and open only the page it names.

    line 24
  7. Very specific:

    Add one line per change under ## Unreleased in CHANGELOG.md, in ### Added, ### Changed, ### Fixed or ### Removed, and raise no version.

    line 31
  8. Very specific:

    When the user asks for a release, run gh workflow run release.yml, and never run npm run bump, git tag v<version> or gh release create by …

    line 32

≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md 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
CLAUDE.md

exo

This is the source of the Claude Code plugin exo. Layout is in README.md; commands, internals and the plan loop are in CONTRIBUTING.md.

Workflow

  • Keep the main checkout on main and run every edit in a worktree under .worktrees/, because exo loads in place from this checkout.
  • The lead (main session) only orchestrates: it runs exo:spec, writes the brief, builds with exo:build <brief> and sends code reading to exo:research-worker. This outranks the inline rules T1 to T5.
  • Send every edit, fix and failed-check repair to a worktree subagent, one concern each, and run independent parts in parallel.
  • Before the start-of-run cleanup, a squash, a worktree removal, a branch delete or a session push, read .claude/landing.md.
  • Outside a run, only the lead writes CHANGELOG.md.
  • Ask nothing about where to commit, because this workflow outranks skills/build/references/workspace.md and the pull-request route in ship.
  • When a report changed exo, tell the user that a new session runs it and that /reload-plugins updates only the open session.

Checks

  • npm run check gates every commit, and a clean run ends SUMMARY with FAIL=0 WARN=0 UNRUN=0.
  • The lead runs npm run check once, in the background, to a log, and a delegate runs only its proof.
  • Plan tasks use Land gate: npm run validate:static, and npm run check runs once as the Success criterion.
  • When a mistake recurs, add a check to npm run check or fix its code path, not a hook or prose line, because a hook adds overhead to every session.

Editing

  • Before designing a prompt, context, agent, tool, harness or eval, read docs/principles/README.md and open only the page it names.
  • For a build speed or cost idea, run node benchmarks/speed-ledger.mjs --index and pass benchmarks/speed-ledger.md to every idea agent.
  • A bare skill name in a skill or prompt body means exo:<name>.
  • Derive a new value from the repo, or use one overridable default in run.json defaults or an EXO_*_MS var via environmentMs.

Release

  • Add one line per change under ## Unreleased in CHANGELOG.md, in ### Added, ### Changed, ### Fixed or ### Removed, and raise no version.
  • When the user asks for a release, run gh workflow run release.yml, and never run npm run bump, git tag v<version> or gh release create by hand, because a hand-cut version collides with the workflow's.

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.