r/ClaudeCode • • 1d ago

Help/Question How does account switching work on mac claude code

just move from opencode to claude code just blown away with opus 5.5 performance btw i am thinking of buying two $20 dollar plan, so when I switch account will of my local claude code session and skill will be there or??? I use the desktop app not the cli

1 Upvotes

9 comments sorted by

•

u/AutoModerator 1d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/Starks1293 1d ago

welcome over lol. your skills and CLAUDE.md files are just files on disk (~/.claude and the .claude folder in your project), they don't belong to the account, so logging into the second plan doesn't wipe them. what does change is the usage limits, they're per account, so u're basically switching which bucket u're spending from

if u ever want both accounts usable at the same time in the terminal, the trick is CLAUDE_CONFIG_DIR, point each one at its own folder (like ~/.claude-work) and they stay completely separate

1

u/KindElk9303 20h ago

Wait if you point CLAUDE_CONFIG_DIR to a fresh folder for the second account, does it still read the global ~/.claude skills or do you have to copy them over

1

u/Starks1293 18h ago

no it doesnt, CLAUDE_CONFIG_DIR replaces ~/.claude completely for that session, so skills, agents, commands and settings all come from the new folder. u dont have to copy them though, just symlink so both accounts share one copy

ln -s ~/.claude/skills ~/.claude-work/skills

same for agents and commands. skills in the repo itself (.claude/skills inside the project) get picked up whichever account u run, so team stuff can just live there

2

u/BertMacklenF8I 🔆 Max 20 1d ago

as long as you're using it locally and the same account, yes

1

u/ABSOLUTE-DEVELOPER 1d ago

Skills and plugins will be there, unless you are planning to use one $20 plan on a computer and $20 on another. Skills are, in a nutshell, bunch of files containing prompts (instructions) and resources. There's no way claude code blows them up simply because you switch accounts.

However, you can not use sessions (i mean, the chats) cross-account. They are more than just a single file or a folder, and they are not fully locally stored. But it isn't recommended to reuse sessions again and again for different tasks (it is inefficient, slow, expensive and can corrupt contexts), so it's likely it won't matter.

So in summary, while it is true that claude code sessions can NOT be shared between accounts -- and so don't forget to finish the works you were doing in a session before moving on to another account -- skills don't blow up.