{"by":"hamza_rehman","descendants":31,"id":49111019,"kids":[49112804,49112062,49115947,49112445,49122035,49118439,49113977,49112353,49112999,49113143,49130375,49133411,49112596,49112737,49113732,49166353,49117651,49114772],"score":54,"text":"I use separate Claude Code accounts for work and personal projects. Having to log out and go through the login flow every time I switched accounts became annoying, so I built a small CLI to solve it.<p>The commands are intentionally simple:<p>claude account add myworkaccount\nclaude account add mypersonalaccount\nclaude account use myworkaccount\nclaude account current<p>After switching, Claude Code works normally:<p>claude\nclaude &quot;fix this bug in main.py&quot;\nRepository: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;hamzarehmandeveloper&#x2F;claude-account\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;hamzarehmandeveloper&#x2F;claude-account</a><p>Give it a try","time":1785423539,"title":"Show HN: Claude-account – switch Claude Code accounts without logging in again","type":"story","url":"https://github.com/hamzarehmandeveloper/claude-account"}