From 10ebbb3fc3d876b5dd3e1a92ec69d7a4fc2873b2 Mon Sep 17 00:00:00 2001 From: yetone Date: Tue, 27 Oct 2026 04:43:48 +0800 Subject: [PATCH] magpie-setup: subagents get their own model through magpie's settings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Myi3i4 on X asked whether the setup skill covers this: asking Codex to put a subagent on a model works only sometimes. magpie already pins every Codex subagent to one model or group whatever the lead names (subagent_model), and Claude Code's subagents too; the skill now says so. Run: each command in the new block ran against magpie built from magpie origin/main 4ad… in a sandbox HOME (ollama provider with two models typed in): codex subagent_model , group/, default, subagent_effort low and claude subagent each printed ✓ and wrote the setting. Not tried: a real Codex subagent request through the gateway. --- skills/magpie-setup/SKILL.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/skills/magpie-setup/SKILL.md b/skills/magpie-setup/SKILL.md index 60e8ea7..efc8544 100644 --- a/skills/magpie-setup/SKILL.md +++ b/skills/magpie-setup/SKILL.md @@ -96,6 +96,17 @@ magpie codex effort high # another field (magpie codex --help lists magpie claude default # take magpie out: back to what it had before ``` +Subagents can have a model of their own. Set it here rather than asking the +lead agent to name a model each time, which it does only sometimes: + +```sh +magpie codex subagent_model deepseek/deepseek-chat # every Codex subagent, whatever its lead asks for +magpie codex subagent_model group/cheap # or a routing group +magpie codex subagent_model default # back to the lead's pick +magpie codex subagent_effort low # their reasoning effort +magpie claude subagent deepseek/deepseek-chat # Claude Code's subagents +``` + ## Routing groups A group is several models an agent picks as one. `routing=order` tries them