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/gmickel/flow-next/claude-mdgit clone --depth 1 https://github.com/gmickel/flow-nextWrote 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/gmickel/flow-next/claude-md)<a href="https://agentmods.dev/instructions/gmickel/flow-next/claude-md"><img src="https://agentmods.dev/badge/instructions/gmickel/flow-next/claude-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.07974 | $0.07974 |
| Opus 5 | $0.03987 | $0.03987 |
| Sonnet 5 | $0.01595 | $0.01595 |
| Haiku 4.5 | $0.00797 | $0.00797 |
Grade A, and why
flow-next CLAUDE.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 today.
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 — 217 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Claude Code Project Guide
This repo ships the flow-next Claude Code plugin — a spec-driven, zero-dependency workflow for AI-assisted SDLC, with a bundled flowctl Python CLI and autonomous Ralph mode. First-class on Claude Code, OpenAI Codex, Factory Droid, Cursor, xAI Grok Build, and OpenCode (canonical sentence lives in plugins/flow-next/docs/platforms.md — edit there, restate verbatim). The repo IS flow-next.
The repo's strategic intent and canonical vocabulary live at the repo root:
STRATEGY.md— target problem, approach, who it's for, key metrics, active tracksGLOSSARY.md— vocabulary dictionary: the load-bearing terms (Spec, Task, R-ID, Receipt, Gate, plan-sync, ...) with the synonyms to avoid. Deeper concepts live inplugins/flow-next/docs/README.md; the retired long-form text is archived atagent_docs/archive/GLOSSARY-full.md
Every other detail is in a focused file you should consult when relevant — see "Where to look" below.
Stack and tooling
- Python 3.11+ (flowctl), Node ecosystem optional (TUI uses
bun). jqandghare required for review-subsystem and PR plumbing.- Package manager: pick one and stay with it per project.
pnpmfor the TUI. - Pre-commit / lint:
biomeis the source of truth for the TUI; flowctl uses pure-stdlib Python. - Python lint:
ruff, pinned. Runuvx [email protected] check .before opening a PR — CI runs the same pinned version and will fail the build otherwise. No install step;uvxfetches it. Keep the pin in step with.github/workflows/test-flow-next.yml: ruff 0.16 moved its default rule set from 59 to 413, so an unpinned upgrade is an unannounced CI break.ruff.tomlis correctness-only (pyflakes, bugbear, pylint errors, a few bug-pattern/security rules) and documents why each notable rule is excluded. Style rules are deliberately out of scope. Do not add a rule to make a diff pass, and do not remove one to make a diff pass — if a rule is wrong for this repo, say so in the config next to the exclusion, with the evidence.- Never
--fixinto.flow/orplugins/flow-next/codex/; both are generated copies and are excluded for that reason.--unsafe-fixesis not used. - The gate is code quality only — it must never change a prompt. Never select a rule that can rewrite string contents (ISC, Q, UP032, COM, W291, D).
tests/test_prompt_text_pinned.pypins every embedded prompt constant and on-disk prompt template by SHA-256; a lint or refactor pass that alters prompt text fails there. Changing a prompt on purpose is fine — update the hash in the same commit and say what changed and why. A hash update with no prompt rationale in the commit message is the thing that check exists to catch. - Prompt-size ratchets and evidence-ledger live-file freezes were deliberately removed (2026-08-07). Never reintroduce one. No frozen char/token ceilings, no stored-hash pins of live skill prose, no sentence-level prose assertions in tests. Prose growth is judged via
.flow/criteria.mdG1; test shape is governed by G2; invariants are enforced behaviorally (the fn-169 no-embed test that drives the real dispatch path is the model - text pins watched that decision get undone twice); deliberate-change detection istest_prompt_text_pinned.pyonly. - Embedded
*_FALLBACKconstants are not all the same kind. The four extracted review prompts are byte-identical mirrors of their templates (fn-112.3, guarded bytest_review_prompt_template_parity).VALIDATOR_TEMPLATE_FALLBACKandDEEP_PASSES_FALLBACKare hand-written condensations authored that way in #118 — shorter on purpose, for installs with no template on disk. Do not "sync" them; that is not drift.
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.
- today Changed · +38 tokens per session 3a70df8483d9
- 4d ago First seen · 217 lines · 7,936 tokens per session scan A b92ad0e0b419
flow-next CLAUDE.md is an instructions file published in the GitHub repository gmickel/flow-next (690 stars, last pushed today), licensed MIT. It adds 7,974 tokens to every session, about $0.0399 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 instructions, from other repositories
cc-thingz CLAUDE.md
Instructions for umputun/cc-thingz, covering claude.md, repository purpose, key rules, conventions and structure.
agenthub AGENTS.md
AGENTS.md instructions for nullorder/agenthub, covering agenthub — agent guidelines, what is this project?, project structure, critical rules and plugin json schema.
awesome-claude-plugins CLAUDE.md
Claude Code instructions for Chat2AnyLLM/awesome-claude-plugins, covering awesome-claude-plugins development guidelines, active technologies, project structure, commands and code style.
cadence AGENTS.md
AGENTS.md instructions for hxt9805/cadence: This repository develops the cadence plugin — a domain-neutral, discussion-driven project workflow plugin that records / consolidates / retrieves AI session decisions into project archives.
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.