flow-next CLAUDE.md

flow-next CLAUDE.md is an instructions file for coding agents from gmickel/flow-next. It costs 7,974 tokens per session, scanned A, original, MIT.

Project instructions for flow-next, a workflow plug-in for planning and tracking software work with written specifications, tasks, identifiers, records of completed work, and quality checks.

In plain words
What is it for?
Use them when planning or carrying out software-development tasks in flow-next, including specification work, task tracking, review steps, and automated workflow commands.
Why use it?
They provide the project's shared vocabulary, explain when to use its bundled command-line workflow tool, and show where architecture and process rules are documented.

Instructions file

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

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/gmickel/flow-next/claude-md
Clone the repo
git clone --depth 1 https://github.com/gmickel/flow-next

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 flow-next CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/gmickel/flow-next/claude-md.svg)](https://agentmods.dev/instructions/gmickel/flow-next/claude-md)
Your own site
<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>
Per session 7,974 This file is loaded in full into every session.
When invoked 7,974 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.07974 $0.07974
Opus 5 $0.03987 $0.03987
Sonnet 5 $0.01595 $0.01595
Haiku 4.5 $0.00797 $0.00797

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

Security

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.

CLAUDE.md · 217 lines

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:

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).
  • jq and gh are required for review-subsystem and PR plumbing.
  • Package manager: pick one and stay with it per project. pnpm for the TUI.
  • Pre-commit / lint: biome is the source of truth for the TUI; flowctl uses pure-stdlib Python.
  • Python lint: ruff, pinned. Run uvx [email protected] check . before opening a PR — CI runs the same pinned version and will fail the build otherwise. No install step; uvx fetches 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.toml is 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 --fix into .flow/ or plugins/flow-next/codex/; both are generated copies and are excluded for that reason. --unsafe-fixes is 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.py pins 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.md G1; 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 is test_prompt_text_pinned.py only.
    • Embedded *_FALLBACK constants are not all the same kind. The four extracted review prompts are byte-identical mirrors of their templates (fn-112.3, guarded by test_review_prompt_template_parity). VALIDATOR_TEMPLATE_FALLBACK and DEEP_PASSES_FALLBACK are 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.

Read the full file on GitHub · 217 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. today Changed · +38 tokens per session 3a70df8483d9
  2. 4d ago First seen · 217 lines · 7,936 tokens per session scan A b92ad0e0b419

Subscribe to this mod's changes

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.

Related

Other instructions, from other repositories

cc-thingz CLAUDE.md

Instructions for umputun/cc-thingz, covering claude.md, repository purpose, key rules, conventions and structure.

umputun/cc-thingz · 1,413 tokens

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.

nullorder/agenthub · 1,233 tokens

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.

Chat2AnyLLM/awesome-claude-plugins · 448 tokens

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.

hxt9805/cadence · 154 tokens

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

microsoft/vscode · 6,785 tokens

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.

github/spec-kit · 7,104 tokens