flowspec: Instructions file for Codex

AGENTS.md

flowspec AGENTS.md is an instructions file for Codex, OpenCode from jpoley/flowspec. It costs 529 tokens per session, scanned A, original, Apache-2.0.

A set of project instructions for coding agents working on the Flowspec command-line tool. It defines project context, required reading, operator preferences, and rules such as planning changes and protecting secrets.

In plain words
What is it for?
Use it to guide agents while planning changes, checking the active task, handling Git work, and following repository guardrails.
Why use it?
It gives agents consistent project-specific rules instead of relying on generic behaviour or assumptions.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Codex.

This is jpoley/flowspec's own configuration. It tells Codex and OpenCode how to work on flowspec 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 flowspec configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jpoley/flowspec. 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/jpoley/flowspec/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/jpoley/flowspec

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jpoley/flowspec/agents-md/github.svg)](https://agentmods.dev/instructions/jpoley/flowspec/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/jpoley/flowspec/agents-md"><img src="https://agentmods.dev/badge/instructions/jpoley/flowspec/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 flowspec AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jpoley/flowspec/agents-md"><img src="https://agentmods.dev/badge/instructions/jpoley/flowspec/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 529 This file is loaded in full into every session.
When invoked 529 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 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.1 $0.00529 $0.00529
Opus 5.5 $0.00212 $0.00212
Sonnet 5.5 $0.00106 $0.00106
Haiku 4.5 $0.00053 $0.00053

Measured 1mo ago against content hash c26db78238af, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

flowspec 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 1mo 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.

AGENTS.md · 61 lines

How it starts

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

AGENTS.md — flowspec-cli

Entry point for OpenAI Codex and compatible agents.

Project

Name: flowspec-cli
Repo: github.com/jpoley/flowspec
Purpose: CLI toolkit that initialises, upgrades, and orchestrates AI agent workflows using Spec-Driven Development (SDD). Ships as flowspec (and legacy alias specify).
Current focus: Run backlog task list -s "In Progress" --plain to see the active task


Operator Preferences

  • State facts only. No sugarcoating.
  • Surface problems, blockers, and risks immediately.
  • Consult before one-way-door decisions and before any architectural change.
  • Never guess. If validation is not possible, say so explicitly.
  • Objective language. No first-person pronouns. No apologies or hedges.

Hard Guardrails (always apply)

  • Plan before any non-trivial change. Write the plan to .claude/plans/. Wait for approval.
  • Never commit or merge directly to main.
  • Never commit secrets, tokens, keys, or .env files.
  • No destructive git without explicit operator approval.
  • NEVER delete test files or test methods without explicit human instruction.
  • NEVER edit backlog/tasks/*.md files directly — use backlog task edit CLI only.
  • All commits require DCO sign-off: git commit -s -m "...".
  • Run ruff format --check, ruff check, and pytest tests/ -x -q before declaring done.

Required Reading

Read these files before acting:

Before Read
Any code change .claude/workflow.md (planning + DoD)
Writing/editing Python .claude/language.md
Architecture decision .claude/architecture.md
Git / branch / PR .claude/sourcecontrol.md
Runtime / deps .claude/stack.md
Decision logging .claude/history.md
Absolute rules .claude/rules/critical.md

Current Task

Check the active backlog task before starting work:

backlog task list -s "In Progress" --plain

Read the full file on GitHub · 61 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. 1mo ago First seen · 61 lines · 529 tokens per session scan A c26db78238af

Subscribe to this mod's changes

flowspec AGENTS.md is an instructions file published in the GitHub repository jpoley/flowspec (49 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 529 tokens to every session, about $0.0021 per session on Opus 5.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-10-09.

Related

flowspec AGENTS.md compared with instructions from other repositories

flowspec AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flowspec AGENTS.mdjpoley/flowspecInstructions file491mo agoApache-2.0A529Codex, 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 file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode