| name | amoa-task-distribution |
| description | Use when distributing tasks. Trigger with task assignment requests. Loaded by ai-maestro-orchestrator-agent-main-agent |
| license | Apache-2.0 |
| compatibility | Requires AI Maestro installed. |
| metadata | {"author":"Emasoft","version":"1.0.0"} |
| context | fork |
| user-invocable | false |
| agent | amoa-main |
Task Distribution Skill
Overview
Distributes tasks to agents by priority, dependencies, and agent state.
Prerequisites
Requires gh CLI, AI Maestro API, and familiarity with amoa-label-taxonomy and amoa-messaging-templates.
Instructions
- Query
status:ready tasks, sort by priority (critical > high > normal > low), skip tasks with unresolved blockedBy deps
- Select agent by availability, skill match, and load — see op-select-agent.md
- Assign: add
assign:<agent> + status:in-progress labels, send message via agent-messaging — see op-assign-task.md
- Wait for ACK; if timeout, reassign per op-reassign-task.md
Dependency types: Hard (block), Soft (assign with note), None (parallel). Circular deps → escalate. See dependency-management.md
Load balancing: prefer lowest-load agent. See load-balancing.md
Blocked tasks: acknowledge, record, move to Blocked column, escalate. See blocked-task-handling.md
Copy this checklist and track your progress:
Full checklist: distribution-workflow-checklist.md
Output
Assignment confirmation (label + ACK) and delegation log.
Examples
Input: 3 ready tasks, 2 agents — Output: Critical task assigned, labels updated, ACK received. See examples.md
Error Handling
See error-handling.md
Resources
- references/ — procedures, examples, error handling, checklist