model-relay

by CabLate · ★ 113 · updated 28 days ago

PanesBandsStatus lineCommandsTools & agentswarnings

0

Per-window model switcher, subagent router, and automatic 429 failover for Claude Code — switch any window from the /provider panel, route subagents to any provider, and keep working when quota runs out.

install model-relay

Install

/plugin marketplace add cablate/model-relay
/plugin install model-relay@model-relay

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startagent.spawnturn.completeui.rendercommand.run
API calls
$.agent.register$.clock.every$.command.register$.env.get$.env.set$.fs.read$.fs.write$.process.run$.prompt.submit$.session.id$.settings.read$.state.get$.state.set$.ui.close$.ui.open$.ui.panes$.ui.resolve$.ui.status$.ui.toast
Draws
AbovePromptPane
Can see
subagent spawns
Reach
level 2 of 3 runs processeswrites filessets env varsdrives Claudereads filesreads env varsreads settingsreads mod statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/cablate/model-relay
Path in repo
repository root
Source commit
96fa186 the exact code the scan read
Author
CabLate @cablate
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.