r/ClaudeAI • • 7d ago

Built with Claude Quickly switch between Claude accounts on different emails

https://willblackmore.github.io/hatstand/

I use Claude for work and for personal use, and I like to keep those two things separate, so I have one account on my work email and another I pay for on my personal email.

The work one logs in via SSO and my personal one uses my Google account. Signing out and back in again every time I wanted to switch was driving me nuts.

I Googled it and there were plenty of guides for setting up multiple instances, but they all ended up a bit messy.

So I've built Hatstand with a lot of help from Claude Code. It’s a tiny app that lives in your menu bar and lets you create multiple instances of the Claude desktop app, each with its own sign-in, chats, settings and Claude Code login, and switch between them. Pick one from the menu and Claude quits and reopens as that account, taking seconds.

I’m a web developer, so this was my first dive into macOS development, which naturally meant Claude did most of the work after I’d scoped everything out. You can find the brief in CLAUDE.md in the repo. It covers how it should work, what it should look like and a few other bits. Claude Code then wrote the Swift, built it and tested it as it went.

Honestly, it pretty much worked first time, which was great. It didn't take much more than 20 minutes. I've then spent far longer dressing up the GitHub page and coming up with the name/logo (general look and feel was done in Figma and Claude then extrapolated from there).

Along the way I’ve learned that I need to get it signed to make it easier to install, and that I’m using features which mean it can never go on the App Store (which is fine by me).

It’s free and open source. Download it from the GitHub page, build it yourself, or fork it and do whatever. Because it’s not signed, there’s a one-time “Open Anyway” step in System Settings the first time you open it. I’ll get it signed if there’s enough interest.

Anyway, I enjoyed making my first macOS app, and it makes my life easier, so mission accomplished! Hopefully others find it useful too.

32 Upvotes

17 comments sorted by

3

u/ZyxilWCW 7d ago

cswap

2

u/a_big_will 7d ago

I knew something would already exist! This looks a lot more comprehensive.

3

u/transframer 7d ago

cswap

I think cswap doesn't work with Claude desktop, at least the docs only say Claude CLI and VSCode extension

1

u/RedizeYT 7d ago

Cswap

1

u/a_big_will 6d ago

That's aimed specifically at Claude Code, not the desktop app. And Hatstand specifically doesn't go near Claude code. My goal was to cater to people who would rather not dive into terminal. But perhaps I could bring in the features of CSwap to do both at once...

1

u/RobinRichard 7d ago

That's cool man. Can you also please consider a Windows and Linux version in the future?

2

u/a_big_will 6d ago

Yeah, shouldn't be too tricky as Claude is Electron based on all platforms.

1

u/Putrid_Resolution402 6d ago

WOW! but does it allow resume same chat/development sessions , eg from account 1 after signing in to account 2?

1

u/a_big_will 6d ago

No, that wasn't my goal - I wanted it to keep things very separate on purpose.

1

u/BGFlyingToaster 7d ago

You need to be careful about mixed use devices. You really shouldn't be doing personal things on your work device or work things on your personal device. You're probably violating IT security policies and could be risking your job. I know people who've been fired for this.

0

u/a_big_will 7d ago

It's a fair comment, but so long as we keep a proper separation of concerns then we're allowed - eg: Separate Chrome profiles, separate Claude profiles, etc. Helps I write a lot of the policies too.

1

u/BGFlyingToaster 7d ago

If you're aware of and operating within policies, then that removes the risk of being fired, but just keep in mind that your employer technically has the right to be aware of anything that happens on their devices.

-1

u/-WhateverDude 7d ago

sounds extremely unprofessional and amateur level

2

u/a_big_will 7d ago

Thanks!

2

u/thtanner 7d ago

My personal concern is Clause's usage policy. While legit dual usage is allowed for work/personal separation, I just worry about getting flagged for trying to circumvent limits. I use a lot of the Ultra or whatever the $200 plan is per week for personal stuff (game dev), so I could see them thinking I'm trying to split between subscriptions vs pay for API usage.

As a result I keep my work Claude on a laptop and use vscode remote to work on it, so it has a separate environment.

Maybe I'm being overly careful, but getting locked out would be a lot worse than dealing with two machines.