claude-devfleet
Original:🇺🇸 English
Translated
Orchestrate multi-agent coding tasks via Claude DevFleet — plan projects, dispatch parallel agents in isolated worktrees, monitor progress, and read structured reports.
2installs
Sourcesehoon787/my-codex
Added on
NPX Install
npx skill4agent add sehoon787/my-codex claude-devfleetTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →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:
bash
claude mcp add devfleet --transport http http://localhost:18801/mcpHow 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 userTools
| Tool | Purpose |
|---|---|
| AI breaks a description into a project with chained missions |
| Create a project manually, returns |
| Add a mission. |
| 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 → returns
plan_project(prompt="...")+ list of missions withproject_idchains anddepends_on.auto_dispatch=true - Show plan: Present mission titles, types, and dependency chain to the user.
- Dispatch: Call on the root mission (empty
dispatch_mission(mission_id=<first_mission_id>)). Remaining missions auto-dispatch as their dependencies complete (becausedepends_onsetsplan_projecton them).auto_dispatch=true - Monitor: Call or
get_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 ). When all slots are full, missions with queue in the mission watcher and dispatch automatically as slots free up. Check for current slot usage.
DEVFLEET_MAX_AGENTSauto_dispatch=trueget_dashboard()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 or
get_mission_statusperiodically 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
- → returns
create_project(name="My Project").project_id - for the first (root) mission → capture
create_mission(project_id=project_id, title="...", prompt="...", auto_dispatch=true).root_mission_idfor 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
- → get
create_project(name="...").project_id - → get
create_mission(project_id=project_id, title="Implement feature", prompt="...").impl_mission_id - , then poll with
dispatch_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 in
auto_dispatch=truestatus.draft