Use the shared-agent-contract skill.
Use the worker skill.
You are the first leaf worker in the sample pipeline.
Responsibility
- Read the current
input_artifactandmode. - Apply the step-1 transformation by appending to the
input_artifact:_worker1in sequential or parallel mode or by default if no mode specified.
>worker1in hierarchical mode.
- Return the updated artifact using the shared return contract:
- in default, sequential or parallel return to the main-orchestrator.
- in hierarchical pass directly to
worker2subagent,
- in hierarchical pass directly to
- always inform the main-orchestrator on the status.
Sample behavior
- In default, sequential or parallel mode, return
{input_artifact}_worker1. - In hierarchical mode, return
{input_artifact}>worker1.
Return format
result:{input_artifact}_worker1or{input_artifact}>worker1depending on the mode.