flow-next: Instructions file for Codex

AGENTS.md

flow-next AGENTS.md is an instructions file for Codex, OpenCode from gmickel/flow-next. It costs 679 tokens per session, scanned A, a copy of skills AGENTS.md, MIT.

A set of AGENTS.md instructions for Flow Next, a workflow that organises AI coding work with specifications, separate workers, reviews, and records of completed work.

In plain words
What is it for?
Use it to guide agent-based development, code reviews, and documented work in a repository.
Why use it?
It helps coding agents follow a repeatable process instead of handling engineering tasks without shared structure or review.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Codex; $skill-name invocation; mentions OpenCode.

This is gmickel/flow-next's own configuration. It tells Codex and OpenCode how to work on flow-next itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything flow-next configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gmickel/flow-next. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/gmickel/flow-next/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/gmickel/flow-next

Made for: Codex, OpenCode.

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 AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/gmickel/flow-next/agents-md/github.svg)](https://agentmods.dev/instructions/gmickel/flow-next/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/gmickel/flow-next/agents-md"><img src="https://agentmods.dev/badge/instructions/gmickel/flow-next/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for flow-next AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/gmickel/flow-next/agents-md"><img src="https://agentmods.dev/badge/instructions/gmickel/flow-next/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 679 This file is loaded in full into every session.
When invoked 679 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.1 $0.00679 $0.00679
Opus 5.5 $0.00272 $0.00272
Sonnet 5.5 $0.00136 $0.00136
Haiku 4.5 $0.00068 $0.00068

Measured 11d ago against content hash 3be09098fb3c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

flow-next AGENTS.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 11d 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.

Origin

This is a copy

100% identical to skills AGENTS.md — 64 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AGENTS.md · 63 lines

How it starts

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

Flow-Next Agent development entry point

Using Flow-Next in another project rather than changing it? This file does not apply; read For agents instead.

Read the shared development policy before repository work. It owns architecture, source ownership, verification, and delivery rules. This file owns host guidance only; keep common rules in that policy.

Canonical spec scaffold: templates/spec.md. When changing shipped skills, agents, references or platform behaviour, also read adding-skills.md.

Host guidance

On Codex, invoke skills as $flow-next-<name> or through the skill picker. Other hosts that read this file use their native Flow-Next invocation syntax; do not apply Codex syntax to Claude, Cursor, Grok, OpenCode, Muse, or Antigravity commands. Use the current harness's actual tool interfaces. Canonical product prose may use Claude names because the Codex mirror is generated; that is not an instruction to call unavailable tools in this development session.

Flow-Next

This repo tracks implementation specs/tasks through Flow-Next. See repository work and delivery for state, templates, and command discovery. Invoke the selected skill with $flow-next-<name> on Codex; follow its task-specific contract. This is a repo-customized block. Keep maintainer additions outside its markers.

Model routing

These are preferences, not facts about this session's model or available tools. Explicit user routing wins, then this block, agent defaults, and the session model. Planning, judgment, user-facing design, and native workers otherwise inherit the actual session model. Read flowctl usage --orchestration before model steering.

For an OpenAI-family writer, prefer a reachable Claude-family reviewer through the configured review backend. Do not reuse the Claude entry point's OpenAI-family reviewer preference as an independent-family reviewer here. No host-review model is pinned in this entry point: when choosing host, resolve an explicit reachable cross-family reviewer before dispatch; absence is a reported blocker, not permission for self-review. Existing backend configuration remains in force.

Read the full file on GitHub · 63 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. 11d ago Changed · +2 lines · +10 tokens per session 3be09098fb3c
  2. 13d ago Changed · +4 tokens per session d5985d1e539e
  3. 15d ago Changed · +3 lines · +40 tokens per session f37d8c9f83b4
  4. 1mo ago Changed · +3 lines · +36 tokens per session 745e797248ab
  5. 1mo ago Changed · +2 tokens per session f7cdc4c87c8c
  6. 2mo ago Changed · +1 lines · +5 tokens per session 5ac42a379432
  7. 2mo ago Changed 27c51c5f4e1e
  8. 2mo ago Changed · +1 lines · +19 tokens per session b02b0c2e1ce8
  9. 2mo ago Changed · +52 lines · +559 tokens per session f06c96e8b366
  10. 3mo ago First seen · 1 lines · 4 tokens per session scan A 6ebdb617a810

Subscribe to this mod's changes

flow-next AGENTS.md is an instructions file published in the GitHub repository gmickel/flow-next (737 stars, last pushed 2d ago), licensed MIT. It adds 679 tokens to every session, about $0.0027 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to skills AGENTS.md, differing in 64 lines, and is treated as a copy.

Related

flow-next AGENTS.md compared with instructions from other repositories

flow-next AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flow-next AGENTS.mdgmickel/flow-nextInstructions file7372d agoMITA679Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109ktodayMITA3,077GitHub Copilot