Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

Claude Code Multi-Provider Profile Setup

Sets up isolated Claude Code CLI profiles so you can run Kimi, MiniMax, GLM, DeepSeek and Anthropic side by side in separate terminal windows.

UtilitiesAdvanced1,323212AI score 8/10Last updated: Aug 8, 2026

What it does

  • Uses CLAUDE_CONFIG_DIR to build per-provider profiles under ~/.claude-profiles/<name>/: credentials and session history stay isolated, while skills, projects, hook scripts and agents are shared via symlinks.
  • Registers sync-profile-settings.py as a SessionStart hook so every profile converges its settings.json (hook registration, marketplaces, env flags, permissions) from the default profile — everything except model/provider identity keys.
  • Creates shell aliases (csk, csks, csd, csg, css) to launch a specific provider window instantly.
  • Gets per-provider context windows right ([1m] marker vs. explicit CLAUDE_CODE_MAX_CONTEXT_TOKENS) so long sessions don't compact far too early.
  • Ships troubleshooting playbooks for symlink drift, "corrupted installLocation" marketplace errors, orphan profiles, and skills that appear in the default profile but not in third-party ones.

Who it's for

  • Claude Code power users who pay for Kimi, MiniMax, GLM, DeepSeek or StepFun alongside Anthropic.
  • Developers juggling several tmux/terminal windows on different models to balance cost and speed.
  • Anyone stuck debugging why hooks or plugins work in one profile but silently vanish in another.

Examples

  1. "Set me up so Kimi and DeepSeek run in separate windows" — the skill checks prerequisites, writes provider settings files, runs claude-profiles-init, and shows the launch aliases.
  2. "My PreToolUse guards never fire in the GLM window" — it identifies config-dir-local settings.json drift and runs sync-profile-settings.py --all.
  3. "This 1M-context model keeps auto-compacting" — it diagnoses the missing literal [1m] suffix on ANTHROPIC_MODEL and its siblings.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/daymade/claude-code-skills/HEAD/daymade-claude-code/claude-switch-models-setup/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download 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.

  1. Open a terminal and clone the repo: git clone https://github.com/daymade/claude-code-skills.git
  2. Copy the skill into your skills folder: mkdir -p ~/.claude/skills && cp -r claude-code-skills/daymade-claude-code/claude-switch-models-setup ~/.claude/skills/
  3. Check prerequisites: which claude, python3 --version, and confirm your shell is zsh or bash.
  4. Restart Claude Code and ask: "Set up multi-provider Claude Code profiles."
  5. Run the bundled scripts/setup.sh, or symlink the five scripts into ~/.config/claude-switch-models-setup/ using an absolute repo path (relative paths create dangling links that fail silently).
  6. Create ~/.claude/settings/<provider>.json from the templates in assets/templates/, filling in your own API key and base URL.
  7. Run claude-profiles-init, verify with claude-profiles-doctor, then source ~/.zshrc to activate the csk / csd / csg aliases.