Claude-account – switch Claude Code accounts without logging in again

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.The commands are intentionally simple:claude account add myworkaccount claude account add mypersonalaccount claude account use myworkaccount claude account currentAfter switching, Claude Code works normally:claude claude "fix this bug in main.py" Repository: https://github.com/hamzarehmandeveloper/claude-accountGive it a try

Hacker NewsToolAISource
0Sign in to voteCopy link

FL score

35

out of 100

Verdict

SKIP

low confidence

Competition

No competitor data yet

Trend

No signal yet

A CLI tool that lets you switch between Claude accounts without re-logging in.

The pain

Developers using multiple Claude accounts for work/personal separation have to manually log out and log back in each time they switch contexts, which takes 30-60 seconds per switch and breaks workflow.

The gap

Claude Code doesn't natively support account switching or session management for multiple accounts. The builder filled this gap with a local CLI wrapper that stores and manages authentication tokens.

Build angle

This is a personal productivity hack that solves a real but narrow problem. The builder correctly identified their own friction and built a minimal solution. However, the addressable market is tiny, only developers who (1) use Claude Code, (2) maintain multiple accounts, and (3) find login friction intolerable enough to install a third-party tool.

Strengths

  • Solves a genuine friction point the builder experienced firsthand
  • Simple, focused scope with clear UX (4 commands)
  • Low technical complexity makes it maintainable
  • GitHub repo shows working code, not vaporware

Risks

  • Anthropic could add native multi-account support, eliminating the need entirely
  • Storing authentication tokens locally creates security surface area and compliance concerns for enterprise users
  • Market size is constrained to a subset of Claude Code users, likely under 10,000 people globally
  • No monetization path; users expect free CLI tools
  • Requires ongoing maintenance as Claude Code API changes
  • Token management approach may violate Anthropic's terms of service

Questions about this idea?

FlyBot reads the scoring and gives you a second opinion on “Claude-account – switch Claude Code accounts without logging in again”.

Open FlyBot