router-feedback — Claude Code skill: what it does, how to install
A skill for Claude Code and Codex that submits feedback on Weave Router decisions or model performance. It triggers on $router-feedback or $rf.
Apache-2.0 ★ 5,622 updated 2026-11-17
npx skills add weave-os/router --skill router-feedback -a claude-codeWhat router-feedback does
Sends feedback directly to Weave Router by executing scripts/emit.sh using the absolute path of the skill directory. The feedback text is passed as a single quoted argument list.
The script prints a /router-feedback line with a leading space. Weave Router intercepts this execution output, logs the entry, and continues the current turn. The agent runs the script once, suppresses repeated output, and ends the turn without extra commentary.
What it helps with
- submit feedback on a Weave Router decision
- report degraded model performance
- log router behavior without posting separate user messages
Example prompts for the agent
- $rf selected model failed to follow instructions
- $router-feedback latency was too high on the last completion
How to install router-feedback
1Skills CLI (Vercel)
npx skills add weave-os/router --skill router-feedback -a claude-code2Manually: put the files in place
~/.claude/skills/router-feedback/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/router-feedback/
1Skills CLI (Vercel)
npx skills add weave-os/router --skill router-feedback -a codex2Manually: put the files in place
.agents/skills/router-feedback/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add weave-os/router --skill router-feedback -a cursor2Manually: put the files in place
.cursor/skills/router-feedback/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install weave-os/router install/codex-skills/router-feedback2Manually: put the files in place
.github/skills/router-feedback/SKILL.md1Skills CLI (Vercel)
npx skills add weave-os/router --skill router-feedback -a gemini-cli2Platform CLI
gemini skills install https://github.com/weave-os/router --path install/codex-skills/router-feedbackManually: put the files in place
.devin/skills/router-feedback/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 router-feedback
How to install router-feedback in Claude Code?
Run npx skills add weave-os/router --skill router-feedback -a claude-code or save the definition file to ~/.claude/skills/router-feedback/SKILL.md.
What does router-feedback do?
It triggers scripts/emit.sh to forward user feedback lines to Weave Router.
What is required for router-feedback to work?
An active Weave Router process configured to intercept the script output.
Source text
SKILL.md · Apache-2.0
--- name: router-feedback description: "Submit feedback about a Weave Router decision or model performance." --- <!-- weave-router managed router-feedback skill --> When the user invokes `$router-feedback <feedback>` (or `$rf`), run this skill's `scripts/emit.sh` using the absolute path shown in this skill's `<path>` (its directory + `/scripts/emit.sh`). Pass the feedback text 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 `/router-feedback` line. The Weave Router reads that exec output, records the feedback, 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