flow copilot-instructions.md

Repository instructions for Flow, a toolkit that organizes software work through written plans, task worksheets, and project knowledge. They define how agents activate the right instructions and record decisions.

In plain words
What is it for?
Use them when working in a Flow repository to select a task plan, follow its required lifecycle, document decisions, synchronize task status, and keep commits local.
Why use it?
They reduce inconsistent agent behavior by specifying which instructions to read, how to resolve disagreements, and how to review work before finishing.

Instructions file for GitHub Copilot

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/cofin/flow/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/cofin/flow

Made for: GitHub Copilot.

Per session 967 This file is loaded in full into every session.
When invoked 967 The same file — it is already loaded in full.
Security scan C 1 finding. 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.00967 $0.00967
Opus 5 $0.00483 $0.00483
Sonnet 5 $0.00193 $0.00193
Haiku 4.5 $0.00097 $0.00097

Measured 2d ago against content hash 90d57450f1c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

flow copilot-instructions.md scanned grade C with 1 finding 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 2d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- flow-rule-adapter: {"activation":"Repository instructions, custom agents, and Agent Skills activate Flow.","automatic_push":false,"canonical_sha256":"640298521fd9c87d05b13a69ec34ee52776f8da5277eac730adc795732ffeca7"
.github/copilot-instructions.md · 46 lines

How it starts

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

Flow Operational Rule

Activation: Repository instructions, custom agents, and Agent Skills activate Flow.

When a repository has .agents/, read its configured root, bundle index, active spec, authoritative task worksheet, and applicable recursively nested knowledge before acting. Operational skills resolve only from .agents/skills/.

Route through the flow skill and exactly one lifecycle skill. Refine plans until every worksheet is executable, follow the selected worksheet without improvising, and route contradictions through revise/refine. Apply direct Markdown frontmatter state synchronization and reconcile task-first.

Use structured-choice-v1 for unresolved decisions: one decision at a time, only through a currently allowed compatible native tool or the equivalent sequential-text fallback. Run correctness review and then the mandatory fresh quality review before finish/archive.

Commits remain local unless the user explicitly asks for delivery. Never create, move, force-update, or delete Git tags.

Read the full file on GitHub · 46 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. 2d ago First seen · 46 lines · 967 tokens per session scan C 90d57450f1c2

Subscribe to this mod's changes

flow copilot-instructions.md is an instructions file published in the GitHub repository cofin/flow (15 stars, last pushed 3d ago), licensed Apache-2.0. It adds 967 tokens to every session, about $0.0048 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.