Everything-claude-code claude-devfleet
Orchestrate multi-agent coding tasks via Claude DevFleet — plan projects, dispatch parallel agents in isolated worktrees, monitor progress, and read structured reports.
install
source · Clone the upstream repo
git clone https://github.com/affaan-m/everything-claude-code
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/affaan-m/everything-claude-code "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/claude-devfleet" ~/.claude/skills/affaan-m-everything-claude-code-claude-devfleet-3ae3f7 && rm -rf "$T"
manifest:
skills/claude-devfleet/SKILL.mdsource content
Claude DevFleet Multi-Agent Orchestration
When to Use
Use this skill when you need to dispatch multiple Claude Code agents to work on coding tasks in parallel. Each agent runs in an isolated git worktree with full tooling.
Requires a running Claude DevFleet instance connected via MCP:
claude mcp add devfleet --transport http http://localhost:18801/mcp
How It Works
User → "Build a REST API with auth and tests" ↓ plan_project(prompt) → project_id + mission DAG ↓ Show plan to user → get approval ↓ dispatch_mission(M1) → Agent 1 spawns in worktree ↓ M1 completes → auto-merge → auto-dispatch M2 (depends_on M1) ↓ M2 completes → auto-merge ↓ get_report(M2) → files_changed, what_done, errors, next_steps ↓ Report back to user
Tools
| Tool | Purpose |
|---|---|
| AI breaks a description into a project with chained missions |
| Create a project manually, returns |
| Add a mission. is a list of mission ID strings (e.g., ). Set to auto-start when deps are met. |
| Start an agent on a mission |
| Stop a running agent |
| Block until a mission completes (see note below) |
| Check mission progress without blocking |
| Read structured report (files changed, tested, errors, next steps) |
| System overview: running agents, stats, recent activity |
| Browse all projects |
| List missions in a project |
Note on
: This blocks the conversation for up towait_for_mission(default 600). For long-running missions, prefer polling withtimeout_secondsevery 30–60 seconds instead, so the user sees progress updates.get_mission_status
Workflow: Plan → Dispatch → Monitor → Report
- Plan: Call
→ returnsplan_project(prompt="...")
+ list of missions withproject_id
chains anddepends_on
.auto_dispatch=true - Show plan: Present mission titles, types, and dependency chain to the user.
- Dispatch: Call
on the root mission (emptydispatch_mission(mission_id=<first_mission_id>)
). Remaining missions auto-dispatch as their dependencies complete (becausedepends_on
setsplan_project
on them).auto_dispatch=true - Monitor: Call
orget_mission_status(mission_id=...)
to check progress.get_dashboard() - Report: Call
when missions complete. Share highlights with the user.get_report(mission_id=...)
Concurrency
DevFleet runs up to 3 concurrent agents by default (configurable via
DEVFLEET_MAX_AGENTS). When all slots are full, missions with auto_dispatch=true queue in the mission watcher and dispatch automatically as slots free up. Check get_dashboard() for current slot usage.
Examples
Full auto: plan and launch
→ shows plan with missions and dependencies.plan_project(prompt="...")- Dispatch the first mission (the one with empty
).depends_on - Remaining missions auto-dispatch as dependencies resolve (they have
).auto_dispatch=true - Report back with project ID and mission count so the user knows what was launched.
- Poll with
orget_mission_status
periodically until all missions reach a terminal state (get_dashboard()
,completed
, orfailed
).cancelled
for each terminal mission — summarize successes and call out failures with errors and next steps.get_report(mission_id=...)
Manual: step-by-step control
→ returnscreate_project(name="My Project")
.project_id
for the first (root) mission → capturecreate_mission(project_id=project_id, title="...", prompt="...", auto_dispatch=true)
.root_mission_id
for each subsequent task.create_mission(project_id=project_id, title="...", prompt="...", auto_dispatch=true, depends_on=["<root_mission_id>"])
on the first mission to start the chain.dispatch_mission(mission_id=...)
when done.get_report(mission_id=...)
Sequential with review
→ getcreate_project(name="...")
.project_id
→ getcreate_mission(project_id=project_id, title="Implement feature", prompt="...")
.impl_mission_id
, then poll withdispatch_mission(mission_id=impl_mission_id)
until complete.get_mission_status
to review results.get_report(mission_id=impl_mission_id)
— auto-starts since the dependency is already met.create_mission(project_id=project_id, title="Review", prompt="...", depends_on=[impl_mission_id], auto_dispatch=true)
Guidelines
- Always confirm the plan with the user before dispatching, unless they said to go ahead.
- Include mission titles and IDs when reporting status.
- If a mission fails, read its report before retrying.
- Check
for agent slot availability before bulk dispatching.get_dashboard() - Mission dependencies form a DAG — do not create circular dependencies.
- Each agent runs in an isolated git worktree and auto-merges on completion. If a merge conflict occurs, the changes remain on the agent's worktree branch for manual resolution.
- When manually creating missions, always set
if you want them to trigger automatically when dependencies complete. Without this flag, missions stay inauto_dispatch=true
status.draft