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

I do client work across several Claude Code accounts, so I built a tool to stop logging in and out

Описание и применение

hatswap позволяет одновременно хранить несколько учётных записей Claude Code, переключаться между ними без повторного входа, закреплять каталоги клиентов, изолировать истории и передавать задачи в Codex, экономя время и повышая безопасность.

Задача

Frequent login and logout between multiple Claude Code accounts wastes time and disrupts workflow.

Результат

hatswap eliminates repetitive login steps, keeps account credentials isolated, allows seamless account switching, folder pinning, private histories, and efficient handoffs to Codex, saving time and reducing errors.

Рабочий процесс

  • Install hatswap via curl and install.sh
  • Add client accounts with hatswap add <name> (browser opens for sign‑in)
  • List accounts with hatswap list to see default and added accounts
  • Switch to another account during a session with ! hatswap switch <name> or /switch <name>
  • Pin a client folder to an account with hatswap pin <name> so claude uses that account in that directory
  • Make an account private with hatswap add <name> --private to keep its history separate
  • Hand a task to Codex with hatswap handoff codex which creates a handoff brief
  • Refresh a long session with hatswap refresh or hatswap refresh --edit to start a new session seeded with a brief

Доказательства

I was spending more time switching logins than writing code.

Источник

hatswap gives each account its own CLAUDE_CONFIG_DIR under ~/.claude-accounts/<name>, so each one keeps its own login

Источник

It never reads, copies or touches your credentials. Every sign‑in is done by Claude Code itself.

Источник

hatswap refresh # same account, fresh session, seeded with the brief

Источник

  • Дата записи: 2026-10-12T18:41:20.610Z