Skip to main content

agentic-subagent-routing

Use before a skill dispatches any subagent to resolve caller skill and slot into agent role, model, and reasoning effort.

Source facts

Repository
DolphinAI2026/dolphin-code
Last source activity
July 22, 2026 at 12:18
Detected SKILL.md language
English
Stars
972
Forks
78

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
3 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
agentic-subagent-routing
description
Use before a skill dispatches any subagent to resolve caller skill and slot into agent role, model, and reasoning effort.
argument-hint
<caller-skill> <slot> [--backend codex] [--category review|implementation|research|testing]
# Agentic Subagent Routing Resolve subagent dispatch contracts. Business skills decide what work needs a subagent; this skill decides which agent role, model, and reasoning effort to use. Before dispatching a subagent, collect: ```yaml backend: codex caller_skill: <stable-skill-name> slot: <semantic-slot-name> category: <review|implementation|research|testing|optional> hard_fail: false readonly: <true|false|optional> ``` Use `routes.yaml` as the centralized route registry. Lookup order is exact `caller_skill + slot`, then `global_slots`, then `categories`, then `defaults.<backend>`. For Codex, map the resolved contract to `spawn_agent`: - `agent_role` -> `agent_type` - concrete `model` -> `model` - concrete `reasoning_effort` -> `reasoning_effort` - `null` model or reasoning means omit that field and inherit the parent value Do not require third-party skills to provide `subagents.yaml` or parse CLI output. The CLI/library exists for implementation, wrapper injection, tests, doctor, and manual diagnostics.
View on GitHub