Skip to content

claude-code

One env var gives Claude Code separate config profiles

Claude News

A developer posted on Hacker News about running multiple independent Claude Code setups side by side. CLAUDE_CONFIG_DIR points at ~/.claude by default; create a different directory, launch claude with the variable set to it, and you get a clean instance with its own skills, plugins, and MCP connections. He wraps each one in an alias in ~/.bashrc or ~/.zshrc.

His own setup runs an experimental build loaded with community plugins (caveman, i-have-adhd, context-mode) alongside a separate build tied to a different account.

For managing and sharing these profiles he points to his own tool, Claude Playbooks: a single static binary with no dependencies, MIT licensed, source on GitHub.

Related stories

  1. 57% of public Claude Code subagents inherit Bash
  2. Toolog keeps a forensic log of Claude Code tool calls
  3. Stemma compiles agent rules into CLAUDE.md and AGENTS.md
  4. Spotify's shunt blocks Claude Code reads over 350 lines
  5. Context Engineering Kit adds judge agents to Claude Code
  6. ccswitch juggles Claude Code accounts from one config

Comments

No comments yet. Be the first.

Join the conversation

Sign in with Google to leave a comment. Your name and avatar come from your Google profile, and the comment appears after moderation.

We only use your name and avatar from Google. We never store your email address.