metaswarm
AGENTS.md419 starsChanged 7 months agoMITView on GitHub
This project is metaswarm — a multi-agent orchestration framework for Claude Code, Gemini CLI, and Codex CLI. It provides 19 specialized agents, 13 orchestration skills, quality gates, and TDD enforcement. Codex discovers skills by their SKILL.md name field. Invoke with $name syntax. This project uses bd (beads) for issue tracking. Run bd onboard to get started. When ending a work session, you MUST complete ALL steps below. Work is NOT complete until git push succeeds. MANDATORY WORKFLOW: CRITICAL RULES: -…
- Deletes or force-pushes
- Commits and pushes
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository19 other files it gives its agents.
- skills/setup/templates/AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- skills/setup/templates/CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- brainstorming-extensionSkill
- create-issueSkill
- design-review-gateSkill
- external-toolsSkill
- handling-pr-commentsSkill
- handoffSkill
- migrateSkill
- orchestrated-executionSkill
- plan-review-gateSkill
- pr-shepherdSkill
- setupSkill
- startSkill
- statusSkill
- visual-reviewSkill
The file
We split this AGENTS.md into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
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 40
File issues for remaining work: - Create issues for anything that needs follow-up
- Distinctive: line 51
Verify: - All changes committed AND pushed
- Distinctive: line 56
NEVER stop before pushing - that leaves work stranded locally
- Distinctive: line 57
NEVER say "ready to push when you are" - YOU must push
- Distinctive: line 58
If push fails, resolve and retry until it succeeds
- Very specific: line 66
NEVER: use --no-verify on git commits
- Distinctive: line 67
NEVER: use git push --force without explicit user approval
- Distinctive: line 69
ALWAYS: follow TDD, STAY within file scope
- Very specific: line 73
When external AI tools are configured (.metaswarm/external-tools.yaml), the orchestrator can delegate implementation and review tasks to …
- Very specific: line 77
When tasks produce visual output, agents can use $visual-review to capture screenshots via Playwright for visual inspection.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.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
Agent Instructions
This project is metaswarm — a multi-agent orchestration framework for Claude Code, Gemini CLI, and Codex CLI. It provides 19 specialized agents, 13 orchestration skills, quality gates, and TDD enforcement.
Quick Reference
Codex discovers skills by their SKILL.md name field. Invoke with $name syntax.
| Invoke | Purpose |
$start | Begin tracked work on a task |
$setup | Interactive guided setup for a project |
$brainstorming-extension | Refine an idea before implementation |
$design-review-gate | Trigger design review gate (5 reviewers) |
$plan-review-gate | Adversarial plan review (3 reviewers) |
$orchestrated-execution | 4-phase execution loop per work unit |
$pr-shepherd | Monitor a PR through to merge |
$handling-pr-comments | Handle PR review comments |
$create-issue | Create a well-structured GitHub Issue |
$status | Run diagnostic checks |
BEADS Issue Tracking
This project uses bd (beads) for issue tracking. Run bd onboard to get started.
bd ready # Find available work
bd show <id> # View issue details
bd update <id> --status in_progress # Claim work
bd close <id> # Complete work
bd sync # Sync with gitLanding the Plane (Session Completion)
When ending a work session, you MUST complete ALL steps below. Work is NOT complete until git push succeeds.
MANDATORY WORKFLOW:
- File issues for remaining work - Create issues for anything that needs follow-up
- Run quality gates (if code changed) - Tests, linters, builds
- Update issue status - Close finished work, update in-progress items
- PUSH TO REMOTE - This is MANDATORY:
git pull --rebase bd sync git push git status # MUST show "up to date with origin" - Clean up - Clear stashes, prune remote branches
- Verify - All changes committed AND pushed
- Hand off - Provide context for next session
CRITICAL RULES:
- Work is NOT complete until
git pushsucceeds - NEVER stop before pushing - that leaves work stranded locally
- NEVER say "ready to push when you are" - YOU must push
- If push fails, resolve and retry until it succeeds
Quality Gates (MANDATORY)
- After brainstorming -> MUST run
$design-review-gatebefore planning - After any plan -> MUST run
$plan-review-gatebefore presenting to user - TDD is mandatory -> Write tests first, watch them fail, then implement
- Coverage ->
.coverage-thresholds.jsonis the single source of truth. BLOCKING gate. - NEVER use
--no-verifyon git commits - NEVER use
git push --forcewithout explicit user approval - NEVER self-certify -- the orchestrator validates independently
- ALWAYS follow TDD, STAY within file scope
External Tools Routing
When external AI tools are configured (.metaswarm/external-tools.yaml), the orchestrator can delegate implementation and review tasks to OpenAI Codex CLI and Google Gemini CLI for cost savings and cross-model adversarial review.
Visual Review
When tasks produce visual output, agents can use $visual-review to capture screenshots via Playwright for visual inspection.
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.

