Claude Dual Account banner
fbdeme fbdeme

Claude Dual Account

Productivity community

Description

Claude Code skill: run two accounts (personal + company Team) on one machine at the same time — CLAUDE_CONFIG_DIR profiles, shared memory/skills, account follows the directory; safe login + verify scripts; pitfalls with evidence

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

claude-dual-account

A Claude Code skill: run **two accounts on one machine, at the same time** — e.g. personal Max + company Team — sharing memory/skills/hooks, separating only credentials. The account **follows the directory**.

  • One extra config dir per account (CLAUDE_CONFIG_DIR), with skills/ commands/ hooks/ plugins/ projects/ symlinked to the primary and settings.json copied.
  • ~/.claude-profiles: — read at launch by the ~/bin/claude entrypoint from claude-tmux-ssh v2 (or by the minimal shell function in SKILL.md §5).
  • login.sh: safe whether or not claude auth login honors CLAUDE_CONFIG_DIR (stash → login → detect → move/restore → seed oauthAccount). Refuses to run inside a Claude session.
  • verify.sh: per-profile auth status, credential files differ, optional real call.
  • references/pitfalls.md: the traps, with evidence. references/design-choices.md: where this forks from prior art.

Lineage: fork of [iixauii/claude-skills · cc-account-switch](https://github.com/iixauii/claude-skills); references [Nemo-Illusionist/claude-code-account-switcher](https://github.com/Nemo-Illusionist/claude-code-account-switcher). Korean SKILL.md.

mkdir -p ~/.claude/skills/claude-dual-account
curl -sL https://github.com/fbdeme/claude-dual-account/archive/main.tar.gz | tar xz -C ~/.claude/skills/claude-dual-account --strip-components=1