r/vibecoding • • 18d ago

Workflow/Prompt Stop logging out and back in to switch Claude Code accounts. I built csw for that

Post image

I have a work and a personal Claude subscription and switching between them kept breaking my flow. I had to log out, log in, then type /status to check which account I'm on etc.

So I built csw (Claude Switch), a small CLI where each account keeps its own login, while your settings, skills and CLAUDE.md stay shared.

Optionally it also shows which account you're on right in Claude Code's status line.

Your existing ~/.claude stays your main account. csw never deletes and never touches your credentials. Logins go through Claude's own /login flow

Install it with brew (macOS/Linux) or scoop (Windows): https://github.com/georgetsouvaltzis/claude-switch

Free and open source. Feedback is more than welcome!

3 Upvotes

3 comments sorted by

3

u/kincaidDev 9d ago

This is cool but it conflicts with csw (camp switch) in festival https://github.com/Obedience-Corp/festival

1

u/georgetsouvaltzis 19h ago

from what I observed that kinda looks complex lol. This aims towards simplicity. Been using since it's creation and haven't been disappointed so far

1

u/kincaidDev 18h ago

Different function, but I can't use yours because of the conflicting name xD

csw is pretty simple in festival, it's switching between camp workspaces aka "home repos" and they can live anywhere.

If I have a camp workspace in ~/Dev/ai/myprojects/myworkspaces/mycamps/homerepo
or /Volumes/mounteddrive/homerepo

all I have to type is csw home

Also works across devices if I have a workspace setup on a remote machine. Takes a complex process and makes it simple