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.
In this repository10 other files it gives its agents.
- compactSkill
- lean-codeSkill
- learn-correctionsSkill
- mapSkill
- reuse-firstSkill
- safe-refactorSkill
- self-checkSkill
- setupSkill
- split-fileSkill
- terseSkill
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
- Distinctive: line 4
Read this file; open other files only when the index below says so.
- Distinctive: line 8
Every change reaches main through a pull request.
- Very specific: line 11
Never commit secrets, session logs, benchmark results or personal details (tests/test_privacy_guard.py enforces this).
- Very specific: line 13
No savings or quality claim without a measured run recorded in docs/BENCHMARK.md.
- Very specific: line 15
Every agent states model: and tools:.
- Distinctive: line 21
Verify a release by installing it the way a user would, not only by validating it.
≈ “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.
Files
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)
git fetchand compare withorigin/mainbefore starting: other sessions also release.- Every change reaches
mainthrough 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. - Never commit secrets, session logs, benchmark results or personal details
(
tests/test_privacy_guard.pyenforces this).benchmarks/results/stays local. - No savings or quality claim without a measured run recorded in
docs/BENCHMARK.md. Show new results to the user privately before publishing them. - Every agent states
model:andtools:; descriptions are one line. Runpython scripts/check_agents.pyafter touchingagents/or.claude/skills/. - Third-party files: log every change in
third_party/skills/SOURCE.md. - 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). - Verify a release by installing it the way a user would, not only by validating it.
- 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)
| Open | When |
README.md | Changing what users see first (install, results, options) |
INSTALL.md | Changing install steps (also read by other Claudes given the repo link) |
CLAUDE.md.template | Changing the rules Mainseat installs in users' projects |
agents/, .claude/skills/, .claude/README.md | Changing an agent or skill |
scripts/ | Changing a tool (installer, map, token counter, find_unused, find_large, screenshot) |
benchmarks/ + docs/BENCHMARK.md | Running or reporting a benchmark |
docs/LESSONS.md | Only when a problem resembles one listed there; add an entry when something breaks |
docs/GUIDE.md | Long-form user guide (walkthroughs, FAQ, troubleshooting) |
docs/DESIGN.md, docs/REFERENCES.md | Design decisions and the Anthropic guidance they follow |
docs/PRIVACY.md, docs/MCP.md, docs/token-tips.md, docs/ROADMAP.md | Their topic only |
CHANGELOG.md, .claude-plugin/plugin.json | Releasing: bump both versions together (a test checks) |
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.

