claudeers.

🔓 unclaimed — this page was auto-generated from GitHub. Are you the creator?

Claim this page →
// Developer Tools

cc-switch-helper

Run different Claude Code providers in different terminals. 支持同时在不同终端窗口用不同 API Key 跑 Claude Code,互不影响

// Developer Tools[ cli ][ api ][ claude ]#claude#cc-switch#claude-ai#claude-code#claude-code-plugin#cli#devtoolsMIT$open-sourceupdated 8 days ago
Actively maintained
99/100
last commit 7 days ago
last release none
releases 0
open issues 0
// install
git clone https://github.com/luckybilly/cc-switch-helper

cc-switch-helper

English | 中文文档

Overcomes the global single-config limitation of the original CC-Switch, enabling per-terminal, per-window binding of different API keys and models — multiple sessions running in parallel without interference.

The native CC-Switch shares one global API config across all terminals — switching providers changes every window at once. This tool provides session-level isolation: one terminal on a personal key, another on a company key, running side by side with no conflicts.

Why?

CC-Switch is a great tool for managing Claude Code providers, but switching providers changes the global config — every running Claude Code instance picks up the change.

ccs takes a different approach: it passes the provider settings directly to each claude process. This means you can run DeepSeek in one terminal and GLM in another, at the same time, without ever touching the global config.

Terminal 1: ccs deep     → Claude Code running DeepSeek
Terminal 2: ccs glm      → Claude Code running GLM
Terminal 3: ccs zcy      → Claude Code running your custom provider

Each window is independent. Switch providers in one — the others stay untouched.

cc-switch-helper demo

CC-Switch provider configuration panel:

cc-switch settings

Features

  • Session-level config isolation — run different API keys, providers, and models across multiple terminals/windows simultaneously, no interference
  • Interactive menu — arrow keys to pick a provider, no need to remember names
  • Fuzzy matchccs deep matches "DeepSeek", ccs mini matches "Minimax"
  • Cross-platform — works on macOS, Linux, and Windows (PowerShell / CMD / Git Bash)
  • Zero config — reads directly from your CC-Switch database, compatible with existing key groups and relay configs
  • Non-invasive — does not modify CC-Switch source code; CC-Switch upgrades won't affect this tool

Prerequisites

  1. CC-Switch installed with at least one Claude provider configured
  2. Claude Code CLI installed
  3. Node.js ≥ 18

Install

npm install -g luckybilly/cc-switch-helper

This registers the ccs command globally.

Usage

ccs                       # Interactive provider selection
ccs <name>                # Fuzzy-match provider by name
ccs <name> -- <args...>   # Pass extra arguments to claude
ccs --no-skip             # Launch without --dangerously-skip-permissions
ccs --list                # List all configured providers
ccs --help                # Show help

Examples

# Pick from an interactive menu
ccs

Interactive provider selection

# Launch with a specific provider (case-insensitive fuzzy match)
ccs zcy
ccs DeepSeek
ccs glm

# Pass extra arguments to claude (everything after --)
ccs zcy -- --resume
ccs DeepSeek -- -p "hello world"

# Launch without --dangerously-skip-permissions (review each permission)
ccs zcy --no-skip

# See all your configured providers
ccs --list

Alias to cc

If you prefer the shorter cc command, add an alias to your shell config:

# ~/.zshrc or ~/.bashrc
alias cc=ccs

Note: cc is also the system C compiler on macOS/Linux. The alias takes priority in your shell, but be aware if you work with C projects.

How it works

  1. Reads providers from CC-Switch's SQLite database (~/.cc-switch/cc-switch.db)
  2. Reads your base Claude settings from ~/.claude/settings.json
  3. Merges the selected provider's env and enabledPlugins into the base settings
  4. Launches claude --settings <json> --dangerously-skip-permissions

The provider's environment variables override same-named keys in your base settings, while all other settings (permissions, hooks, plugins, etc.) are preserved.

--dangerously-skip-permissions is a built-in Claude Code flag that skips per-action permission prompts for a smoother experience. Add --no-skip to restore per-action approval, useful when you want tighter permission control.

Platform support

PlatformShellStatus
macOSzsh, bash
Linuxbash, zsh, fish
WindowsPowerShell
WindowsCMD
WindowsGit Bash

FAQ

Q: Does ccs conflict with switching providers in CC-Switch?

A: No. ccs only affects the claude process it launches — it doesn't touch the global config. You can switch providers in CC-Switch anytime without affecting running ccs sessions.

Q: How do I know which provider a window is using?

A: ccs prints → Launching [provider-name] on startup. The terminal title bar also shows it.

Q: What's the difference between default and --no-skip?

A: Default includes --dangerously-skip-permissions, which skips Claude Code's per-action permission prompts. --no-skip restores per-action approval, useful for tighter security control.

License

MIT

// compatibility

Platformscli, api
Operating systems
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguageJavaScript

// faq

What is cc-switch-helper?

Run different Claude Code providers in different terminals. 支持同时在不同终端窗口用不同 API Key 跑 Claude Code,互不影响. It is open-source on GitHub.

Is cc-switch-helper free to use?

cc-switch-helper is open-source under the MIT license, so it is free to use.

What category does cc-switch-helper belong to?

cc-switch-helper is listed under devtools in the Claudeers registry of Claude-compatible tools.

1 views
21 stars
unclaimed
updated 8 days ago

// embed badge

cc-switch-helper on Claudeers
[![Claudeers](https://claudeers.com/api/badge/cc-switch-helper.svg)](https://claudeers.com/cc-switch-helper)

// retro hit counter

cc-switch-helper hit counter
[![Hits](https://claudeers.com/api/counter/cc-switch-helper.svg)](https://claudeers.com/cc-switch-helper)

// reviews

// guestbook

0/500

// related in Developer Tools

🔓

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Curs…

// devtoolsaffaan-m/JavaScript225,699MIT[ claude ]
🔓

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

// devtoolsgarrytan/TypeScript119,234MIT[ claude ]
🔓

AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs,…

// devtoolssafishamsi/Python80,484MIT[ claude ]
🔓

🙌 OpenHands: AI-Driven Development

// devtoolsOpenHands/Python79,324NOASSERTION[ claude ]
→ see how cc-switch-helper connects across the ecosystem