ufm — Claude Code skill: what it does, how to install
Skill for Claude Code and Codex that clears the active model pin in Weave Router. Triggers on $ufm invocations in the chat.
Apache-2.0 ★ 5,622 updated 2026-11-17
npx skills add weave-os/router --skill ufm -a claude-codeWhat ufm does
The skill serves as a shortcut for the unforce-model command. When prompted with $ufm, the agent executes scripts/emit.sh using its absolute directory path.
The script emits a /unforce-model line prefixed with a space. Weave Router parses that execution output, clears the active model pin, and prints its own confirmation. The agent must not repeat the script output or send a user message, ending the turn immediately. Weave Router is required.
What it helps with
- clear the pinned model in Weave Router
- restore automatic model routing
- invoke
/unforce-modelvia the$ufmalias
Example prompts for the agent
- $ufm
- Clear the model pin with $ufm
How to install ufm
1Skills CLI (Vercel)
npx skills add weave-os/router --skill ufm -a claude-code2Manually: put the files in place
~/.claude/skills/ufm/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/ufm/
1Skills CLI (Vercel)
npx skills add weave-os/router --skill ufm -a codex2Manually: put the files in place
.agents/skills/ufm/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add weave-os/router --skill ufm -a cursor2Manually: put the files in place
.cursor/skills/ufm/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install weave-os/router install/codex-skills/ufm2Manually: put the files in place
.github/skills/ufm/SKILL.md1Skills CLI (Vercel)
npx skills add weave-os/router --skill ufm -a gemini-cli2Platform CLI
gemini skills install https://github.com/weave-os/router --path install/codex-skills/ufmManually: put the files in place
.devin/skills/ufm/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about ufm
How to install ufm in Claude Code?
Run npx skills add weave-os/router --skill ufm -a claude-code in your terminal.
What does ufm do?
It executes scripts/emit.sh, printing /unforce-model so Weave Router can unpin the active model.
What is required for ufm to work?
It requires Weave Router to parse the script execution output and manage model routing.
Source text
SKILL.md · Apache-2.0
--- name: ufm description: "Alias for unforce-model — clear the active Weave Router model pin." --- <!-- weave-router managed ufm skill --> When the user invokes `$ufm`, run this skill's `scripts/emit.sh` using the absolute path shown in this skill's `<path>` (its directory + `/scripts/emit.sh`). Do not send a user message and do not type a Codex slash command. The script prints a leading-space `/unforce-model` line. The Weave Router reads that exec output, clears the pin, and continues this turn — so run the script once and do not repeat its output as your answer. The router renders its own acknowledgment, so do not restate or reason about it; end the turn.
© weave-os · Apache-2.0 · weave-os/router