weave-os/router C

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

Ver en GitHub ↗

Puesto#849
Puntuación de futuro66.7/100
Estrellas5.6k
Forks165
estrellas / año10.7k
LenguajeGo
LicenciaApache-2.0
Tamaño33.4 MB
Creado2026-04-27
Última actualización2026-11-04

weave-os/router es un proyecto de skills de Claude / MCP escrito en Go, publicado por primera vez el 2026-04-27. Tiene 5,606 estrellas y 165 forks, y gana unas 10,713 estrellas nuevas al año. Su código se actualizó hoy. Se publica bajo la licencia Apache-2.0: puedes usarlo, modificarlo y venderlo, siempre que conserves el aviso de copyright.

OpenShelf le da una puntuación de futuro de 66.7/100 (nivel C) porque muestra: crecimiento muy rápido, actualizaciones activas, una tendencia de IA en auge.

Obtenerlo

Clona una copia ligera (solo el último commit):

git clone --depth 1 https://github.com/weave-os/router.git

Skills y agentes de este repo

bump-npm-version

Bump and publish a new version of the installer npm package (@weave-os/router, plus the legacy @workweave/router mirror). Use when asked to "bump the npm version", "publish a new npm version", or "deploy a new installer" after changes under install/ have merged to main.

skillweave-os/router

debug-claude-session

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.

skillweave-os/router

debug-codex-session

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

skillweave-os/router

disable-routing

Switch Codex back to its normal provider for future sessions.

skillweave-os/router

fm

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

skillweave-os/router

force-model

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

skillweave-os/router

force-parent

Pin the current parent thread to a model through the Weave Router while subagents route automatically.

skillweave-os/router

install-lsps

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.

skillweave-os/router

lsp-guide

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.

skillweave-os/router

pr-merge-ready

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.

skillweave-os/router

rf

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

skillweave-os/router

router-feedback

Submit feedback about a Weave Router decision or model performance.

skillweave-os/router

router-models

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

skillweave-os/router

router-off

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

skillweave-os/router

router-on

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

skillweave-os/router

router-session

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

skillweave-os/router

router-status

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

skillweave-os/router

test-claude-locally

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

skillweave-os/router

test-codex-locally

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

skillweave-os/router

ufm

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

skillweave-os/router

unforce-model

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

skillweave-os/router

models

Alias for /router-models — list the models the Weave Router may route to, and turn them on or off.

commandweave-os/router

router-models

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

commandweave-os/router

router-off

Route Claude Code directly to Anthropic again (turn the Weave Router off).

commandweave-os/router

router-on

Route Claude Code through the Weave Router again (turn it back on).

commandweave-os/router

router-session

Print the session id that correlates this session in router telemetry and logs.

commandweave-os/router

router-status

Show whether Claude Code is routing through the Weave Router or directly to Anthropic.

commandweave-os/router

Repos relacionados