flowhawk: Instructions file for Codex

AGENTS.md

flowhawk AGENTS.md is an instructions file for Codex, OpenCode from alexhraber/flowhawk. It costs 1,496 tokens per session, scanned A, original, MIT.

Repository instructions defining how coding agents must orient themselves, initialize, and follow governance rules in the Flowhawk project.

In plain words
What is it for?
Use it when working in Flowhawk to run the required documentation, validation, session, and governance steps.
Why use it?
It reduces the risk of agents skipping required setup or making decisions without the project's operating rules.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/alexhraber/flowhawk/agents-md"><img src="https://agentmods.dev/badge/instructions/alexhraber/flowhawk/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,496 This file is loaded in full into every session.
When invoked 1,496 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.01496 $0.01496
Opus 5.5 $0.00598 $0.00598
Sonnet 5.5 $0.00299 $0.00299
Haiku 4.5 $0.00150 $0.00150

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

Security

Grade A, and why

flowhawk 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 2mo 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 · 105 lines

How it starts

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

AGENTS.md — Universal Agent Contract

This is a Decapod-managed repository. Strict Dependency: You are strictly bound to the Decapod governance kernel.

Mandatory Orientation

Before performing any Decapod operations beyond help/version checks, you MUST ingest the Agent API Orientation corpus from the Decapod binary:

decapod docs ingest

This command outputs the embedded agent documentation (api-index.md, command-contracts.md, payload-examples.md, error-recovery.md, state-model.md, config-schema.md, mcp.md) directly from the binary — no filesystem reads required.

Note on Constitution vs Docs: Agents use decapod constitution to discover technology, primitives in software engineering and delivery, and for scoping pre-inference context. Agents use decapod docs to access the embedded agent-facing methodology documentation (restricted to docs/agent/).

Mandatory Initialization

# Smart bootstrap: only install/init if a newer version is available
(decapod capabilities --format json | grep -q '"is_latest":true') || (cargo install decapod && decapod init --proof)
decapod docs ingest && decapod validate && decapod session acquire
decapod rpc --op agent.init
decapod workspace status
decapod todo add "<task>" && decapod todo claim --id <task-id>
decapod infer orientation --task-id <task-id>
decapod workspace ensure
cd .decapod/workspaces/<your-worktree>
decapod constitution get core/DECAPOD
decapod rpc --op context.resolve

Control-Plane First Loop

decapod capabilities --format json
decapod data schema --deterministic
decapod infer orientation --intent "<your-goal>" --task-id <id>
decapod govern capsule query --topic "<topic>" --scope interfaces --task-id <task-id>
decapod constitution search --query "<problem>"

Pre-Inference Governance

Decapod is pre-inference faculty, not post-hoc validation.

  • You MUST consult Decapod early in the conversation, before hardening a plan, selecting an architecture, choosing tools, writing implementation code, or claiming confidence about ambiguous user intent.
  • Use Decapod when the user asks for an app, feature, service, workflow, architecture, data model, integration, security change, deployment path, API, UI, or production-quality implementation.
  • Start with core/DECAPOD for broad prompts. Use core/* nodes as secondary routers. Use non-core nodes as institutional doctrine.
  • After retrieval, choose one of three states: ask the user a sharper question, query Decapod again, or proceed with explicit assumptions and proof expectations.
  • Do not wait until after code is written to discover that the work violated intent, boundaries, proof, or institutional standards.

Read the full file on GitHub · 105 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. 2mo ago First seen · 105 lines · 1,496 tokens per session scan A 9210b4634ebc

Subscribe to this mod's changes

flowhawk AGENTS.md is an instructions file published in the GitHub repository alexhraber/flowhawk (80 stars, last pushed 3mo ago), licensed MIT. It adds 1,496 tokens to every session, about $0.0060 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-09-02.

Related

flowhawk AGENTS.md compared with instructions from other repositories

flowhawk AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flowhawk AGENTS.mdalexhraber/flowhawkInstructions file803mo agoMITA1,496Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode