- Avoid the 3 clustering triggers: Never share one static IP across profiles, never share
~/.claudeor Desktop dirs, and avoid sub-second relay switching after 429 limits. - Enforce 4 physical boundaries: One endpoint per profile, isolated
CLAUDE_CONFIG_DIRand Desktop--user-data-dir, single-active instance lock with cooldown, and primary Desktop protection. - Use 60-line sanitized handoffs: Transfer Git state, active objectives, and final conclusions—with secrets scrubbed—to resume work in seconds.
Heavy Claude Code users frequently hit the 5-hour session window mid-task:
"You've reached your limit until 5:00 PM."
Keeping a secondary account helps maintain momentum, yet rotating accounts carelessly on a single Mac often triggers linked-account clustering. The three primary causes are shared exit IPs, shared local config/storage directories, and zero-delay relay switching.
1. Why Naive Account Switching Gets Accounts Linked
- Shared Static Endpoint: Running Account A and Account B over the same static IP—especially switching to B within seconds of A hitting a 429 rate limit—creates an unmistakable deterministic relay signature.
- Mixed Local Directories: By default,
claudeCLI stores state in~/.claude.jsonand~/.claude/, whileClaude Desktopwrites to a single shared Application Support directory. Logging out and back in leaves persistent identifiers behind. - OAuth Browser Mismatch: Terminal OAuth flows opening your everyday browser can bind Account A's active web session into Account B's CLI config.
2. Four Isolation Rules for Multi-Account Safety
- One Account, One Dedicated Endpoint: Bind each profile to its own static endpoint. Enforce fail-closed verification so Profile B cannot connect while Profile A's IP is active.
- Physical Directory Isolation: Assign each secondary profile its own
CLAUDE_CONFIG_DIR, its own dedicated Chromium user data directory, and an isolated Claude Desktop--user-data-dir(without modifying the signedClaude.appbundle). - Single-Active Gate + Cooldown Buffer: Block concurrent CLI/Desktop instances from different profiles from competing for the gate, and keep a randomized 30–90 second cooldown between switches.
- Primary Desktop Ownership: Keep your official Desktop directory bound to its primary account so secondary CLI profiles never overwrite primary keychain sessions.
3. Sanitized 60-Line Project Context Handoff
Pasting entire multi-screen transcripts into a fresh account wastes context budget and risks leaking API keys or internal URLs. Instead, extract a concise, credential-scrubbed Handoff Brief containing only current Git state, open objectives, and the last technical conclusion:
# Cross-Account Handoff Brief
- Project: /Users/dev/Projects/my-app
- Branch: feature/auth-gateway (Ahead 1, Dirty: 2 files)
## 1. Git Diff Snapshot
- M src/auth.ts (OAuth state guard added; refresh flow pending)
- M tests/auth.test.ts (2/3 passing; 3rd assertion needs 401 mock)
## 2. Active Objectives
- [x] Implement isolated profile directories
- [/] Fix expired session assertion in tests/auth.test.ts
## 3. Last Technical Conclusion
- "src/auth.ts isolation is complete; update the 401 mock in auth.test.ts next."
4. Manual CLI Wrapper vs. NeverBanned v3.0 Cockpit
If you isolate a secondary CLI profile manually with shell scripts, ensure the old session is completely closed and your proxy port matches the secondary endpoint:
#!/usr/bin/env bash
set -euo pipefail
export CLAUDE_CONFIG_DIR="$HOME/.claude-profiles/profile-b"
mkdir -p "$CLAUDE_CONFIG_DIR" && chmod 0700 "$CLAUDE_CONFIG_DIR"
export HTTP_PROXY="http://127.0.0.1:17891"
export HTTPS_PROXY="http://127.0.0.1:17891"
export ALL_PROXY="socks5://127.0.0.1:17891"
unset ANTHROPIC_AUTH_TOKEN
exec claude "$@"
In NeverBanned v3.0, the Multi-Account Cockpit automates the entire workflow:
- Per-profile static endpoints & isolated storage: independent static proxies, Chromium profiles,
CLAUDE_CONFIG_DIR, and per-profile Claude Desktop--user-data-dirdirectories. - L1/L2 Quota Cockpit & StatusLine: tracks 5h/7d usage locally and optionally queries verified active-profile status over the locked egress tunnel so you know which account has capacity left.
- Single-active instance guard & anti-relay cooldown: stops active old-profile instances and warns on shared exit IPs before switching.
- Incremental project handoff: generates sanitized 60-line handoff briefs (supporting
/clearboundaries) and launches the target profile directly in your project directory.