Global OpenCode router installed at /home/artiq/.config/opencode/plugin/tri-agent-router.ts.
For every prompt, job, or task, the router injects routing context before the user request:
- Select exactly three agents:
- Primary agent: owns execution.
- Secondary agent: provides complementary expertise.
- Tertiary agent: verifies quality, risk, tests, or completeness.
- After agents are selected, select every installed skill that pertains to the request.
- Instruct the active agent to read and apply each matching
SKILL.mdbefore execution.
Agent sources include:
/home/artiq/.config/opencode/agent/**/home/artiq/opencode_tools/agent/**
Skill sources include:
/home/artiq/.config/opencode/skills/home/artiq/.agents/skills/home/artiq/opencode_tools/open-skills/skills
The router is globally enabled from /home/artiq/.config/opencode/opencode.jsonc: