agentleFS
musahyderrmusahyderr/mainseat/CLAUDE.md

mainseat

CLAUDE.md1 starsChanged 14 days agoMITView on GitHub

Token-efficient orchestration kit for Claude Code (public: github.com/musahyderr/mainseat). Read this file; open other files only when the index below says so.

The file

We split this CLAUDE.md 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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Read this file; open other files only when the index below says so.

    line 4
  2. Distinctive:

    Every change reaches main through a pull request.

    line 8
  3. Very specific:

    Never commit secrets, session logs, benchmark results or personal details (tests/test_privacy_guard.py enforces this).

    line 11
  4. Very specific:

    No savings or quality claim without a measured run recorded in docs/BENCHMARK.md.

    line 13
  5. Very specific:

    Every agent states model: and tools:.

    line 15
  6. Distinctive:

    Verify a release by installing it the way a user would, not only by validating it.

    line 21

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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

Mainseat: project rules

Token-efficient orchestration kit for Claude Code (public: github.com/musahyderr/mainseat). Read this file; open other files only when the index below says so.

IMPORTANT (read every time)

  1. git fetch and compare with origin/main before starting: other sessions also release.
  2. Every change reaches main through a pull request. Merge locally with the repo's noreply identity, never with GitHub's merge button (it stamps a personal email). CI must pass on Linux, Windows and macOS.
  3. Never commit secrets, session logs, benchmark results or personal details (tests/test_privacy_guard.py enforces this). benchmarks/results/ stays local.
  4. No savings or quality claim without a measured run recorded in docs/BENCHMARK.md. Show new results to the user privately before publishing them.
  5. Every agent states model: and tools:; descriptions are one line. Run python scripts/check_agents.py after touching agents/ or .claude/skills/.
  6. Third-party files: log every change in third_party/skills/SOURCE.md.
  7. On this Windows machine: edit text with Python or the editor (never PowerShell Get-Content/Set-Content); no backslash escapes inside heredocs; screenshots run from PowerShell (the Bash sandbox blocks the browser).
  8. Verify a release by installing it the way a user would, not only by validating it.
  9. Code: plain, commented Python, standard library only. Do small jobs yourself; use helpers only for big searches (explorer), noisy commands (runner) and large diffs (reviewer).

Where things are (open only when needed)

OpenWhen
README.mdChanging what users see first (install, results, options)
INSTALL.mdChanging install steps (also read by other Claudes given the repo link)
CLAUDE.md.templateChanging the rules Mainseat installs in users' projects
agents/, .claude/skills/, .claude/README.mdChanging an agent or skill
scripts/Changing a tool (installer, map, token counter, find_unused, find_large, screenshot)
benchmarks/ + docs/BENCHMARK.mdRunning or reporting a benchmark
docs/LESSONS.mdOnly when a problem resembles one listed there; add an entry when something breaks
docs/GUIDE.mdLong-form user guide (walkthroughs, FAQ, troubleshooting)
docs/DESIGN.md, docs/REFERENCES.mdDesign decisions and the Anthropic guidance they follow
docs/PRIVACY.md, docs/MCP.md, docs/token-tips.md, docs/ROADMAP.mdTheir topic only
CHANGELOG.md, .claude-plugin/plugin.jsonReleasing: bump both versions together (a test checks)

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.