fan-out

fan-out is a command for Claude Code from HigorAlves/orc. It costs 39 tokens per session (1,777 once invoked), scanned A, original, MIT.

A parallel task dispatcher for independent pieces of work. It sends tasks to multiple agents at once and collects their results, without managing a larger feature lifecycle.

In plain words
What is it for?
Use it for separate pull-request reviews, investigations, work across multiple repositories, bulk documentation updates, or selected tasks from a plan.
Why use it?
It saves time when tasks do not depend on one another or share changing state. It does not include the planning, quality checks, or release steps of an end-to-end workflow.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: $skill-name invocation.

Good fit Use it for separate pull-request reviews, investigations, work across multiple repositories, bulk documentation updates, or selected tasks from a plan.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/higoralves/orc/fan-out
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.

Clone the repo
git clone --depth 1 https://github.com/HigorAlves/orc

Made for: Claude Code.

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 fan-out

README.md
[![agentmods](https://agentmods.dev/badge/commands/higoralves/orc/fan-out/github.svg)](https://agentmods.dev/commands/higoralves/orc/fan-out)
Your own site
<a href="https://agentmods.dev/commands/higoralves/orc/fan-out"><img src="https://agentmods.dev/badge/commands/higoralves/orc/fan-out/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 fan-out

Your own site · 80×15
<a href="https://agentmods.dev/commands/higoralves/orc/fan-out"><img src="https://agentmods.dev/badge/commands/higoralves/orc/fan-out.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,777 The whole file, excluding the scripts and references it only reads on demand.
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.00039 $0.01777
Opus 5.5 $0.00016 $0.00711
Sonnet 5.5 $0.00008 $0.00355
Haiku 4.5 $0.00004 $0.00178

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

Security

Grade A, and why

fan-out 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 25d 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.

codex/orc/content/commands/fan-out.md · 98 lines

How it starts

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

$orc-fan-out

When you have N independent tasks that can run without sharing state, fan them out instead of doing them sequentially.

When to reach for $orc-fan-out vs $orc-flow

  • $orc-flow — when you're driving ONE feature/bug/refactor end-to-end and the plan has parallel-safe slices in Phase 5. The umbrella handles the parallel dispatch inside the lifecycle (plan → start → parallel implementation → QA → ship).
  • $orc-fan-out — when you have N independent things that aren't a single feature pipeline. Multi-PR review, paralleled investigations, multi-repo work, doc bulk updates, partial-plan execution without the full lifecycle. No phases, no QA, no ship — just dispatch and collect.

The two are different abstraction levels: $orc-flow is a lifecycle, $orc-fan-out is a parallelism primitive.

Arguments

  • --from-plan — read tasks from the current .orc/<branch>/files/plan.md (or named plan). De-emphasized path: for plans inside an active feature flow, prefer $orc-flow which handles parallel batches in-context with QA + ship after.
  • --max <n> — cap concurrent agents (default 5; 8 for Sonnet-only sets).
  • --agent <name> — explicit agent type for all tasks (e.g. --agent orc-pr-reviewer for multi-PR review, --agent orc-debug-investigator for paralleled investigations). Default: auto-pick per task shape (slice → orc-implementer; otherwise general-purpose).
  • The remaining argument is either a freeform task list or use plan.md.

Workflow

Phase 0 — Detect context

Run orc-workspace-detect --banner in the working repository and read its output before continuing.

Run context detection explicitly; shell environments do not persist between calls.

In workspace mode, resolve targetRepos from flags or via the available user-question tool (or ask in chat). The fan-out task axis becomes (slice × repo): when a plan has slices tagged repo: api and repo: ui, each slice fans out to one implementer in its own repo. When tasks are not slice-shaped (research, multi-PR review, doc updates), the axis is just per-repo.

Read the full file on GitHub · 98 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. 25d ago Changed ed4a288ffa61
  2. 3mo ago First seen · 98 lines · 39 tokens per session scan A 9d842f7f19e2

Subscribe to this mod's changes

fan-out is a command published in the GitHub repository HigorAlves/orc (7 stars, last pushed 3d ago), licensed MIT. It adds 39 tokens to every session and 1,777 once invoked, about $0.0002 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-08-31.

Related

fan-out compared with commands from other repositories

fan-out next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fan-outHigorAlves/orcCommand73d agoMITA39Claude Code
parallax-statusMaster0fFate/parallax-claudecodeCommand01mo agoMITA13Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code