argszero/cordis-plugin-subagent-model

Shows which model a DSH subagent runs on, lets you re-point it at runtime, and records the route in the transcript.

Fills a seam the harness leaves empty: a delegation inherits its parent's route, resolveChildAgentOptions copies the parent's latest request header, and the only per-child lever exists at delegation time — so a running child's route is fixed and nothing displays it. This plugin resolves provider, model and reasoning effort per request instead of per run, which is what makes a change land on a running child's next step. Two details show the care: a field the selection leaves unset keeps the inherited value, so a model-only override re-points the model inside the parent's provider, and a route change naming no reasoning effort clears the inherited effort rather than carrying a level the new adapter may not offer.

Models & Providers ★ 0 updated 2026-10-25
View on GitHub ↗

Install

dsh plugin add @argszero/cordis-plugin-subagent-model

The bundle-patch line. With no config the plugin only observes: nothing is re-routed and the single effect is a per-child route notice. To pre-select a route, replace the row in the profile's patch layer with provider, model, reasoningEffort, toolName and announce — the tool is then reachable as subagent_model with get and set, and set clear returns the children to inheritance.

Compatibility

In-process children only, and the README states the boundary rather than implying it: spawn, fork and continuation providers cross the agent/request waterfall in this process, while an out-of-process child such as the codex, ACP, claude-code or SDK subagent has no such request here and is untouched by construction. One selection applies to all subagents — per-child targeting is deliberately absent from 0.1.0. Writing is allowed only from a top-level agent, since the selection is deployment-wide and a child silently re-routing its siblings was not what the upstream report asked for.

Details

Alternatives

ringoage/dsh-subagent-model-picker · kinoward/dsh-plugin-subhub · artorias-zj/dsh-opencode-free-model

More plugins in Models & Providers

Browse more in Models & Providers

Guides for Models & Providers plugins