用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Morrison-Lab/ai-config --skill select-model命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | select-model |
| description | Select Claude model for task. |
| user-invocable | true |
| allowed-tools | ["Bash","Read","Edit","Write"] |
Determine which Claude model (Fable 5, Haiku 4.5, Sonnet 4.6, or Opus 4.8) is best for your task. Runs in procedural mode (decision tree reference) or executable mode (analyze a task and recommend a model with optional config update).
Fable 5 / Opus 4.8 (Tier 1: Conductor & Deep Reasoning)
Sonnet 4.6 / 5 (Tier 2: High-Velocity Execution)
Haiku 4.5 (Tier 3: Fast Verification & Scans)
When orchestrating complex or multi-step work:
Is the task trivial or a fast scan? (single query, shallow check)
Is the task bounded implementation from a clear spec? (writing code, generating tests, refactoring)
Does the task require high-level orchestration, deep design, or adversarial review? (architectural decisions, subtle bugs, security audit, orchestrator loop)
| Task Category | Complexity | Recommended Tier | Rationale |
|---|---|---|---|
| Simple query / scan | ⭐ | Tier 3 (Haiku 4.5) | Minimal reasoning; speed matters |
| Code snippet / boilerplate | ⭐ | Tier 2 (Sonnet 4.6) | Fast and accurate generation |
| Bug fix (clear pattern) | ⭐ | Tier 2 (Sonnet 4.6) | Clear problem, straightforward fix |
| Refactor (bounded) | ⭐⭐ | Tier 2 (Sonnet 4.6) | Follows established architecture |
| Subagent execution | ⭐⭐ | Tier 2 (Sonnet 4.6) | High throughput, token efficient |
| Multi-file architecture | ⭐⭐⭐ | Tier 1 (Fable 5 / Opus 4.8) | Needs high reasoning; conductor tier |
| Subtle bug hunt | ⭐⭐⭐ | Tier 1 (Fable 5 / Opus 4.8) | Deep lateral reasoning required |
| Adversarial review | ⭐⭐⭐ | Tier 1 (Fable 5 / Opus 4.8) | Strict verification against subtle issues |
| Orchestration & planning | ⭐⭐⭐ | Tier 1 (Fable 5 / Opus 4.8) | Decomposes task DAGs with stop criteria |
Instead of consulting the decision tree manually, invoke the skill with a task description. The script will analyze complexity, check your current settings, recommend the right model, and optionally suggest a config update:
/select-model --task "I need to refactor a critical payment module with security implications"
The script outputs a recommendation and optionally suggests updating ~/.claude/settings.json
to use the recommended model for future sessions.
/select-model --task "<task description>"
and the script provides a personalized recommendation and config suggestion./assess-model-fit recommends escalation,
it auto-invokes select-model with your task details.Q: I'm using Haiku 4.5 but it keeps failing. What now? A: Escalate to Sonnet (Tier 2) or Fable/Opus (Tier 1). Use this skill to confirm the better tier for your task.
Q: Opus is expensive. Can I use Sonnet or Fable 5 instead? A: Yes. If your task doesn't need deep architectural design, use Sonnet for execution. For orchestration or review, Fable 5 or Opus provides the needed reasoning depth.
Q: Should I always use the highest model? A: No—higher models are costlier. Match the model to task complexity. Use Haiku 4.5 for simple work, Sonnet for execution, and Fable 5 or Opus for orchestration and adversarial review.
Q: Can I pick a model manually without using this skill? A: Yes. This skill is advisory. You can always override and choose your own model.