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 skills/hulupeep/specflow/specflow-loop-selectornpx skills add Hulupeep/Specflow --skill specflow-loop-selectorgit clone --depth 1 https://github.com/Hulupeep/SpecflowWrote 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/skills/hulupeep/specflow/specflow-loop-selector)<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>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.00106 | $0.01928 |
| Opus 5 | $0.00053 | $0.00964 |
| Sonnet 5 | $0.00021 | $0.00386 |
| Haiku 4.5 | $0.00011 | $0.00193 |
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.
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.
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.
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.
- 4d ago First seen · 178 lines · 106 tokens per session scan A cc047900b0a3
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.
Other skills, from other repositories
truecourse-hooks
Install, configure, or remove the TrueCourse pre-commit hook.
truecourse-analyze
Run TrueCourse architecture analysis on this repository.
truecourse-fix
Fix TrueCourse violations that have suggested fixes.
truecourse-list
List TrueCourse violations found in this repository.
code-quality-review
Run a maintainability and structure review focused on abstraction quality, branching complexity, file growth, canonical ownership, duplication, and refactoring opportunities. Use when the user asks for code quality review, maintainability review, 代码质量审查, 可维护性审查, or comments about whether the change stays easy to…
optimization-audit
Comprehensive optimization audit with two modes and a single tier. Planning mode designs performance strategy, capacity planning, and scaling architecture. Audit mode scans code and infrastructure for performance anti-patterns, inefficient algorithms, N+1 queries, missing caching, concurrency issues, and resource…