provider-switch

by moxisuki · ★ 0 · updated 15 days ago

PanesStatus lineReskinsCommandsvalidates

0

Switch the API provider of a running Claude Code session with no restart. Depends on cc-switch: reads the provider list already configured there, applies the chosen env live, and records the choice per session.

install provider-switch

Install

/plugin marketplace add moxisuki/provider-switch
/plugin install provider-switch@provider-switch

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.startcommand.runui.render
API calls
$.command.register$.command.run$.config.set$.env.get$.env.set$.process.run$.session.id$.ui.close$.ui.invalidate$.ui.log$.ui.open$.ui.resolve$.ui.status$.ui.toast
Draws
PanePromptHint
Reach
level 2 of 3 runs processessets env varschanges configdrives Claudereads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/moxisuki/provider-switch
Path in repo
repository root
Source commit
4cc7f78 the exact code the scan read
Author
@moxisuki
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.