Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Multi-model orchestration and model-switching strategy. Score-based model selection, cross-agent delegation (Gemini, Codex, Ollama), advisor pairing, escalation triggers, permission matrix, and cost-efficiency optimization.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 75% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 39% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 91% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 169% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 62% | 0% |
> 中文 — model-strategy 官方中文版本。
> 多模型编排:基于评分的模型选择、跨 Agent 委派、Advisor 配对、升级触发器以及成本效率优化
Level 4 (Reviewer): Opus 4.8 — advisor, math review [user only: /model, /advisor]
Level 3 (Strategist): Opus 4.6 — architecture, concepts [subagent: model:"opus"]
Level 3 (Creative): Fable 5 — creative texts, stories [subagent: model:"fable"]
Level 2 (Workhorse): Sonnet 4.6— implementation, debug [subagent: model:"sonnet"]
Level 1 (Fast): Haiku 4.5 — boilerplate, formatting [subagent: model:"haiku"]Level 2-3: Gemini 3.5 pro — research, scientific databases [agy-companion CLI]
Level 2: Gemini 3.5 flash— fast research [agy-companion CLI]
Level 2-3: Codex 5.5 (GPT) — code review, code generation [codex-companion CLI]
Level 2: Codex 4.5 (GPT) — simpler code tasks [codex-companion CLI]Level 1-2: Ollama (Qwen 3.5:35b-a3b) — Haiku-to-Sonnet level [<ollama-host>:11434]
Invocation: SSH + curl http://<ollama-host>:11434/v1/chat/completions
Or: delegation via an agent-system control API (if available)| 模型 | LLM 可启动 | 调用路径 | 约束条件 | |-------|---------------|-----------------|-------------| | Sonnet 4.6 | 是 | Agent(model:"sonnet") | — | | Opus 4.6 | 是 | Agent(model:"opus") | — | | Haiku 4.5 | 是 | Agent(model:"haiku") | — | | Fable 5 | 是 | Agent(model:"fable") | — | | Opus 4.8 | 仅限 Advisor | 会话中的 advisor() | 用户必须设置 /advisor | | Gemini 3.5 | 是 (Bash) | companion-for-agy "prompt" | 仅限 Windows,stdout 变通方案 | | Codex 5.5/4.5 | 是 (Bash) | node codex-companion.mjs task "prompt" | 需要身份验证 | | Ollama | 是 (SSH/curl) | 通过 SSH + curl 访问 Ollama 主机 API | VPN/Tailscale 必须处于活动状态 | | Opus 4.8 作为主模型 | 否 | 用户:/model opus 4.8 | 仅限用户操作 | | Fable 5 作为主模型 | 否 | 用户:/model fable | 仅限用户操作 |
Dimensions (0-10):
CLARITY : How unambiguous is the task?
COMPLEXITY : How many components?
CREATIVITY : New solutions needed?
CONTEXT : How much prior knowledge?
CRITICALITY : How important is perfection?
SCORE = (10 - CLARITY) + COMPLEXITY + CREATIVITY + CONTEXT + CRITICALITY| 分数 | 模型 | 示例 | |-------|-------|----------| | 0-8 | Ollama(本地主机) | Prompt 生成、摘要、简单文本 | | 9-12 | Haiku | __init__.py、格式化、样板代码 | | 13-22 | Sonnet | 代码实现、Bug 修复、标准代码 | | 13-22 | Gemini 3.5 | 研究、文献检索、科学数据库 | | 13-22 | Codex 5.5 | 代码生成(Luau、Node.js)、计算脚本 | | 23-28 | Sonnet + Advisor 审查 | 包含质量检查的复杂代码 | | 23-35 | Fable 5 | 创意文本、营销、故事创作 | | 29-40 | Opus 4.6 | 架构、策略、论文撰写 | | 35-50 | Opus 4.6 + Advisor | 证明、架构决策、统计学 | | 40-50 | Opus 4.8(用户建议) | 数学证明工作、极高严谨度 |
| 任务 | 最佳 Agent | 理由 | |------|-----------|--------| | 科学文献检索 | Gemini 3.5 pro | 原生 OpenAlex/arXiv/PubMed Skill | | 代码审查(第二意见) | Codex 5.5 | 独立视角 | | 简单文本生成 | Ollama(本地主机) | 无需 Token,24/7 常驻 | | 创意文本、营销 | Fable 5 | 最强创意输出 | | 数学证明 | Opus 4.8 (Advisor) | 最高分析深度 |
> 请将占位符 <host>、<ollama-host>、<tailscale-ip>、<user> 和 ~/.ssh/<key> 替换为您自己的基础设施配置。
Gemini (via companion-for-agy):
companion-for-agy --researcher --json --timeout 120000 "research prompt"Codex (via codex-companion):
node "~/.claude/plugins/cache/openai-codex/codex/1.0.4/scripts/codex-companion.mjs" task --effort high "code prompt"Ollama on a remote host (via SSH):
ssh -i ~/.ssh/<key> <user>@<tailscale-ip> "curl -s http://localhost:11434/v1/chat/completions -d '{\"model\":\"qwen3.5:35b-a3b\",\"messages\":[{\"role\":\"user\",\"content\":\"Prompt\"}]}'"Delegation to an agent system with tools (example):
curl -s -X POST http://<host>:8081/api/chat -H "Content-Type: application/json" -d '{"prompt": "...", "chat_id": "claude-delegate"}'advisor() 是一个会话级工具 — Advisor 模型由用户通过 /advisor 设置,而非通过程序设置。这产生了以下配对模式:
| 模式 | 运行方式 | 适用场景 | |---------|--------------|-------------| | 会话 Advisor | 用户设置 /advisor opus 4.8,Agent 调用 advisor() | 证明/架构的标准模式 | | 编排器作为审查员 | Opus 主模型审查 Sonnet Subagent 的输出 | 编排器能力强于 Worker | | 对抗 Agent | Agent A 执行任务,Agent B 进行对抗性检查 | 独立验证,双重视角 | | 用户建议 | Agent 建议:“请使用 opus 4.8 + advisor 完成此任务” | 当前会话能力不足时 |
| 操作 | Ollama | Haiku | Sonnet | Opus | Gemini | Codex | |-----------|--------|-------|--------|------|--------|-------| | 读取文件 | - | 是 | 是 | 是 | 是 | 是 | | 写入文件 | - | 是 | 是 | 是 | 是 | 是 | | 删除文件 | - | - | 是 | 是 | - | - | | 系统命令 | - | - | 是 | 是 | 是 | 是 | | 架构决策 | - | - | - | 是 | - | - | | 网络研究 | - | - | 是 | 是 | 是 | - | | 调用 advisor() | - | - | 是 | 是 | - | - |
通过伴侣脚本在其自身的沙盒模式中执行 需要用户确认
| 任务类型 | 无路由 | 有路由 | 节省比例 | |-----------|-----------------|--------------|---------| | 简单/琐碎 | Opus Token | Ollama(免费) | 100% | | 样板代码 | Opus Token | Haiku Token | ~80% | | 标准代码 | Opus Token | Sonnet Token | ~50% | | 研究 | Claude Token | Gemini Token | ~70%(不同预算) | | 代码审查 | advisor() Token | Codex Token | ~60%(不同预算) |
> "Opus 思考,Sonnet 构建,Haiku 执行,Ollama 节省。Gemini 研究,Codex 审查,Fable 叙述。"
从 BACH v3.8.0 移植 | 扩展跨 Agent + Advisor v2.0.0
Other measured skills in the registry, with their headline benchmark lift.