Claude Skill MartBrowse skillsWhat 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 in separate terminal windows at once.

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

What it does

  • Uses CLAUDE_CONFIG_DIR to create per-provider profiles in ~/.claude-profiles/<name>/, each with its own .claude.json so 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.py as a SessionStart hook that converges every profile's settings.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. explicit CLAUDE_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

  1. "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 runs claude-profiles-init.
  2. A 1M-context provider auto-compacts far too early → the skill finds the missing [1m] suffix on ANTHROPIC_MODEL/CLAUDE_CODE_SUBAGENT_MODEL and fixes every routed model value.
  3. A plugin skill visible in the default profile is missing in the GLM window → run claude-plugins-sync.py plus sync-profile-settings.py --all to re-converge enabledPlugins and settings.

· · · Install guide · · ·

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. Check prerequisites: which claude and python3 --version should both succeed, and your shell should be zsh or bash.
  2. Clone the repo: git clone https://github.com/daymade/claude-code-skills.git
  3. Copy the skill in: mkdir -p ~/.claude/skills && cp -r claude-code-skills/daymade-claude-code/claude-switch-models-setup ~/.claude/skills/
  4. Note the repo's absolute path (cd claude-code-skills && pwd) — relative paths create dangling symlinks that fail silently.
  5. Start Claude Code and ask: "Set up multi-provider Claude Code profiles; I want Kimi and DeepSeek." The skill triggers automatically.
  6. Provide your real API key and base URL for each provider when prompted — never hardcode keys into shared files.
  7. Run source ~/.zshrc (or open a new terminal), then verify with claude-profiles-doctor.
  8. Launch csk, csd, etc. to confirm each window starts on the intended model; maintainers on macOS can optionally run the LaunchAgent installer.