model-selection
Select models and effort for implementation, review, recommendations, or delegation using capability, cached costs, and unresolved reasoning.
- License 许可
- MIT
- 所属仓库
- BetoFrega/skills
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- model-selection
- description
- Select models and effort for implementation, review, recommendations, or delegation using capability, cached costs, and unresolved reasoning.
02 资源文件 5
- 参考文档references/delegation.md1.6 KB
- 参考文档references/ensemble.md3.9 KB
- 参考文档references/pricing-cache.md3.3 KB
- 脚本scripts/pricing_cache.py11.7 KB
- 脚本tests/test_pricing_cache.py11.2 KB
03 SKILL.md 正文
Model Selection
Choose the cheapest configuration that does the work reliably and meets its latency, tooling, and context needs, unless the user or the role states a preference. Look up model IDs, capabilities, and supported efforts live.
Assess every assignment on its own: deciders follow the implementation criteria, and judges or verifiers follow the review criteria. Coordinating with other agents, or expecting agreement among them, neither raises nor lowers the choice.
Read ensemble when explicitly comparing ensemble cost and reliability, or when adopting an ensemble backed by relevant confirmation data.
Classify the work
- Mechanical: the edit and its precedent are known, with no design choice.
- Contained: the behavior, seam, precedent, and acceptance determine the solution.
- Judgment-heavy: investigation or competing solutions remain.
- Frontier: unresolved architecture or product choices risk silent, expensive downstream effects.
Touching authorization, persistence, caching, or public behavior, or a high count of files, layers, or tests, does not by itself make work judgment-heavy or call for high effort.
Set the capability floor
Implementation: a sufficient model for mechanical edits, a balanced one for contained work, a strong workhorse for judgment-heavy work, and the highest for consequential decisions whose errors would be silent, expensive, or spread.
Review: a balanced model; a strong workhorse for subtle invariants; the highest for frontier decisions.
Current Claude anchors: Fable 5.1 is the highest, frontier capability, and Opus 5.5 is a strong workhorse at lower rates. Capability does not decide effort or cost.
Choose effort
Choose effort separately: the lowest for obvious edits with precedent, middle for settled contained work, high for investigation, competing approaches, or subtle judgment, and the top level only for broad frontier decisions.
Compare expected cost
Use ~/.agents/model-pricing.json as the only source for routine pricing, and reload
it after an explicit refresh or when the snapshot changes. An old snapshot is still
valid; its age is provenance. Match billing surface, speed, and units. API rates say
nothing about subscription costs or what can be dispatched.
Estimate input, cache, billable output and reasoning, and retries. At equal or lower cost, prefer higher capability. Disclose missing or incompatible rates and incomplete evidence, and pick a suitable default. Name the model, effort, and cost basis.
Read pricing cache for explicit setup, repair, or refresh.
Recommend advisory
For stalls, repeated errors, complex algorithms, or unresolved cross-layer interactions, use advisory, which owns consultation triggers and model preference.
Justify escalation
Effort above middle needs an open question and a concrete consequence of getting it wrong. A more expensive model needs both too, unless an explicit model preference applies. Otherwise use middle effort or lower.
Before dispatch, apply delegation.
04 同仓库更多 Skills
writing-for-humans
Load before writing any reader-facing text, including messages, and follow its rules as you write. Also use to rewrite or audit existing prose for plain language, clarity, readability, or actionability.
writing-for-agents
Write agent-facing documents. Use when creating or editing skills, AGENTS.md, or CLAUDE.md.
write-adr
Write, revise, or supersede architecture decision records (ADRs) documenting an architectural choice and its rationale.
wizard
Wizard scripts for human-only provisioning, credential/CI setup, unfamiliar dashboards, migrations, or cutovers; use only for steps the agent cannot perform.
verify
Check whether the current task's claimed outcome is confirmed.
verb-tense
Choose verb tense and mood by when each event happens and how certain it is. Use when writing or reviewing any text, and when a reader asks for a tense review.