Agent skill

Weave Router Model Pin

by weave-os in weave-os/router

“Pin this Codex session to a specific model through the Weave Router.”

— description from SKILL.md by weave-os
Apache-2.0Auto-check passedAgent Workflows

Install Weave Router Model Pin

skills CLI
$ npx skills add weave-os/router --skill force-model -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install weave-os/router force-model --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/weave-os/router.git skills-src && mkdir -p .claude/skills && cp -r skills-src/install/codex-skills/force-model .claude/skills/force-model && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
force-model
GitHub stars
5.6k
Token cost
~181 tokens
SKILL.md length
90 words
Files
2 (incl. scripts)
Skills in repo
19
Repo updated
First seen
Licence
Apache-2.0

At a glance

  • Runs Shell scripts from its folder

About this skill

Weave Router Model Pin is a skill in weave-os/router (5.6k stars). Its SKILL.md is about 181 tokens, with 1 other file in the folder (scripts). Licence: Apache-2.0.

What it can do on your machine

Read from SKILL.md and the folder at commit 21c83ab. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Weave Router Model Pin loads about 181 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 90 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~181

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from weave-os/router at commit 21c83ab, republished under its Apache-2.0 licence (© weave-os). 90 words, ~181 tokens.

Download SKILL.mdSave it as .claude/skills/force-model/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
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.

© weave-os, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in install/codex-skills/force-model of weave-os/router.

  • SKILL.md
  • scripts/emit.sh

Open the folder on GitHubat commit 21c83ab

Compare with similar skills

Weave Router Model Pin next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Weave Router Model Pin compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Weave Router Model Pin this skillweave-os/router5.6k—~181Automated safety check: PassApache-2.0
Fable Foremanolsenbrands/fable-foreman142—~5.2kAutomated safety check: PassMIT
Claudish UsageMadAppGang/claudish1k—~9kAutomated safety check: PassNone
Frontier Model Handoffkerpopule/hermes-jev-skills1k—~1.5kAutomated safety check: WarnMIT
Agent ToolsVectorSpaceLab/AREX-Skill328—~1.2kAutomated safety check: PassCustom licence
Efficient DispatchNecmttn/ax116—~1.9kAutomated safety check: PassAGPL-3.0

Similar skills

  • Fable Foreman

    olsenbrands/fable-foreman

    Turns the lead model into a foreman that plans, routes and verifies while cheaper Claude, Codex or Grok workers do the typing, using a per-machine routing card.

    142 GitHub stars~5.2k tokensUpdated 13 days ago
    Agent WorkflowsAuto-check passed
  • Claudish Usage

    MadAppGang/claudish

    CRITICAL - Guide for using Claudish CLI ONLY through sub-agents to run Claude Code with any AI model (OpenRouter, Gemini, OpenAI, local models).

    1k GitHub stars~9k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Frontier Model Handoff

    kerpopule/hermes-jev-skills

    Chooses which paid frontier model seat should take a task already judged hard, hands it off with proper context, and keeps a watch on the delegated run.

    1k GitHub stars~1.5k tokensUpdated yesterday
    Agent WorkflowsAuto-check: warnings
  • Agent Tools

    VectorSpaceLab/AREX-Skill

    A skill your agent uses when configuring LiteLLM for MCP tools, A2A agents, Claude Code/Cursor agent gateway traffic, MCP auth/OAuth, tool permissions, semantic filtering, or agent-specific proxy…

    328 GitHub stars~1.2k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Model-routing orchestration for any expensive frontier model (Fable, Opus, GPT-5.x) - the main model keeps judgment and Q&A review, mechanical subagent dispatches carry an explicit cheaper model…

    116 GitHub stars~1.9k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Flow Next Setup

    gmickel/flow-next

    Optional local install of flowctl CLI and CLAUDE.md/AGENTS.md instructions, plus a commented model-routing example proposed into the project instruction file.

    706 GitHub stars~255 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from weave-os/router

All 19 skills in this repo
  • Stands up the Weave model router in Docker Compose and drives it with claude -p against a real or mocked upstream to reproduce and verify routing and streaming behavior.

    5.6k GitHub stars~3.1k tokensUpdated today
    Auto-check: notes
  • Local test harness for the Weave router: a docker compose stack plus codex exec runs that confirm how Codex requests are routed, translated and marked.

    5.6k GitHub stars~4.7k tokensUpdated today
    Auto-check: notes
  • PR Merge Ready

    weave-os/router

    Works through every review comment on a pull request in one pass, fixes what it can, escalates human decisions and keeps CI churn to a single push.

    5.6k GitHub stars~10k tokensUpdated today
    Auto-check passed
  • Correlates a Claude Code session's local transcript with a model router's production cloud logs to explain why a specific response rendered the way it did.

    5.6k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Installs a language server such as gopls, typescript-language-server, pyright or rust-analyzer and, with explicit confirmation, its underlying toolchain so the lsp tool can use it.

    5.6k GitHub stars~745 tokensUpdated today
    Auto-check: notes
  • Correlates a Codex CLI session's local transcript with a model router's production logs to explain why a reply rendered the way it did.

    5.6k GitHub stars~4.5k tokensUpdated today
    Auto-check: warnings

Questions about Weave Router Model Pin

How do I install Weave Router Model Pin in Claude Code?

Run `npx skills add weave-os/router --skill force-model -a claude-code`. Or copy the skill folder (install/codex-skills/force-model in weave-os/router) into .claude/skills/force-model in your project. Claude Code loads it when a task matches its description.

How do I install Weave Router Model Pin in Codex?

Run `npx skills add weave-os/router --skill force-model -a codex`. Or copy the skill folder (install/codex-skills/force-model in weave-os/router) into .agents/skills/force-model in your project. Codex loads it when a task matches its description.

Can I use Weave Router Model Pin in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add weave-os/router --skill force-model -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/force-model, .gemini/skills/force-model, .github/skills/force-model and .opencode/skills/force-model in your project.

What does Weave Router Model Pin need to run?

Going by SKILL.md and its folder, Weave Router Model Pin needs a shell for the scripts in its folder.

Does Weave Router Model Pin access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Weave Router Model Pin safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Weave Router Model Pin use?

Weave Router Model Pin is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Weave Router Model Pin use?

About 181 tokens (SKILL.md is roughly 724 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Weave Router Model Pin?

Skills that share tags, products or a category with Weave Router Model Pin: Fable Foreman (olsenbrands/fable-foreman, 142 stars), Claudish Usage (MadAppGang/claudish, 1k stars), Frontier Model Handoff (kerpopule/hermes-jev-skills, 1k stars) and Agent Tools (VectorSpaceLab/AREX-Skill, 328 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Weave Router Model Pin?

weave-os (a GitHub organization) maintains it in weave-os/router, which has 5,575 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 7, 2026.

Source: weave-os/router on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.