account-switcher

by developer · ★ 0 · updated today

PanesBandsCommandsPromptvalidates

0

Mod: run each Claude Code session on its own Claude subscription account, and switch live from a sidebar (Ctrl+Alt+Shift+numpad -) or /account-switch

install account-switcher

Install

/plugin marketplace add sam-ruff/account-switcher-claude-code-mod
/plugin install account-switcher@account-switcher

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
ui.closesession.endsession.startprompt.submitclassic.StopFailureturn.completecommand.runui.focusui.scrollui.render
API calls
$.clock.every$.clock.now$.clock.sleep$.command.register$.env.get$.env.set$.fs.exists$.fs.list$.fs.read$.fs.stat$.http.fetch$.process.run$.prompt.fill$.prompt.submit$.session.id$.session.surfaces$.store.get$.store.set$.ui.ask$.ui.close$.ui.focus$.ui.invalidate$.ui.log$.ui.open$.ui.panes$.ui.resolve
Draws
AbovePromptPane
Can see
every promptclassic hooks
Reach
level 3 of 3 networkruns processessets env varsdrives Claudewrites the prompt boxreads filesreads env varspersists 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/sam-ruff/account-switcher-claude-code-mod
Path in repo
mods/account-switcher
Source commit
361c564 the exact code the scan read
Author
developer @sam-ruff
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.