Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/marcusgoll/spec-flow/agents-mdgit clone --depth 1 https://github.com/marcusgoll/Spec-FlowWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/marcusgoll/spec-flow/agents-md)<a href="https://agentmods.dev/instructions/marcusgoll/spec-flow/agents-md"><img src="https://agentmods.dev/badge/instructions/marcusgoll/spec-flow/agents-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00488 | $0.00488 |
| Opus 5 | $0.00244 | $0.00244 |
| Sonnet 5 | $0.00098 | $0.00098 |
| Haiku 4.5 | $0.00049 | $0.00049 |
Grade A, and why
Spec-Flow AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 35 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Spec-Flow Agents
Spec-Flow coordinates multiple coding tools through a single shared canon. Every agent must read the same rules, reuse the same artifacts, and only write in its designated areas.
Shared brain
.spec-flow/holds the canonical workflow docs, repo map, state schemas, memory, and automation scripts.- In consumer projects,
epics/<slug>/state.yamlis the single source of truth for epic phase progress; feature-levelspecs/<feature>/state.yamlis optional and must mirror the epic. - Roadmaps, specs, plans, tasks, and ship notes all inherit the phase order:
spec → clarify → plan → tasks → implement → optimize → preview → ship → finalize.
Tool boundaries
.claude/— Claude Code-only prompts, commands, and hooks. Readable by other tools, but only Claude edits this tree..codex/— Codex CLI-specific prompts, commands, adapters, and skills. Codex writes here; other tools leave it alone.- Additional tool adapters must be labeled explicitly until their source-repo surfaces exist.
- Shared assets may live elsewhere in active repo surfaces such as
docs/,bin/,.github/, and.spec-flow/, but every tool must honor.spec-flow/repo-map.yamland.spec-flow/domains/*.yamlwhen deciding where to add code.
Hard rules
- Never fork new “top-level religions.” Add new integrations under their dedicated folder and mirror the shared canon from
.spec-flow/. - All tools may read
.claude/**for reference, yet non-Claude edits are prohibited. - In consumer projects, epic work begins under
epics/<slug>/; features live inspecs/<feature>/and must link back to their parent epic insidestate.yaml. - When progressing any phase, update the relevant
state.yamland stop at the documented review boundaries (no macro “run everything” flows). - Persistent learnings or roadmap shifts belong in
.spec-flow/memory/and should be reflected in the shared docs before modifying tool-specific trees.
Follow these rules and every agent—Claude, Codex, Cursor, or future additions—will operate from the same source of truth.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 35 lines · 488 tokens per session scan A 74bf3ca8934c
Spec-Flow AGENTS.md is an instructions file published in the GitHub repository marcusgoll/Spec-Flow (92 stars, last pushed 4mo ago), licensed MIT. It adds 488 tokens to every session, about $0.0024 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other instructions, from other repositories
empirica AGENTS.md
AGENTS.md instructions for EmpiricaAI/empirica, covering issue tracking with bd (beads), why bd?, quick start, workflow for ai agents and integration with empirica.
safe-agentic-workflow AGENTS.md
AGENTS.md instructions for bybren-llc/safe-agentic-workflow, covering safe agent team quick reference, documentation, when to use which agent, auto-loaded skills and success validation commands.
claude-fact-check-skill AGENTS.md
Instructions for cellear/claude-fact-check-skill, covering agent instructions, quick reference and landing the plane (session completion).
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.