Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Switch Claude Code accounts without logging out: why I built crewrota

说明与用途

Crewrota 允许同时使用多个 Claude Code 账户,保持设置和历史记录,并提供使用情况概览。

问题

Claude Code allows only one active login per machine, forcing users to log out and sign in again when switching accounts, which disrupts workflow and splits session history.

结果

Crewrota enables simultaneous use of multiple Claude Code accounts without logging out, preserving setup, history, and providing usage monitoring.

工作流

  • Set up separate config directories using CLAUDE_CONFIG_DIR for each account
  • Create crewrota members with crew add <name> which opens Claude Code login for that member
  • Use crew menu to select a member, model, and effort, launching Claude Code with the chosen config
  • Share skills, agents, plugins, and CLAUDE.md from the main ~/.claude folder to all members
  • Use crew quota to view usage across members and crew widget for desktop bars
  • Resume sessions across members with --resume

证据

Claude Code keeps its settings and history in one config folder, ~/.claude by default, and the CLAUDE_CONFIG_DIR variable points it at another one.

来源

Give each login its own folder, and each one stays signed in. Two terminals, two accounts, at the same time.

来源

crewrota is a small command-line tool around that variable. Each login is a crew member, with its own folder.

来源

crew quota shows every member's 5-hour and weekly usage on one screen, and crew widget puts the same bars on your desktop.

来源

  • 记录日期: 2026-11-01T10:14:01.111Z