Index of every page on this site: llms.txt
Avatar for Weave

Weave

ML to quantify engineering

19 skills 5.6k United States of America

weave-os/router

Model router for agentic systems. Routes every prompt to the right model in <50ms. Cut costs 40-70% with just an endpoint change.

19 skills 5.6k
npx skilld add weave-os/router --all
  • Investigate a specific Claude Code session by session ID — correlate the local transcript (`~/.claude/projects/...jsonl`) with the router's production logs to understand what the client rendered vs. what the upstream served. Use when given a session ID and asked "why did X render?" for a Claude Code conversation routed through the router.

  • Investigate a specific Codex CLI session by session ID — correlate the local rollout transcript (`~/.codex/sessions/YYYY/MM/DD/rollout-*-<SESSION_ID>.jsonl`) with the router's production logs to understand what Codex rendered vs. what the upstream served on the /v1/responses path. Use when given a session ID and asked "why did X render?" (missing thinking, missing routing marker, wrong model, tool-call weirdness) for a Codex conversation routed through the router.

  • Switch Codex back to its normal provider for future sessions.

  • Alias for force-model — pin this Codex session to a specific model through the Weave Router.

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

  • Install language servers (gopls, typescript-language-server, pyright, rust-analyzer) and their prerequisite toolchains (Go, Node/npm, rustup) so the lsp tool works. Use when the user asks to enable or install LSP / language-server support, when lsp_enable reports a missing toolchain, or when the lsp tool reports no language server is installed.

  • Recipes for the lsp tool — resolving where a symbol is defined, every place it is used, type signatures and docs, file outlines, and compiler/type errors through a real language server (Go, TypeScript/JavaScript, Python, Rust). Use when navigating or explaining code by symbol, finding callers or usages, checking what broke after an edit, or deciding between lsp and text search.

  • Addresses all review comments on a PR automatically. Escalates genuine human decisions. Use when asked to /pr-merge-ready, create and babysit a PR, batch-fix PR comments, or address review feedback quickly.

  • Alias for router-feedback — submit feedback about a Weave Router decision or model performance.

  • Submit feedback about a Weave Router decision or model performance.

  • List the models the Weave Router may route to, and turn them on or off.

  • Route Codex to its default provider again (turn the Weave Router off).

  • Route Codex through the Weave Router again (turn it back on).

  • Print the session id that correlates this Codex session in Weave Router telemetry and logs.

  • Show whether Codex is routing through the Weave Router or using its default provider.

  • Run the Weave router locally in docker compose and drive it with `claude -p` to reproduce and verify routing/translation behavior for a specific upstream model (e.g. GLM-5.1, DeepSeek, Qwen). Use when verifying a router fix end-to-end, reproducing a prod routing bug, confirming a model's streaming behavior (nudges, tool-call suppression, loop/no-progress breaks), or testing a `/force-model` route — without touching the user's global Claude Code config.

  • Run the Weave router locally in docker compose and drive it with `codex exec` to reproduce and verify routing/translation/marker behavior for Codex's Responses API path. Use when verifying a router fix end-to-end for Codex, reproducing a prod Codex routing bug, confirming routing-marker / force-model / subscription-passthrough behavior, or testing a `/force-model` route — without touching the user's global Codex config.

  • Alias for unforce-model — clear the active Weave Router model pin.

  • Clear the active Weave Router model pin for this Codex session.

Skills published by Weave. Checked GitHub just now