Claude Code Auth Switch — Git skill for Claude Code
Note: This has only been tested on Linux.
How to install Claude Code Auth Switch
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open fprochazka/claude-code-auth-switch and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Auth Switch does
**Note:** This has only been tested on Linux. macOS and Windows may not work as expected — macOS in particular has a [Keychain collision bug](https://github.com/anthropics/claude-code/issues/20553)
Alternatives in Git
- Win Dev Skills — Agent plugins for building Windows apps with GitHub Copilot, Claude Code, OpenAI Codex, and more 463 ★
- Annotation — Create a detailed technical note for this commit 327 ★
- Diri — Native macOS orchestrator for coding agents — run Claude Code, Codex, Cursor, Gemini and shells in parallel ac 272 ★
README
claude-code-auth-switch
**Note:** This has only been tested on Linux. macOS and Windows may not work as expected — macOS in particular has a [Keychain collision bug](https://github.com/anthropics/claude-code/issues/20553) that breaks multi-account OAuth isolation.
Run multiple [Claude Code](https://docs.anthropic.com/en/docs/claude-code) accounts side-by-side with isolated credentials, shared configuration, and zero Docker overhead.
Each profile gets its own `claude-` command on your `$PATH`:
claude-personal # Personal Anthropic subscription (OAuth)
claude-work-team # Company team subscription (OAuth)
claude-work-vertex # Company via Google Cloud Vertex AI
Run them in parallel across different project directories without credential collisions, file lock conflicts, or billing mix-ups.
How it works
Claude Code's `CLAUDE_CONFIG_DIR` environment variable redirects all configuration and credential storage to a custom directory. We [verified in the binary](docs/Binary-Analysis-and-Design-Decisions.md) that this provides **full isolation** — including the `~/.claude.json` state file, which contrary to [some reports](docs/Gemini-Symlink-Behavior-Research.md) is **not** hardcoded to the home directory.
The install script reads `~/.claude/auth-switch.yaml`, creates a profile directory per account under `~/.claude-profiles/`, and generates thin wrapper scripts that set the right environment variables before `exec`-ing `claude`:
~/.claude/
├── auth-switch.yaml # Your profile definitions
└── auth-switch.secrets.yaml # Secret env values (gitignored, optional)
~/.claude-profiles/
├── personal/ # Profile: claude-personal
│ ├── settings.json # Copied from ~/.claude/ (mutable)
│ ├── settings.local.json # Copied from ~/.claude/ (mutable)
│ ├── CLAUDE.md # Copied from ~/.claude/ (mutable, plus any other *.md files)
│ ├── keybindings.json # Copied from ~/.claude/ (mutable)
│ ├── commands
Related Skills
Claude To Im Skill Fix
这是一个 Claude Code Skill,用于自动修复 https://github.com/op7418/Claude-to-IM-skill 在 Windows上的已知兼容性问题。原 skill 主要在 macO
Klaussy Desktop
The agent-first IDE: run a fleet of coding agents (Claude Code, Codex, Gemini, Copilot, Antigravity) across is
Resolvr
Free, source-available desktop GraphQL client and IDE for macOS, Linux and Windows: tabs that survive crashes,
Vmctl
Agent skill to control VMware Workstation VMs via vmrun: power on/off, start, stop, suspend, reset, guest IP,
OS Check
Manual check of ./dotfiles on macOS, Linux and Windows before a commit. Report only.
Claude Desktop Rpm
Claude Desktop for Fedora as a signed dnf/RPM package. Installs Anthropic's official Linux build, unmodified a
Related Agents
Byok Token Security Expert
BYOK (Bring-Your-Own-Key) and OAuth token security expert. Deep on cross-platform OS keychain integration (mac
Slim Wrapper
tfx-route.sh 경유 전용 래퍼 에이전트. 코드를 직접 읽거나 수정하지 않고 Bash(tfx-route.sh)를 통해 Codex/Antigravity에 위임하는 thin wrapper. OS
Field Windows Lead
Use PROACTIVELY and automatically — do not wait to be asked — as the Claude-Code node lead FOR a roaming lapto