Set up task-based multi-agent systems with shared task files. Use when setting up parallel agent execution, designing worktree isolation patterns, or implementing task file coordination.
View on GitHubJanuary 21, 2026
Select agents to install to:
npx add-skill https://github.com/melodic-software/claude-code-plugins/blob/main/plugins/tac/skills/task-based-multiagent/SKILL.md -a claude-code --skill task-based-multiagentInstallation paths:
.claude/skills/task-based-multiagent/# Task-Based Multi-Agent Skill
Guide creation of task-based multi-agent systems using shared task files and worktree isolation.
## When to Use
- Setting up parallel agent execution
- Managing multiple concurrent workflows
- Scaling beyond single-agent patterns
- Building task queue systems
## Core Concept
Agents share a task file that acts as a coordination mechanism:
```markdown
## To Do
- [ ] Task A
- [ ] Task B
## In Progress
- [๐ก abc123] Task C - being worked on
## Done
- [โ
def456] Task D - completed
```
## Task File Format
`tasks.md`:
```markdown
# Tasks
## Git Worktree {worktree-name}
## To Do
[] Pending task description # Available
[โฐ] Blocked task (waits for above) # Blocked
[] Task with #opus tag # Model override
[] Task with #adw_plan_implement tag # Workflow override
## In Progress
[๐ก, adw_12345] Task being processed # Claimed by agent
## Done
[โ
abc123, adw_12345] Completed task # Commit hash saved
[โ, adw_12345] Failed task // Error reason # Error captured
```
## Status Markers
| Marker | Meaning | State |
| --- | --- | --- |
| `[]` | Pending | Available for pickup |
| `[โฐ]` | Blocked | Waiting for previous |
| `[๐ก, {id}]` | In Progress | Being processed |
| `[โ
{hash}, {id}]` | Complete | Finished successfully |
| `[โ, {id}]` | Failed | Error occurred |
## Tag System
Tags modify agent behavior:
| Tag | Effect |
| --- | --- |
| `#opus` | Use Opus model |
| `#sonnet` | Use Sonnet model |
| `#adw_plan_implement` | Complex workflow |
| `#adw_build` | Simple build workflow |
## Implementation Architecture
```text
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ CRON TRIGGER โ
โ (polls tasks.md every N seconds) โ
โโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโผโโโโโโโโโโ
โ โ โ
v v v