spec-flow-setup

spec-flow-setup is a skill for Claude Code, Codex from IgnacioMarin402/spec-flow-plugin. It costs 96 tokens per session (1,651 once invoked), scanned A, original, MIT.

A setup and repair guide for a repository’s spec-flow configuration, which records how the project is tested and reports results.

In plain words
What is it for?
Use it to initialize or repair `.spec-flow/config.json`, connect the test command to the expected report format, and verify the setup with a passing check.
Why use it?
It helps complete missing configuration fields and prevents unverified guesses from being treated as project facts.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the spec-flow plugin — 2 skills, 3 commands, 5 agents, 4 hooks shipped together

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 skills/ignaciomarin402/spec-flow-plugin/spec-flow-setup
Any agent
npx skills add IgnacioMarin402/spec-flow-plugin --skill spec-flow-setup
Clone the repo
git clone --depth 1 https://github.com/IgnacioMarin402/spec-flow-plugin

Made for: Claude Code, Codex.

Or install spec-flow, the plugin that ships this one along with the rest of its 2 skills, 3 commands, 5 agents, 4 hooks.

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-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/ignaciomarin402/spec-flow-plugin/spec-flow-setup.svg)](https://agentmods.dev/skills/ignaciomarin402/spec-flow-plugin/spec-flow-setup)
Your own site
<a href="https://agentmods.dev/skills/ignaciomarin402/spec-flow-plugin/spec-flow-setup"><img src="https://agentmods.dev/badge/skills/ignaciomarin402/spec-flow-plugin/spec-flow-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,651 The whole file, excluding the scripts and references it only reads on demand.
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.00096 $0.01651
Opus 5 $0.00048 $0.00826
Sonnet 5 $0.00019 $0.00330
Haiku 4.5 $0.00010 $0.00165

Measured 3d ago against content hash d13207d59d6e, 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-setup 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 3d ago.

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.

skills/spec-flow-setup/SKILL.md · 148 lines

How it starts

The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Setting up the contract

init reads what a repo declares about itself and refuses to invent the rest. For a repo whose manifest declares its commands that is nearly the whole job; for every other repo it reports a list and stops. You are the second half: you supply what the repo did not declare, and then you prove the result rather than announcing it.

Two rules govern everything below, and they are the reason this is a skill and not a script (see ADR-006):

  • Never write a value you did not read or verify. A field filled with a plausible guess is worse than the MISSING line it replaced — that line was honest.
  • You are not the check. Nothing you conclude counts until check-changed.mjs exits 0. Your last action is running it and quoting what it said.

1. Ask the engine first

node ${CLAUDE_PLUGIN_ROOT}/scripts/init.mjs

If .spec-flow/config.json already exists, do not re-run this with --force — that is for a repo whose contract you mean to regenerate. Read the existing file and go to step 4; you are repairing, not adopting.

init sorts every field into detected, REVIEW or MISSING, and exits non-zero while anything is missing. That output is your worklist. Nothing else is.

2. Fill what it could not read

For each MISSING field, find what the repo already declares — its manifest, its linter's configuration file, the directory its tests live in, the naming its test files follow. Read those files. If a field cannot be determined from anything in the repo, ask the user; do not pick a default.

REVIEW lines are inferences the engine made and wants confirmed. Confirm them against the repo, and correct the ones that are wrong.

Two that are worth extra care because a wrong value is quiet rather than loud:

  • the lint command must take file paths appended to it. The gate appends the changed files itself. A command with a target already in it lints the whole repo on every gate, which undoes the scoping that keeps a milestone from being blocked by debt it never touched.
  • proof_dir and proof_suffix are where agents PUT new tests. They no longer decide what counts as proof, so a wrong value costs consistency rather than a blocked gate — which is exactly why nothing will tell you it is wrong.

Read the full file on GitHub · 148 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. 3d ago First seen · 148 lines · 96 tokens per session scan A d13207d59d6e

Subscribe to this mod's changes

spec-flow-setup is a skill published in the GitHub repository IgnacioMarin402/spec-flow-plugin (2 stars, last pushed 2d ago), licensed MIT. It adds 96 tokens to every session and 1,651 once invoked, about $0.0005 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-08-31.