Commit Graph
3 Commits
Author SHA1 Message Date
yetone 10ebbb3fc3 magpie-setup: subagents get their own model through magpie's settings
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 <model>, group/<id>, default, subagent_effort low and
claude subagent <model> each printed ✓ and wrote the setting.
Not tried: a real Codex subagent request through the gateway.
2026-10-27 04:43:48 +08:00
yetone e5136447b7 skills: magpie-setup, an agent sets magpie up as the user asks
Asked for by Leyuu_5 on X ("功能越来越多,感觉可以来个skill让AI来帮设置需求了").
The skill teaches an agent to read magpie's state, then turn a request
into magpie's own commands: keys and subscriptions, an agent's model,
routing groups with fallbacks and rules (time of day with a zone,
tokens, images, folders, compaction, intent), gateway keys with budgets
and model lists, model names/prices/visibility, and the library's MCP
servers, instructions and web search. It says what to ask before
(replacing, removing, sign-in) and what never to run unasked, and that
a subscription is never set up for another person's use.

What was run: every command in SKILL.md was read from magpie's
internal/cli source at origin/main d2e0ea393 and run against a magpie
built from it, in a sandbox HOME (provider add preset/url/anthropic/
ollama, provider test/models/fallback/off/on/rpm, account-cap,
group add/set models+=/template, every rule form incl.
time=09:00-18:00@Asia/Shanghai and tz=, rule mv/rm, gateway-key
add/list/limit month --cost 20/limit add day --tokens/models, model
name/disable/price/context, visible, library mcp add/instructions,
search add, save/use, claude/codex set and default, healthcheck,
usage, quota). Two magpie bugs found doing so are fixed there
(gateway-key limit <id> month refused; library mcp add with no agents
said every agent had it) and ship with the next tag.
Not tried: accounts add / plugin login (a real browser sign-in),
daemon install, webdav, backup/restore.
2026-10-25 19:12:17 +08:00
yetone 96c5b0f992 skills: magpie-quota, an official skill that lets an agent check what is left of every subscription, plan and key balance magpie has (magpie quota --json, or GET /v1/magpie/quotas) and wait for allowance (magpie quota wait); it never spends a Codex reset (ttmouse on X: suggested an official skill to go with magpie quota) 2026-10-08 03:46:47 +08:00