agent-model-switcher
БесплатноЗапускает вложенные скриптыНе проверен批量查看和切换子 agent 的模型配置,用于统一调整多 agent 的 provider/model 设置。
от aAAaqwq★ 123 звезды на GitHubОб этом скилле
Agent Model Switcher
批量切换所有子 agent 的模型配置。
用途
- 批量更换所有子 agent 的 model
- 同步所有 agent 的 models.json 配置
- 查看所有 agent 当前的 model 配置
使用方式
1. 查看所有 agent 的 model 配置
python3 ~/clawd/skills/agent-model-switcher/switch_model.py list
2. 更换所有子 agent 的 model(不包括 main)
python3 ~/clawd/skills/agent-model-switcher/switch_model.py set <provider>/glm-5
3. 更换指定 agent 的 model
python3 ~/clawd/skills/agent-model-switcher/switch_model.py set <provider>/glm-5 --agents code,ops,quant
4. 同步所有 agent 的 models.json(从 main 复制)
python3 ~/clawd/skills/agent-model-switcher/switch_model.py sync-models
5. 同步指定 agent 的 models.json
python3 ~/clawd/skills/agent-model-switcher/switch_model.py sync-models --agents batch,law,xiaotu
参数说明
| 参数 | 说明 |
|---|---|
list |
列出所有 agent 的 model 配置 |
set <model> |
设置 agent 的 model |
sync-models |
从 main 复制 models.json 到其他 agent |
--agents <names> |
指定要操作的 agent(逗号分隔) |
--include-main |
包括 main agent(默认不包括) |
--dry-run |
只显示将要执行的操作,不实际执行 |
常用模型
| 别名 | 完整名称 |
|---|---|
| glm5 | |
| glm47 | |
| opus46 | |
| sonnet46 | |
| kimi |
示例
# 查看当前配置
python3 ~/clawd/skills/agent-model-switcher/switch_model.py list
# 全部子 agent 切换到 glm-5
python3 ~/clawd/skills/agent-model-switcher/switch_model.py set glm5
# 只切换 code 和 quant 到 opus-4-6
python3 ~/clawd/skills/agent-model-switcher/switch_model.py set opus46 --agents code,quant
# 同步 models.json 配置
python3 ~/clawd/skills/agent-model-switcher/switch_model.py sync-models
注意事项
- 修改配置后,agent 需要重新启动或等待新 session 才能生效
- 同步 models.json 会覆盖目标 agent 的 models.json,确保 main 的配置是最新的
- 建议先用
--dry-run查看将要执行的操作
Установить agent-model-switcher в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл agent-model-switcher?
批量查看和切换子 agent 的模型配置,用于统一调整多 agent 的 provider/model 设置。
Как установить скилл agent-model-switcher?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-model-switcher запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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