specflow-loop-selector

specflow-loop-selector is a skill for Claude Code, Codex from Hulupeep/Specflow. It costs 106 tokens per session (1,928 once invoked), scanned A, original, MIT.

A selector for choosing the correct Specflow development process before work begins. Specflow is a workflow for turning ideas into detailed tickets, building approved features, reviewing completed work, and checking larger releases.

In plain words
What is it for?
Use it when turning an idea into tickets, implementing an approved ticket, checking a merged feature, investigating an existing product, or choosing between the main Specflow loops.
Why use it?
It prevents starting with the wrong process or skipping an earlier planning step. It also requires a concrete run contract and runtime routing choice before the workflow starts.

Skill for Claude CodeCodex

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/hulupeep/specflow/specflow-loop-selector
Any agent
npx skills add Hulupeep/Specflow --skill specflow-loop-selector
Clone the repo
git clone --depth 1 https://github.com/Hulupeep/Specflow

Made for: Claude Code, Codex.

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 specflow-loop-selector

README.md
[![agentmods](https://agentmods.dev/badge/skills/hulupeep/specflow/specflow-loop-selector.svg)](https://agentmods.dev/skills/hulupeep/specflow/specflow-loop-selector)
Your own site
<a href="https://agentmods.dev/skills/hulupeep/specflow/specflow-loop-selector"><img src="https://agentmods.dev/badge/skills/hulupeep/specflow/specflow-loop-selector.svg" alt="Measured on agentmods" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,928 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.00106 $0.01928
Opus 5 $0.00053 $0.00964
Sonnet 5 $0.00021 $0.00386
Haiku 4.5 $0.00011 $0.00193

Measured 4d ago against content hash cc047900b0a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

specflow-loop-selector 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 4d 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/specflow-loop-selector/SKILL.md · 178 lines

How it starts

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

Specflow Loop Selector

Use this before starting any Specflow loop work. Do not rediscover the process by grepping the repo unless a named file is missing.

Select The Loop

  • Rough idea, discovery, PRD, story slicing, ticket creation, or "turn this into ready tickets": use QA/loops/spec-build.yaml. Output: audited, journey-contracted tickets.

  • Existing approved Specflow ticket/issue ready to implement: use QA/loops/feature-build.yaml. Output: one branch/slice ready for review after provenance and Gate C.

  • Merged slices, epic close, wave integration, seam walk, or cross-slice persona check: use QA/loops/feature-build.yaml -> epic_gate. Output: Gate D result.

  • Already-built product needs investigation before specs: use QA/loops/daily-use-teardown.yaml. Output: evidence-grounded do-list for spec-build.

If two loops look plausible, choose the earlier loop in the lifecycle and state why.

Select The Runtime Routing Profile

Before starting spec-build or feature-build, select routing from the active agent runtime. Use the agent identity supplied by the host; never infer the runtime from .claude/, .codex/, or .agents/ directories because Specflow installs all three.

  • Claude Code: use .specflow/adapter-policies/claude-code-large-routing.yml.
  • Codex: use .specflow/adapter-policies/codex-gpt56-sol-routing.yml.
  • Any other or unknown runtime: stop and ask the human which routing profile to activate.

Activate or refresh the selected profile with specflow run --setup-routing --runtime <codex|claude-code>. Creating the routing file does not invoke a provider. The installer switches known managed or legacy shipped profiles, and preserves custom routing unless the human explicitly requests --replace-routing. Display a preserved custom file's actual current-stage policy during model confirmation.

Mandatory Run Contract

After selecting a loop, emit a run_contract before doing work. Referencing the YAML is not enough.

Read the full file on GitHub · 178 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 178 lines · 106 tokens per session scan A cc047900b0a3

Subscribe to this mod's changes

specflow-loop-selector is a skill published in the GitHub repository Hulupeep/Specflow (24 stars, last pushed 1mo ago), licensed MIT. It adds 106 tokens to every session and 1,928 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-30.