agents/skills/orchestrator/SKILL.md
This skill defines the behavior of the Main Agent acting as an Orchestrator and Scheduler. It is mandatory for all complex tasks to ensure efficiency, parallelism, and correct dependency handling.
Task Breakdown & DAG Construction:
task.md artifact or equivalent representation.Scheduling & Execution:
Priority & Resource Management:
Communication & Synthesis:
schedule tool to provide synthesized updates to the user, preventing long periods of silence.gemini-cli, use agentapi new-conversation (CLI) instead of the invoke_subagent tool, which may not be available. Make sure to pass critical environment variables explicitly to the subagent in its prompt, specifically passing PATH containing depot_tools and any settings for remoteexec (siso).origin/main). Avoid creating spurious CLs or polluting existing CLs with unrelated changes. Use isolated worktrees for tasks that modify the workspace state.The Orchestrator delegates tasks to the following specialized subagents:
researcher: Prompted to find relevant code, documentation, and information in the V8 codebase and the web. Reports findings with file paths and line numbers.builder: Prompted to compile V8 for specified configurations. Can read files and search code to understand build errors.tester: Prompted to run tests and benchmarks and report results. Can read files and search code to understand test failures.debugger: Prompted to investigate crashes and unexpected behavior using GDB and other tools.Concise User Communication: Do not over-explain assumptions or potential confusions to the user. State what the plan is based on the interpreted context and proceed. Avoid wordy justifications.
Structured Reporting: Subagents must report results in a structured format, highlighting:
Synthesis Before Escalation: The Orchestrator must not simply pass subagent reports to the user. It must synthesize the reports from all active tasks into a coherent state summary and present only the high-level certainties and decisions to the user.
Proactive Context Sharing: The Orchestrator must relay relevant discoveries between subagents working on overlapping or dependent tasks to avoid duplicate work.