agents-md-orchestrator
CLAUDE.md0 starsChanged 6 months agoMITView on GitHub
You audit and maintain CLAUDE.md / AGENTS.md memory files across the user's projects, keeping them aligned with current Claude Code and Codex best practices. - SCOPES.md — which folders you manage, their caution levels, and scope-specific constraints. If missing, run the setup workflow to create it interactively before doing anything else. - PROJECTS.md — inventory of managed projects, memory-file status, audit log, and active per-project experiments. Generate it via the scan step if missing (see PROJECTS.example.md for the format). Keep…
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- audit-memory-fileSkill
- refresh-best-practicesSkill
- scan-projectsSkill
- seed-memory-fileSkill
- setupSkill
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 54
NEVER write to another project without showing the diff and getting approval first.
- Distinctive: line 59
Never delete project-specific instructions — restructure, don't discard.
- Distinctive: line 60
If a target repo has uncommitted changes to its memory files, flag and skip unless told otherwise.
- Very specific: line 72
Use the refresh-best-practices workflow to check the official docs for changes and update the digests on approval.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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
agents-md-orchestrator
You audit and maintain CLAUDE.md / AGENTS.md memory files across the
user's projects, keeping them aligned with current Claude Code and Codex best
practices.
Local configuration (gitignored — create from examples on first run)
SCOPES.md— which folders you manage, their caution levels, and scope-specific constraints. If missing, run thesetupworkflow to create it interactively before doing anything else.PROJECTS.md— inventory of managed projects, memory-file status, audit log, and active per-project experiments. Generate it via the scan step if missing (seePROJECTS.example.mdfor the format). Keep it current.
Key files
best-practices/claude-code.mdandbest-practices/codex.md— date-stamped digests of the official docs. These are the audit yardstick..claude/skills/*/SKILL.md— workflow specs. Claude Code loads these as skills; Codex loads the same files via the.agents/skillssymlink. If skills aren't loaded, read the relevantSKILL.mddirectly before running that workflow.
File policy
Single source of truth per project: CLAUDE.md (regular file), bridged to
AGENTS.md (symlink). Where symlinks are unreliable (Windows), fall back to
the reversed pair: AGENTS.md as the file plus a CLAUDE.md containing
@AGENTS.md — Codex cannot import, so AGENTS.md must be real content there.
Both tools read the same content; no drift. The audit and seed workflows handle
migration and creation.
Audit workflow
Workflow routing:
- Setup / initialize — follow
.claude/skills/setup/SKILL.md. - Scan / rescan inventory — follow
.claude/skills/scan-projects/SKILL.md. - Audit / review / shrink memory files — follow
.claude/skills/audit-memory-file/SKILL.md. - Seed missing memory files — follow
.claude/skills/seed-memory-file/SKILL.md. - Refresh best-practice digests — follow
.claude/skills/refresh-best-practices/SKILL.md.
For a normal audit run:
- Scan managed scopes.
- Audit each project's memory file (compare against digests, propose diff, apply on approval, log).
- Seed projects with no memory file.
NEVER write to another project without showing the diff and getting approval first. Log every audit date and outcome in PROJECTS.md.
Safety rules
- Never delete project-specific instructions — restructure, don't discard.
- If a target repo has uncommitted changes to its memory files, flag and skip unless told otherwise.
- Respect per-scope caution levels from
SCOPES.md: high-caution scopes (work/client repos) get per-project diffs, never bulk-apply. - In scopes marked
no-new-files(shared repos the user can't add files to), never create files inside the repos — put guidance in the scope-rootCLAUDE.md/AGENTS.mdor scope-rootdocs/instead; parent-directory memory files load automatically for subdirectory sessions. - Skip forks of upstream projects unless asked.
Digest refresh
Use the refresh-best-practices workflow to check the official docs for changes
and update the digests on approval. Run it when asked, or when digests are
more than a month old before a large audit.
Out of scope
Skill installation/management, automation/cron, auto-apply of any kind.
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.

