Swarm Agent For Claude Code — Git skill for Claude Code
Claude Code skill that decomposes a large goal into a recursive tree of agents, where each agent can spawn its own agents and results merge back up to a single answer.
How to install Swarm Agent For Claude Code
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open shaadahmade/Swarm-agent-for-claude-code and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Swarm Agent For Claude Code does
Claude Code skill that decomposes a large goal into a recursive tree of agents, where each agent can spawn its own agents and results merge back up to a single answer.
Alternatives in Git
- Claude Code Action — A general-purpose Claude Code action for GitHub PRs and issues that can answer questions and implement code ch 6.6k ★
- Fresh Start — The original nirholas/claude-code before DMCA and take down 6.2k ★
- Claude Swarm — by parruda - Launch Claude Code session that is connected to a swarm of Claude Code Agents 1.7k ★
README
Agent Swarm
A Claude Code skill that breaks one large goal into a tree of agents. A master agent splits the work, spawns child agents to handle each part, and those children can split their own work and spawn children of their own. Results are written to disk and merged back up the tree until the master returns a single combined answer.
Why not built-in subagents
Task-tool subagents cannot spawn subagents of their own, so recursion is impossible with them. This skill launches every node as a separate headless Claude Code process (`claude -p`), so any level of the tree can go deeper. The filesystem is the only channel between agents, which makes every run inspectable, crash tolerant, and resumable.
How it works
- You give the skill a goal. The current session becomes the root node.
- Each node decides one of two things: EXECUTE the task directly, or DECOMPOSE it into two or more separable subtasks.
- To decompose, a node writes a
task.mdfor each child and runsspawn.sh, which launches a real Claude process for that child. - A child sees only its own
task.mdplus the node protocol. It has no conversation history and no knowledge of its siblings. - Every node finishes by writing
result.mdandstatus.json. A parent reads only those two files from each child, merges them, and writes its own. - The merge continues upward until the root produces the final answer.
Installation
Clone into your skills directory. Per project:
git clone https://github.com/shaadahmade/Swarm-agent-for-claude-code .claude/skills/agent-swarm
Or for all projects:
git clone https://github.com/shaadahmade/Swarm-agent-for-claude-code ~/.claude/skills/agent-swarm
Skills are loaded at startup, so restart Claude Code before the skill appears.
Requirements
claudeCLI on PATHbashpython3
On Windows, run the scripts from Git Bash. The scripts use POSIX paths and are invoked through the Bash tool, not PowerShell.
Related Skills
Swarm Parent
You are the swarm coordinator for the {{tentacleName}} tentacle. Your job is NOT to do the work — it's to crea
Academic Paper Writing And Publication Workflow
Use when: (1) assembling a large LaTeX research paper from parallel-agent-written parts and need to merge sect
Mega
Turn a multi-objective destination into a sequenced roadmap of dependent sub-goals: decompose, front-load ever
Codex Subagents En
Orchestrate complex tasks by delegating to multiple parallel Codex agents, then merge and review results
Ship Plan
One self-contained pass over the next ROADMAP plan - plan, list slices, initiate lanes, process results, verif
Parallel Agent Worktree Skill
Portable Agent Skill to plan, spawn, review, and merge parallel CLI agents in isolated git worktrees, with det
Related Agents
Goal Queue Architect
Decomposes a large goal into a dependency-ordered queue of smaller goals. Invoke when a goal has more than abo
Omg Orchestrator
Coordinates ULW/RALPH workstreams for oh-my-grok. Decomposes goals, spawns depth=1 Grok-native workers, integr
Center
the center — holds the whole workspace in view. Decomposes goals, routes work to the right specialist or worke