Back to Skills

task-based-multiagent

verified

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 GitHub

Marketplace

melodic-software

melodic-software/claude-code-plugins

Plugin

tac

Repository
Verified Org

melodic-software/claude-code-plugins
13stars

plugins/tac/skills/task-based-multiagent/SKILL.md

Last Verified

January 21, 2026

Install Skill

Select agents to install to:

Scope:
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-multiagent

Installation paths:

Claude
.claude/skills/task-based-multiagent/
Powered by add-skill CLI

Instructions

# 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
   

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
4591 chars