prd-taskmaster
AGENTS.md604 starsChanged 10 months agoMITView on GitHub
Applies to ANY agent harness working in this repo (Codex, Gemini, Claude Code, or the next one). Claude Code also reads CLAUDE.md, which carries the same contract. Atlas's entry point is a frontier model acting as the driver. The driver understands the user's intent using skills built for it, then — inside a loop — decomposes the goal into optimal components and routes each to the cheapest capable executor, saving as many tokens as possible while delivering an outcome as…
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 repository12 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- prd-taskmasterSkill
- atlasSkill
- customise-workflowSkill
- discoverSkill
- execute-fleetSkill
- execute-taskSkill
- expand-tasksSkill
- generateSkill
- goSkill
- handoffSkill
- setupSkill
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
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
- Very specific: line 33
Never call bare task-master outside a Mode-B-labeled block — structural tests enforce this.
- Very specific: line 35
No API keys → the backend returns a structured agent_action_required payload and YOU (the driving agent) do the generation, validated …
≈ “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 — Atlas
Applies to ANY agent harness working in this repo (Codex, Gemini, Claude Code, or the next one). Claude Code also reads CLAUDE.md, which carries the same contract.
The end goal (north star — test every change against this)
Atlas's entry point is a frontier model acting as the driver. The driver understands the user's intent using skills built for it, then — inside a loop — decomposes the goal into optimal components and routes each to the cheapest capable executor, saving as many tokens as possible while delivering an outcome as good as if the frontier model had done all the work itself, at a fraction of the cost.
The executor pool is any CLI agent harness plus direct API paths, all in parallel — never a fixed provider list. Every feature decision is tested against: does this make the frontier-driver-decomposes-to-cheap-executors loop better, cheaper, or more provable?
The four moats (why this is a product, not a prompt pack):
- Cross-vendor arbitrage — route work across any harness/API by cost and capability.
- Engine-enforced unfakable gates — validate-tasks, ship-check (
SHIP_CHECK_OK), structural tests. A feature isn't a product feature until the engine enforces it. - Persistent vendor-neutral task graph — tasks.json survives across vendors/sessions.
- Cross-vendor cost ledger — telemetry + economy-report prove the savings.
Backend model (v4.1+)
TaskMaster is one optional pluggable backend. Backend resolution is
backend: auto|taskmaster|native in .atlas-ai/fleet.json; the 5-op protocol
(detect / init_project / parse_prd / expand / rate) lives in prd_taskmaster/backend.py.
- Task-state ops are engine-native ALWAYS:
python3 script.py next-taskandpython3 script.py set-status <id> <status>(MCP:next_task/set_task_status). Never call baretask-masteroutside a Mode-B-labeled block — structural tests enforce this. - No API keys → the backend returns a structured
agent_action_requiredpayload and YOU (the driving agent) do the generation, validated throughvalidate-tasksbefore any write. Never a crash. - The "## Backend operations" table in SKILL.md is normative. When docs and code disagree, fix the docs to match the table.
Working rules
pytest tests/ -qmust stay green; run it before claiming anything is done.- Stdlib only in
prd_taskmaster/andmcp-server/server.py— no new dependencies (CI enforces this on a bare runner). - Errors return FR-28-safe dicts; library code never
sys.exits. - All
.atlas-ai/*.jsonlwrites go through the shared flock-guarded append. - Tests are hermetic (tmp_path, no network).
tests/plugin/structurally enforces doc invariants — run it after touching SKILL.md or the installer. - At debrief time, record how the run went:
feedback_submitMCP tool orpython3 script.py feedback-add→.atlas-ai/feedback.jsonl. This feedback loop is how Atlas improves; treat it as part of finishing the job.
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.

