Claude Ctx — Development skill for Claude Code
Switch between multiple Claude Code accounts without losing your skills, agents and settings — kubectx for Claude Code.
How to install Claude Ctx
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open miraccan00/claude-ctx and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Ctx does
Switch between multiple Claude Code accounts without losing your skills, agents and settings — kubectx for Claude Code.
Alternatives in Development
- Claude Swap — Switch between multiple Claude Code accounts, with automatic rate-limit rotation, usage dashboard, and paralle 2k ★
- Shorten — Cut length without losing content 407 ★
- Devteam — Run a team of local coding agents in your terminal 264 ★
README
claude-ctx
Switch between multiple Claude Code accounts the way `kubectx` switches Kubernetes contexts — without losing your skills, subagents, hooks and settings when you move between them.
$ claude-ctx
🧭 Contexts in ~/.claude-contexts
client-acme
▸ personal ✅ active
work
🔗 ~/.claude-active → ~/.claude-contexts/personal
$ claude-ctx work
✅ Switched to context "work".
🔗 ~/.claude-active → ~/.claude-contexts/work
Why
`claude` reads its entire configuration from one directory, which `CLAUDE_CONFIG_DIR` can point elsewhere. Point it at a different directory and you get a different login — but also an empty setup: no skills, no subagents, no hooks, no `CLAUDE.md`.
`claude-ctx` gives every account its own directory for the parts that must stay separate, and symlinks the parts that should not. Add a skill once and every account has it.
How it works
~/.claude your shared config: skills, agents, hooks, settings.json
~/.claude-contexts/work/ one directory per account
~/.claude-contexts/personal/
~/.claude-active -> symlink to the active context
Your shell alias points `claude` at the symlink, so switching a context switches which account `claude` runs as:
alias claude="CLAUDE_CONFIG_DIR=$HOME/.claude-active claude"
Inside each context, the shared entries are symlinks back into `~/.claude`. Everything else — credentials, sessions, history, project transcripts — is real and local to that context.
Install
git clone https://github.com/miraccan00/claude-ctx.git
cd claude-ctx
make install
`make install` builds the binary, installs it to `~/.local/bin` (no `sudo`), and adds a marked block to your shell profile with the `PATH` entry and the `claude` alias. It is idempotent and backs the profile up before its first edit. It prints the exact `source` line to finish with.
Windows, without `make`:
powershell -ExecutionPolicy Bypass -File scripts\inst
Related Skills
Claude Account Menu
Terminal menu to switch between several Claude Code accounts, with live 5 hour and 7 day quotas for each. Add,
Swapdex
Switch between multiple Claude Code and Codex login accounts, locally and safely. A switcher, not a rotator.
Ccswitch
Switch between multiple Claude Code accounts with one command — MCP servers, plugins, skills and session histo
Cam
macOS menu bar app to switch between multiple Claude Code accounts and track 5-hour / 7-day usage limits. 一键切换
Ccam
Switch between multiple Claude Code accounts on one machine. Like nvm, for Claude Code logins: per terminal, p
Aswap Agent Account Swap
aswap — agent account swap: switch between multiple Claude Code and OpenAI Codex accounts automatically before
Related Agents
Cyber Dedup
Merge duplicate findings reported by multiple specialists into single corroborated findings without inflating
Agency Operations
Invoke when the user needs to manage multiple client brands, view portfolio-level dashboards, generate client
Graph Agent
Generate multiple financial insight graphs from CSV data. Use after merging accounts.