Claude Code reads all configuration from a single directory (~/.claude by default). The CLAUDE_CONFIG_DIR environment variable overrides this, redirecting everything -- settings, credentials, CLAUDE.md, project configs, and .credentials.json -- to a different directory.
This gives you completely isolated profiles with separate subscriptions, plugins, hooks, and instructions.