| name | relay-router |
| description | Preview an isolated, privacy-preserving route for a Codex coding task. Use when a user wants a recommendation between economy, balanced, and quality tiers before sending a first prompt. |
Relay Router
This plugin is advisory. It must not silently change the model, alter the user's
prompt, send the prompt outside the configured target CLI, or write outside the
Relay laboratory project.
- Ask the user whether they want a dry-run recommendation or to start a new
first turn with the project-local Relay wrapper.
- For a dry run, use
bin/relay plan codex "<prompt>" in the Relay project.
- Explain the selected tier, confidence, and any warning. Preserve the original
prompt and provide a manual override.
- For execution, require the user's explicit acknowledgement through
bin/relay run codex --execute "<prompt>".
- Do not claim token savings until the evaluation suite has been expanded with
real, opt-in measurements.
The plugin's UserPromptSubmit hook only injects a short advisory context. It
cannot safely replace the prompt or switch the active Codex model.