Claude Code Multi-Provider Profile Setup
Sets up isolated Claude Code CLI profiles so you can run Kimi, MiniMax, GLM, DeepSeek and Anthropic in separate terminal windows at once.
UtilitiesAdvanced★ 1,323⑂ 212AI score 8/10Last updated: Aug 8, 2026
What it does
- Uses
CLAUDE_CONFIG_DIRto create per-provider profiles in~/.claude-profiles/<name>/, each with its own.claude.jsonso credentials and session history stay isolated. - Shares content directories (
skills/,projects/,hooks/,agents/) back to~/.claude/via symlinks, so you maintain one copy. - Registers
sync-profile-settings.pyas a SessionStart hook that converges every profile'ssettings.json(hook registration, marketplaces, env flags, permissions, preferences) from the default profile — leaving only the model/provider different. - Adds shell aliases (
csk,csks,csd,csg,css) to launch a provider window instantly. - Gives a clear decision rule for context-window configuration: the literal
[1m]marker vs. explicitCLAUDE_CODE_MAX_CONTEXT_TOKENS/CLAUDE_CODE_AUTO_COMPACT_WINDOW. - Ships diagnosis and repair tooling:
claude-profiles-doctor,claude-profiles-init --repair, plugin/marketplace sync, and an optional macOS LaunchAgent watcher for maintainers.
Who it's for
- Developers mixing cheaper providers (Kimi, GLM, DeepSeek, MiniMax) alongside Anthropic.
- Power users who keep several terminals or tmux panes open to compare models and cut cost.
- Instructors and team leads who need a repeatable multi-provider setup for students.
- Anyone tired of a secondary profile silently missing hooks, plugins, or marketplaces.
Examples
- "Set up Claude Code so I can use Kimi in one window and DeepSeek in another" → the skill symlinks the manager scripts, adds aliases, writes
~/.claude/settings/kimi.json, and runsclaude-profiles-init. - A 1M-context provider auto-compacts far too early → the skill finds the missing
[1m]suffix onANTHROPIC_MODEL/CLAUDE_CODE_SUBAGENT_MODELand fixes every routed model value. - A plugin skill visible in the default profile is missing in the GLM window → run
claude-plugins-sync.pyplussync-profile-settings.py --allto re-convergeenabledPluginsand settings.
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the daymade-claude-code/claude-switch-models-setup folder from the GitHub repo daymade/claude-code-skills into my ~/.claude/skills/claude-switch-models-setup/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/daymade/claude-code-skills.git && mkdir -p ~/.claude/skills && cp -r claude-code-skills/daymade-claude-code/claude-switch-models-setup ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Check prerequisites:
which claudeandpython3 --versionshould both succeed, and your shell should be zsh or bash. - Clone the repo:
git clone https://github.com/daymade/claude-code-skills.git - Copy the skill in:
mkdir -p ~/.claude/skills && cp -r claude-code-skills/daymade-claude-code/claude-switch-models-setup ~/.claude/skills/ - Note the repo's absolute path (
cd claude-code-skills && pwd) — relative paths create dangling symlinks that fail silently. - Start Claude Code and ask: "Set up multi-provider Claude Code profiles; I want Kimi and DeepSeek." The skill triggers automatically.
- Provide your real API key and base URL for each provider when prompted — never hardcode keys into shared files.
- Run
source ~/.zshrc(or open a new terminal), then verify withclaude-profiles-doctor. - Launch
csk,csd, etc. to confirm each window starts on the intended model; maintainers on macOS can optionally run the LaunchAgent installer.
View source on GitHub ↗License: MIT