ワンクリックで
model-switch
Switch the Manager Agent's own LLM model. Use when the human admin requests changing the Manager's model.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Switch the Manager Agent's own LLM model. Use when the human admin requests changing the Manager's model.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | model-switch |
| description | Switch the Manager Agent's own LLM model. Use when the human admin requests changing the Manager's model. |
Switch the Manager's own LLM model. The script tests connectivity first, then patches openclaw.json.
bash /opt/hiclaw/agent/skills/model-switch/scripts/update-manager-model.sh <MODEL_ID> [--context-window <SIZE>] [--no-reasoning]
Examples:
bash /opt/hiclaw/agent/skills/model-switch/scripts/update-manager-model.sh claude-sonnet-4-6
bash /opt/hiclaw/agent/skills/model-switch/scripts/update-manager-model.sh my-custom-model --context-window 300000
bash /opt/hiclaw/agent/skills/model-switch/scripts/update-manager-model.sh deepseek-chat --no-reasoning
agentteams-gateway/ prefix from the model namePOST /v1/chat/completions on the AI Gateway — exits with error if unreachablemodels array: switches agents.defaults.model.primarymodels array and switches primaryRESTART_REQUIREDThe script always outputs RESTART_REQUIRED. Run openclaw gateway restart to apply the change, then tell the human admin the switch is complete.
By default, reasoning (extended thinking) is enabled. To disable it, pass --no-reasoning.
If the gateway test fails (non-200), the script outputs ERROR: MODEL_NOT_REACHABLE and exits. No changes are made to openclaw.json.
When you see this error, tell the human admin clearly:
kimi, deepseek, minimax).kimi → match kimi-*), so that requests for models with that prefix are routed to the new provider, while unmatched models continue to go through the default route.After the admin confirms the provider and route are configured, you can retry the model-switch script.
This skill switches the primary model (persisted in openclaw.json). After running the script, you must run openclaw gateway restart for the change to take effect. The human admin can also use the /model slash command to switch the current session's model instantly without restart, but that is non-persistent and only supports pre-configured models.
When the human admin requests switching to a model you don't recognize, you MUST:
bash /opt/hiclaw/agent/skills/model-switch/scripts/update-manager-model.sh <MODEL_ID> --context-window <SIZE> [--no-reasoning]
--context-window.--no-reasoning.| Model | contextWindow | maxTokens |
|---|---|---|
| gpt-5.4 | 1,050,000 | 128,000 |
| gpt-5.3-codex / gpt-5-mini / gpt-5-nano | 400,000 | 128,000 |
| claude-opus-4-6 | 1,000,000 | 128,000 |
| claude-sonnet-4-6 | 1,000,000 | 64,000 |
| claude-haiku-4-5 | 200,000 | 64,000 |
| qwen3.5-plus | 200,000 | 64,000 |
| deepseek-chat / deepseek-reasoner / kimi-k2.5 | 256,000 | 128,000 |
| glm-5 / MiniMax-M2.7 / MiniMax-M2.7-highspeed / MiniMax-M2.5 | 200,000 | 128,000 |
Analyze current OpenClaw setup and generate a migration package (ZIP) for importing into HiClaw as a managed Worker
Use before direct filesync calls, reading non-task shared files, pushing mid-task progress, or troubleshooting missing shared files. Do not use for normal task acceptance or submission; taskflow ack_task and submit_task handle lifecycle sync internally.
Discover and install agent skills from the open ecosystem. Use when you encounter an unfamiliar domain, framework, or workflow that you lack specialized knowledge about, or when your coordinator suggests searching for skills before starting a task.
Use only when you need to look up team topology, worker phase, runtime state, or identity that is NOT available from the current message context. Do not use for standard task flows — the coordinator is the message sender, and the task room is in meta.json.room_id.
Sync files with centralized storage. Use when your coordinator or another Worker notifies you of file updates (config changes, task files, shared data, collaboration artifacts).
Discover and install agent skills from the open ecosystem. Use when you encounter an unfamiliar domain, framework, or workflow that you lack specialized knowledge about, or when your coordinator suggests searching for skills before starting a task.