Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Creates ephemeral worker agents from task-type templates for parallel execution, managing their create, execute, and cleanup lifecycle.
23% 77%+55 ptsof test cases passed
Passed 17 of 22 test cases with the skill, and 5 of 22 without it.
A task node in the DAG has type 'docs' and ID 'task-108'. Which worker template file is selected?
Selects task-worker.template.md as template file
3 of 3 safety checks passed
Creates ephemeral worker agents from templates, specializing them based on task type.
Task from DAG -> Determine Type -> Select Template -> Substitute Placeholders -> Spawn Worker
| Task Type | Template | Specialization |
|---|---|---|
code | code-worker.template.md | TDD, code patterns, tests |
ui | ui-worker.template.md | Design system, accessibility |
integration | integration-worker.template.md | API contracts, error handling |
test | test-worker.template.md | Coverage targets, test patterns |
docs | task-worker.template.md | Base template |
config | task-worker.template.md | Base template |
def create_worker_agent(task: dict, track_id: str, message_bus_path: str) -> dict:
"""
Create a specialized worker agent for a task.
Args:
task: Task node from DAG (id, name, type, files, depends_on, acceptance)
track_id: Current track identifier
message_bus_path: Path to message bus directory
Returns:
dict with worker_id, skill_path, prompt
"""
# 1. Generate unique worker ID
timestamp = datetime.utcnow().strftime("%Y%m%d%H%M%S")
worker_id = f"worker-{task['id']}-{timestamp}"
Next to this one in the catalogue, plus more from the same author.