Skip to content

Repository files navigation

Multi-account setup for Claude Code and Codex CLI

2026-02-12_Code_00-25-16@2x

Directories created:

~/.claude-profiles/personal/ — your current xyzt70@gmail.com account
~/.claude-profiles/work/ — new account (empty .claude.json, will prompt for OAuth on first run)
~/.codex-profiles/personal/ — your current ChatGPT account (auth.json copied)
~/.codex-profiles/work/ — new account (no auth.json, will prompt for login)

Shared resources moved to ~/.agents/ and symlinked into all profiles:

~/.agents/hooks/ — notification scripts
~/.agents/commands/ — auto-fix.md, create-handoff.md
~/.agents/skills/ — already existed

Aliases in ~/.zshrc to launch agent clis:

c => Claude Code with personal account
cs => Claude Code with work account
cx => Codex with personal account
cxs => Codex with work account
ai-personal / ai-work Switch both tools env at once

Each profile has its own isolated keychain entry (Claude Code) and auth file (Codex), so there are zero conflicts between accounts.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors