Multi-Agent
Task Management
Task management enables multiple Claude sessions to coordinate work by creating, claiming, and completing tasks.
Creating Tasks
agent_create_task({
title: "Implement user authentication",
description: "Add JWT-based auth to the API endpoints",
priority: "high",
estimated_effort: "medium",
tags: ["backend", "security"],
required_skills: ["typescript", "jwt"]
})
Task Fields
| Field | Type | Description |
|---|---|---|
| title | string | Short task title (required) |
| description | string | Detailed description |
| priority | string | low, medium, high, urgent |
| estimated_effort | string | quick, small, medium, large |
| tags | string[] | Categorization tags |
| required_skills | string[] | Skills needed |
| metadata | object | Additional data |
Task Lifecycle
┌─────────┐ ┌─────────┐ ┌────────────┐ ┌───────────┐
│ Open │───▶│ Claimed │───▶│ In Progress │───▶│ Completed │
└─────────┘ └─────────┘ └────────────┘ └───────────┘
│
▼
┌───────────┐
│ Cancelled │
└───────────┘
Claiming Tasks
agent_claim_task({
task_id: "task-abc123"
})
Claiming:
- Assigns the task to your session
- Prevents other agents from claiming it
- Sets status to
claimed
Updating Tasks
agent_update_task({
task_id: "task-abc123",
status: "in_progress"
})
agent_update_task({
task_id: "task-abc123",
status: "completed",
result: { "files_changed": ["src/auth.ts", "src/middleware.ts"] }
})
Listing Tasks
// All open tasks
agent_list_tasks({ status: "open" })
// Tasks assigned to me
agent_list_tasks({ assigned_to_me: true })
// In-progress tasks
agent_list_tasks({ status: "in_progress" })
Finding Matching Tasks
agent_find_matching_tasks({
capabilities: ["typescript", "testing"],
max_effort: "small",
exclude_blocked: true
})
Returns tasks that match your declared capabilities.
Priority Guidelines
| Priority | Use When |
|---|---|
urgent | Blocking other work, needs immediate attention |
high | Important for current sprint/milestone |
medium | Normal priority work |
low | Nice to have, do when convenient |
Effort Estimates
| Effort | Typical Duration |
|---|---|
quick | Under 15 minutes |
small | Under 1 hour |
medium | 1-4 hours |
large | Multiple sessions |
Best Practices
- Clear titles - Make tasks easy to understand at a glance
- Detailed descriptions - Include enough context to start work
- Appropriate priority - Reserve
urgentfor true emergencies - Realistic effort - Help with workload planning
- Update status - Keep task status current
- Complete tasks - Mark done when finished