model-selection
БесплатноЗапускает вложенные скриптыНе проверенSelects models for authorized delegation and independent reviews using available models, task difficulty and recorded quota usage. Use before launching a…
от zoltanmaric★ 70 звёзд на GitHubОб этом скилле
Model selection
Honor explicit model choices and the current harness's delegation permissions. This skill chooses how to staff authorized work; it does not authorize extra agents or change the current conversation's model.
Discover available models and usage tools before claiming either is unavailable.
For Codex, call get_usage_limits. After each successful check, pass the response's
JSON payload (not its tool envelope) on stdin to python .agents/skills/model-selection/scripts/quota.py record,
using the selected local Python environment. Transfer JSON as data, not interpolated
shell code. The recorder uses only the standard library on macOS/Linux.
The recorder stores account/bucket identifiers, observation times, usage percentages
and reset windows in ~/.local/state/agent-quota/usage.csv, shared across repositories.
It omits other response fields and uses a file lock for concurrent writers. Never
commit live responses or the log. Use --log for isolated test data. If access is
denied, report the recording limit and use the live reading; do not relocate private
history into the repository or claim it was saved.
Choose the lightest suitable available model:
| Work | Preferred family, when available |
|---|---|
| Clear, bounded inspection or routine work | Terra |
| Ordinary implementation and investigation | Sol |
| Difficult reasoning or architecture that needs stronger reasoning | Astra |
Use equivalent models when the harness exposes different names. Prefer Astra for a first full independent review when the scope warrants it and quota allows it. When quota is tight, use a lighter model even for the first full review. For follow-up reviews of specific fixes, default to the lightest suitable model. Match reasoning effort to difficulty. Do not launch duplicate attempts by default.
Use all applicable quota windows: remaining capacity, time until reset and task scope.
For the main Codex weekly allowance, read weeklyProjection. It extrapolates
the observed rate nearest a one-hour interval and shows its start. Suggest the
first credit at estimated depletion, or before the listed expiry if that comes
first and the user is eligible. Expiry is an exclusive deadline. Give times in the user's timezone. Later entries
assume eligible manual redemptions and continued usage at that pace. With no
measured rate, report the expiry and leave the depletion time unknown.
Use the scheduled-refresh rate as a baseline. To estimate a steady pace through
nearby expiries, divide remaining points plus 100 per earlier credit by hours
to each expiry before the scheduled refresh and take the highest rate. Faster usage can simply bring
redemption forward. Suggest slowing down when the projected timing conflicts
with the user's availability or work that must continue uninterrupted. Recheck
the live balance, credits and refresh time after redemption or a change in pace.
The planner uses known 5-hour eligibility until that window refreshes.
For checkEligibility, recheck the covered allowances: any one below
80% remaining can qualify for manual redemption. The projection skips that
uncertain refill. Treat depletionWithoutFurtherResetAt as conditional on
those skips. At that time, a credit listed in reserveCreditExpiresAt could
bridge the gap; tell the user before suggesting a slowdown.
Check short observation spans and other applicable windows before relying on it.
See Codex reset eligibility and timing.
Respect live availability flags and retry delays even if a percentage suggests room.
If quota data is unavailable, keep concurrency modest and use task difficulty to choose. If recording fails, use live headroom without claiming a historical trend. Recheck during long tasks and before expanding concurrency or escalating models; do not poll just to fill the log. The recorder saves material changes and an hourly observation when checked, while each summary includes the live reading.
Apply the choice at launch
Whenever quota affects your staffing decision, give the user the next action in
the same update, including while waiting for work to start. If a manual reset
can cover the work, lead with when to use the earliest eligible credit. Recommend
redeeming now if the next review or unattended interval could outlast the live
balance. For beforeExpiry with a positive measured pace, expiry comes first.
Use remaining points divided by points per hour to estimate the hours available
even though the depletion timestamp is empty. When the review fits, start on the live
balance and give the planner's
next action: redeem around projected depletion or, if expiry comes first, before
the credit expires. Suggest checking eligibility only for an available credit.
Include the remaining balance, estimated depletion when known, and credit expiry
in the user's timezone.
Choose the model and concurrency using live capacity until redemption is confirmed. I
Установить model-selection в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл model-selection?
Selects models for authorized delegation and independent reviews using available models, task difficulty and recorded quota usage. Use before launching a sub-agent, selecting a reviewer or escalating a model.
Как установить скилл model-selection?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл model-selection запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic