agentleFS
0xzr0xzr/freellmpool/AGENTS.md

freellmpool

AGENTS.md121 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 code style.

    Of the AGENTS.md files we read, the 33,398 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.

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
  1. Very specific:

    If a GitHub Issue specifies different coverage requirements, update .coverage-thresholds.json to match before implementation begins.

    line 55
  2. Distinctive:

    When brainstorming completes and commits a design document:

    line 69
  3. Distinctive:

    When a plan is produced:

    line 78
  4. Very specific:

    NEVER: use --no-verify on git commits

    line 91
  5. Distinctive:

    NEVER: use git push --force without explicit user approval

    line 92
  6. Distinctive:

    ALWAYS: follow TDD -- write tests first, watch them fail, then implement

    line 93
  7. Distinctive:

    All quality gates must pass before PR creation

    line 122

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

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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

$start

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.

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.

InvokePurpose
$startBegin tracked work on a task
$setupInteractive guided setup
$brainstorming-extensionRefine an idea with design review gate
$design-review-gateTrigger design review gate (5 reviewers)
$plan-review-gateAdversarial plan review (3 reviewers)
$orchestrated-execution4-phase execution loop per work unit
$pr-shepherdMonitor a PR through to merge
$handling-pr-commentsHandle PR review comments
$create-issueCreate a well-structured GitHub Issue
$external-toolsExternal AI tool delegation
$statusRun diagnostic checks
$visual-reviewPlaywright 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.json as 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.json and 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:

  1. STOP -- do NOT proceed directly to planning or implementation
  2. RUN the Design Review Gate -- invoke $design-review-gate
  3. WAIT for all 5 reviewers (PM, Architect, Designer, Security, CTO) to approve
  4. ONLY THEN proceed to planning/implementation

After Any Plan Is Created

When a plan is produced:

  1. STOP -- do NOT present the plan to the user or begin implementation
  2. RUN the Plan Review Gate -- invoke $plan-review-gate
  3. WAIT for all 3 adversarial reviewers to PASS
  4. 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-verify on git commits
  • NEVER use git push --force without 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 patterns
  • build-validation.md -- Build and validation workflow
  • coding-standards.md -- Code style and conventions
  • git-workflow.md -- Branching, commits, and PR conventions
  • testing-patterns.md -- TDD patterns and coverage enforcement

Code Quality

  • Python 3.11+ package under src/freellmpool
  • ruff linting and mypy strict type checking
  • All quality gates must pass before PR creation

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.