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.
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.gitSkills 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.
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.
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
disable-routing
Switch Codex back to its normal provider for future sessions.
fm
Alias for force-model — pin this Codex session to a specific model through the Weave Router.
force-model
Pin this Codex session to a specific model through the Weave Router.
force-parent
Pin the current parent thread to a model through the Weave Router while subagents route automatically.
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.
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.
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.
rf
Alias for router-feedback — submit feedback about a Weave Router decision or model performance.
router-feedback
Submit feedback about a Weave Router decision or model performance.
router-models
List the models the Weave Router may route to, and turn them on or off.
router-off
Route Codex to its default provider again (turn the Weave Router off).
router-on
Route Codex through the Weave Router again (turn it back on).
router-session
Print the session id that correlates this Codex session in Weave Router telemetry and logs.
router-status
Show whether Codex is routing through the Weave Router or using its default provider.
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
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
ufm
Alias for unforce-model — clear the active Weave Router model pin.
unforce-model
Clear the active Weave Router model pin for this Codex session.
models
Alias for /router-models — list the models the Weave Router may route to, and turn them on or off.
router-models
List the models the Weave Router may route to, and turn them on or off.
router-off
Route Claude Code directly to Anthropic again (turn the Weave Router off).
router-on
Route Claude Code through the Weave Router again (turn it back on).
router-session
Print the session id that correlates this session in router telemetry and logs.
router-status
Show whether Claude Code is routing through the Weave Router or directly to Anthropic.
Repos relacionados
morluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
nextlevelbuilder/ui-ux-pro-max-skill
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
nexu-io/open-design
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.
farion1231/cc-switch
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io
addyosmani/agent-skills
Production-grade engineering skills for AI coding agents.
Panniantong/Agent-Reach
Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.