freellmpool
AGENTS.md119 starsChanged 6 months agoMITView on GitHub
This project uses metaswarm, a multi-agent orchestration framework. It provides 18 specialized agents, a 9-phase development workflow, and quality gates that enforce TDD, coverage thresholds, and spec-driven development. This is the default entry point. It primes the agent with relevant knowledge, guides you through scoping, and picks the right level of process for the task. Describe what you want built, include a Definition of Done, and ask for the full workflow: This triggers the full pipeline: Research, Plan, Design Review…
- 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 repository2 other files it gives its agents.
- docs/AGENTS.mdAGENTS.md
- docs/llms.txtllms.txt
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
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
- Very specific: line 55
If a GitHub Issue specifies different coverage requirements, update .coverage-thresholds.json to match before implementation begins.
- Distinctive: line 69
When brainstorming completes and commits a design document:
- Distinctive: line 78
When a plan is produced:
- Very specific: line 91
NEVER: use --no-verify on git commits
- Distinctive: line 92
NEVER: use git push --force without explicit user approval
- Distinctive: line 93
ALWAYS: follow TDD -- write tests first, watch them fail, then implement
- Distinctive: line 122
All quality gates must pass before PR creation
≈ “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 uses metaswarm, a multi-agent orchestration framework. It provides 18 specialized agents, a 9-phase development workflow, and quality gates that enforce TDD, coverage thresholds, and spec-driven development.
How to Work in This Project
Starting work
$startThis is the default entry point. It primes the agent with relevant knowledge, guides you through scoping, and picks the right level of process for the task.
For complex features (multi-file, spec-driven)
Describe what you want built, include a Definition of Done, and ask for the full workflow:
I want you to build [description]. [Tech stack, DoD items, file scope.]
Use the full metaswarm orchestration workflow.This triggers the full pipeline: Research, Plan, Design Review Gate, Work Unit Decomposition, Orchestrated Execution (4-phase loop per unit), Final Review, PR.
Available Skills
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 |
$brainstorming-extension | Refine an idea with design review gate |
$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 |
$external-tools | External AI tool delegation |
$status | Run diagnostic checks |
$visual-review | Playwright screenshot capture |
Testing
- TDD is mandatory -- Write tests first, watch them fail, then implement
- Coverage floors required -- 80% package line coverage and 70% package branch coverage, evaluated separately. Enforced via
.coverage-thresholds.jsonas a blocking gate before PR creation and task completion - Test command:
pytest - Coverage command:
pytest --cov=freellmpool --cov-branch --cov-report=term-missing --cov-report=json:.coverage.json && python scripts/check_coverage.py .coverage.json
Coverage
Coverage thresholds are defined in .coverage-thresholds.json -- this is the source of truth for coverage requirements.
If a GitHub Issue specifies different coverage requirements, update .coverage-thresholds.json to match before implementation begins. Do not silently use a different threshold.
Quality Gates
- Design Review Gate: 5-reviewer design review after design is drafted (
$design-review-gate) - Plan Review Gate: Adversarial review after any implementation plan is drafted. 3 independent reviewers (Feasibility, Completeness, Scope & Alignment) -- ALL must PASS before presenting the plan
- Coverage Gate: Reads
.coverage-thresholds.jsonand runs the enforcement command -- BLOCKING gate before PR creation
Workflow Enforcement (MANDATORY)
These rules override any conflicting instructions. They ensure the full metaswarm pipeline is followed.
After Brainstorming
When brainstorming completes and commits a design document:
- STOP -- do NOT proceed directly to planning or implementation
- RUN the Design Review Gate -- invoke
$design-review-gate - WAIT for all 5 reviewers (PM, Architect, Designer, Security, CTO) to approve
- ONLY THEN proceed to planning/implementation
After Any Plan Is Created
When a plan is produced:
- STOP -- do NOT present the plan to the user or begin implementation
- RUN the Plan Review Gate -- invoke
$plan-review-gate - WAIT for all 3 adversarial reviewers to PASS
- ONLY THEN present the plan to the user for approval
Coverage Source of Truth
.coverage-thresholds.json is the single source of truth for coverage requirements. No skill may skip it.
Agent Discipline
- NEVER use
--no-verifyon git commits - NEVER use
git push --forcewithout explicit user approval - ALWAYS follow TDD -- write tests first, watch them fail, then implement
- STAY within declared file scope
External Tools (Optional)
External AI tools are configured in .metaswarm/external-tools.yaml.
freellmpool uses the polybot-v3-style lane model, reduced to:
- one Umans Kimi K2.7 implementation lane;
- one MiniMax M3 implementation lane through OpenCode;
- Codex as the implementation escalation lane;
- Claude Opus only for final pre-ship review, not routine implementation or review.
The orchestrator must still run deterministic validation independently.
Guides
Development patterns and standards are documented in guides/:
agent-coordination.md-- Agent dispatch patternsbuild-validation.md-- Build and validation workflowcoding-standards.md-- Code style and conventionsgit-workflow.md-- Branching, commits, and PR conventionstesting-patterns.md-- TDD patterns and coverage enforcement
Code Quality
- Python 3.11+ package under
src/freellmpool rufflinting andmypystrict type checking- All quality gates must pass before PR creation
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.

