flow

An end-to-end workflow for a feature, bug, refactor, or documentation change. It guides the work through planning, implementation, quality checks, pull-request shipping, follow-up fixes, and workspace cleanup, and can resume later.

In plain words
What is it for?
Use it to take one task from its initial description to a merged pull request and cleanup, optionally linking it to a Jira ticket or adding a design-decision review for larger work.
Why use it?
It keeps the stages and decisions of a piece of work in one tracked session. Interactive gates pause at decisions that need your input, while verified results can move the workflow forward.

Command

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 commands/higoralves/orc/flow
Clone the repo
git clone --depth 1 https://github.com/HigorAlves/orc
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,472 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00053 $0.03472
Opus 5 $0.00026 $0.01736
Sonnet 5 $0.00011 $0.00694
Haiku 4.5 $0.00005 $0.00347

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

Security

Grade A, and why

flow scanned grade A 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Bash(curl:*)
orc/commands/flow.md · 202 lines

How it starts

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

/orc:flow

Drive a piece of work from "I want to do X" to "PR merged, workspace cleaned up." /orc:flow is the umbrella — it walks the same phases the individual commands do, but with unified state, gates at genuine decision points, and a single resume entry point.

Interactivity follows the gate taxonomy (orc:using-orc) and the resolved interaction_policy (the banner's policy: segment): real choices gate via AskUserQuestion; machine-verified outcomes (clean red, QA pass with a complete packet) print their evidence and advance; hard-outward gates always ask at every level. Immediately before each gate, print the one-line > **⛔ Gate — <phase>** callout per orc:callouts (options never go inside the callout).

Arguments

  • <task description> — required. One sentence describing the work.
  • --auto[=guided|full] — autopilot level for this run (bare --auto = full). Overrides the configured interaction_policy. See "Autopilot" below.
  • --type=feature|bug|refactor|docs — optional; pre-answers the triage type question. The type changes which phases run.
  • --rfc — insert an RFC phase before planning (multi-week, multi-team, or genuine-alternatives work).
  • --verbose — pass through to /orc:ship (long-form PR body; terse orc:caveman-pr is the default).
  • --driver agent-browser|chrome — pre-answers Phase 6's browser-driver gate.
  • --pause-at-implement — Phase 5 pauses for the human to write the code (keeps Phase 4's red-confirm gate).
  • --jira <KEY> — link a Jira ticket silently (validate ^[A-Z][A-Z0-9_]*-\d+$); lands as Resolves <KEY> in the PR body.
  • --max-loc <N> / --no-size-gate — pass-through to /orc:ship's Phase 4.5 size gate (single owner; flow never pre-flights it).
  • --repos a,b / --repo a / --all-repos / --this-repo — workspace-mode targeting per orc:workspace-mode.

Every flag records its answer as a settled decision (orc-state decision set … --provenance flag) so nested commands never re-ask.

Phases

Read the full file on GitHub · 202 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 · 202 lines · 53 tokens per session scan A feaecf1478b2

Subscribe to this mod's changes

flow is a command published in the GitHub repository HigorAlves/orc (6 stars, last pushed 5d ago), licensed MIT. It adds 53 tokens to every session and 3,472 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.