Spec-Flow AGENTS.md

Spec-Flow AGENTS.md is an instructions file for Codex, OpenCode from marcusgoll/Spec-Flow. It costs 488 tokens per session, scanned A, original, MIT.

A set of project instructions for Spec-Flow, a system that coordinates coding tools through shared documents and rules. It defines where workflow state, plans, and tool-specific files belong.

In plain words
What is it for?
It guides agents through software phases such as writing specifications, planning, implementing, testing, and shipping.
Why use it?
It keeps different coding tools aligned and prevents them from overwriting files owned by another tool.

Instructions file for CodexOpenCode

Install

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.

agentmods
npx agentmods add instructions/marcusgoll/spec-flow/agents-md
Clone the repo
git clone --depth 1 https://github.com/marcusgoll/Spec-Flow

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for Spec-Flow AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/marcusgoll/spec-flow/agents-md.svg)](https://agentmods.dev/instructions/marcusgoll/spec-flow/agents-md)
Your own site
<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>
Per session 488 This file is loaded in full into every session.
When invoked 488 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured yesterday against content hash 74bf3ca8934c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

AGENTS.md · 35 lines

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.yaml is the single source of truth for epic phase progress; feature-level specs/<feature>/state.yaml is 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.yaml and .spec-flow/domains/*.yaml when deciding where to add code.

Hard rules

  1. Never fork new “top-level religions.” Add new integrations under their dedicated folder and mirror the shared canon from .spec-flow/.
  2. All tools may read .claude/** for reference, yet non-Claude edits are prohibited.
  3. In consumer projects, epic work begins under epics/<slug>/; features live in specs/<feature>/ and must link back to their parent epic inside state.yaml.
  4. When progressing any phase, update the relevant state.yaml and stop at the documented review boundaries (no macro “run everything” flows).
  5. 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.

Read the full file on GitHub · 35 lines

Changes

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.

  1. yesterday First seen · 35 lines · 488 tokens per session scan A 74bf3ca8934c

Subscribe to this mod's changes

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.

Related

Other instructions, from other repositories