Skip to content
Back to skills

Fan Out Or Not

ASecurity

Decide whether a job should be split across several parallel agents or sub-agents, or done inline in one session — using independence, size, review cost and file overlap as the tests.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 22, 2026
ai-agentsapi

Works with

  • api

Security analysis

A100/100

Scanned October 22, 2026

npx -y skills add gaurav8936/oneroof --skill fan-out-or-not --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fan Out Or Not?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fan Out Or Not
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gaurav8936-fan-out-or-not/badge)](https://www.skillsdirectory.com/skills/gaurav8936-fan-out-or-not)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: fan-out-or-not
description: Decide whether a job should be split across several parallel agents or sub-agents, or done inline in one session — using independence, size, review cost and file overlap as the tests.
runtime: [shared]
triggers: [should we parallelize, fan out, spawn agents, split this up, sub-agents]
---

# fan-out-or-not — parallel only when it pays

Parallel agents save time only when the pieces are independent. Otherwise they cost more in merging and review than
they save. Answer these five questions before splitting.

| # | Question | Fan out if… |
|---|---|---|
| 1 | Can each piece be done without the others' results? | yes |
| 2 | Do the pieces touch different files? | yes, no overlap at all |
| 3 | Is each piece big enough (roughly 15+ minutes of agent work)? | yes |
| 4 | Can each piece be reviewed and tested on its own? | yes |
| 5 | Is there capacity for every agent at once? | yes |

**All five yes:** fan out, with `parallel-worktrees`. **Any no:** do it inline, in order, in one session.

## Sub-agents inside one session

A sub-agent is worth it for a wide, read-only search ("find every caller of this function across the repo") where
you only need the conclusion. It is not worth it for a one-file lookup or for edits; do those directly.

## Say the decision

Before starting, write one line: "Fanning out into 3 tasks (claims: a → src/api, b → src/ui, c → docs)" or
"Inline: steps depend on each other". It makes the choice reviewable.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.