force-model
Pin this Codex session to a specific model through the Weave Router.
Install
Copy this folder into your Claude Code project (needs Node.js):
npx degit weave-os/router/install/codex-skills/force-model .claude/skills/force-modelOr install it for every project:
npx degit weave-os/router/install/codex-skills/force-model ~/.claude/skills/force-modelFile content
Made by its original authors and shared under Apache-2.0. We show it unchanged, with credit and a link to the source. Source ↗
--- name: force-model description: "Pin this Codex session to a specific model through the Weave Router." --- <!-- weave-router managed force-model skill --> When the user invokes `$force-model <model-id>` (or `$fm`), run this skill's `scripts/emit.sh` using the absolute path shown in this skill's `<path>` (its directory + `/scripts/emit.sh`). Pass the model id as arguments, quoted as a single argument list. Do not send a user message and do not type a Codex slash command. The script prints a leading-space `/force-model` line. The Weave Router reads that exec output, pins the session, and continues this turn — so run the script once and do not repeat its output as your answer. Then report the router's response.