pi-model-config
БесплатноБез исполняемых скриптовНе проверенKnow how Pi model selection is configured and changed: default model, thinking level, one-off model switches, and the Ctrl+P / Ctrl+Space model cycle for this…
от ivanrvpereira★ 19 звёзд на GitHubОб этом скилле
Pi Model Config
Use this skill when the user asks how to change Pi models or wants edits to:
- the default model/provider/thinking level
- the active model for a session
- the model cycle list (Ctrl+P / Ctrl+Space)
Where model selection lives
All persistent model config is in one file, the source in the private companion repo (linked to ~/.pi/agent/settings.json by bin/sync):
~/.agents-private/pi/settings.json
Relevant fields:
defaultProvider— provider selected on new sessionsdefaultModel— model id selected on new sessionsdefaultThinkingLevel— default thinking levelenabledModels— the model cycle list, in cycle order, each entry with its own thinking level
Model cycle keys
pi/keybindings.json binds both ctrl+p and ctrl+space to app.model.cycleForward, so both keys cycle enabledModels. Adding a model to enabledModels is the whole change; there is no second list to keep aligned.
Refreshing model catalogs
pi update --models— immediately refresh configured providers’ model catalogs only; it does not update Pi or extensions./modelalso refreshes configured providers in the background.- Catalogs are cached in
~/.pi/agent/models-store.jsonfor offline use.
One-off/session model changes
Use Pi itself rather than editing files:
/model— switch model in the current interactive session/settings— adjust thinking level and related runtime settings- CLI:
pi --provider <provider> --model <model[:thinking]> --thinking <level> - CLI:
pi --models <provider/model:thinking,...>for one process's cycle list
Workflow for config edits
- Inspect current state
- Read
~/.agents-private/pi/settings.json
- Read
- Check prior intent from history (in
~/.agents-private)git -C ~/.agents-private log --oneline -- pi/settings.jsongit -C ~/.agents-private show <commit> -- pi/settings.jsonfor recent config commits
- Confirm valid model ids
pi --list-models
- Make the requested change
- Defaults: update
defaultProvider,defaultModel,defaultThinkingLevel - Cycle list: update
enabledModels
- Defaults: update
- Clean up stale entries
- Remove duplicates
- Remove deprecated models if requested
- Preserve unrelated config
- Verify
jq . ~/.agents-private/pi/settings.jsonparsesgit -C ~/.agents-private diff -- pi/settings.jsonshows only the intended lines (the file may carry other uncommitted changes; leave them alone)- Tell the user to run
/reloadin live sessions;bin/syncis only needed if the~/.pi/agent/settings.jsonsymlink is missing
Conventions
- Use exact model IDs from
pi --list-models. enabledModelsformat:provider/model:thinking.- Thinking levels:
off|low|medium|high|xhigh; CLI also documentsminimal. - Interpret “extra high” or “max” as
xhighunless the user says otherwise. - Keep ordering exactly as requested.
- Keep this skill project-local under
.pi/skills/pi-model-config/; do not move it to globalpi/skills/unless the user explicitly wants it system-wide.
Установить pi-model-config в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл pi-model-config?
Know how Pi model selection is configured and changed: default model, thinking level, one-off model switches, and the Ctrl+P / Ctrl+Space model cycle for this repo.
Как установить скилл pi-model-config?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pi-model-config запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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