account-switcher

by Casey Russell · ★ 11 · updated 4 days ago

BandsStatus lineCommandsPromptwarnings

0

Bill a Claude Code session to a different Claude subscription per project (a .claude/account marker), on demand (/account ), or with one click in the band above the prompt, through a local token-swapping relay. The desktop app keeps its own login.

install account-switcher

Install

git clone https://github.com/SmelterLabs/claude-account-switcher
claude --plugin-dir ./claude-account-switcher/plugin

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.startturn.startprompt.submitui.rendercommand.run
API calls
$.command.register$.env.get$.env.set$.fs.exists$.fs.read$.session.cwd$.session.root$.session.surfaces$.session.turns$.state.get$.state.set$.store.get$.store.set$.ui.ask$.ui.resolve$.ui.status$.ui.toast
Draws
AbovePrompt
Can see
every prompt
Reach
level 2 of 3 sets env varsreads filesreads env varsreads mod statepersists 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/SmelterLabs/claude-account-switcher
Path in repo
plugin
Source commit
e0068a9 the exact code the scan read
Author
Casey Russell @SmelterLabs
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.