dsh-superpowers: Specify a sub-agent model for each Superpowers skill individually
goodjin/dsh-superpowers packages the 15 skills of Superpowers into a DSH agent preset and provides a skill-level model routing table in Settings → Superpowers: one row per skill in a dropdown box, plus a row for a child agent covering unbound skills. Dispatching is uniformly handled via the `delegate_skill` tool, which starts the child agent on the corresponding provider/model after reading the routing table and names the child session with the skill name. The parsing order is the skill's own pin, the default pair of other child agents, and finally inheriting the parent session routing. "Reuse Main Session Model" is stored as a sentinel and is highly respected, whereas "Follow Default" clears the pin for that skill. The plugin is split into two parts: the global `plugin` handles the Settings partition, model table, tool module, and self-check; the `preset` handles optional runtime modes. Installation is done by executing `dsh plugin --profile web add goodjin/dsh-superpowers` directly from the repository. `agent-presets.default` can be set to `superpowers`. In version 0.2.x, the preset is released as a declaration line within the package, and upgrades simply require rerunning the same command. Routing is also located in the `superpowers-delegation-settings` loader line in `cordis.patch.yml`, allowing for manual overrides. After installation or upgrade, it is recommended to run `scripts/check.mjs`. The critical `route.exists` line uses a POST request to directly probe the browser channel, capable of catching 404s caused by silent registration failures on the host. Supported DSH versions are >=0.1.5-rc.2 <0.3.0; the host line is wrapped, ensuring that even if the plugin fails entirely, DSH can still start and degrade to not providing per-skill pins. Client-side failures are isolated by entry.
Read More