ClaudeCliSupplierSwitch — Git skill for Claude Code
Windows 下 Claude Code 多供应商一键切换工具(ccs)——PowerShell 5.1/7 + Git Bash 三端统一菜单,多账号并行、退出自动还原,支持一句命令远程安装.
How to install ClaudeCliSupplierSwitch
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ldtmore/ClaudeCliSupplierSwitch and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What ClaudeCliSupplierSwitch does
Windows 下 Claude Code 多供应商一键切换工具(ccs)——PowerShell 5.1/7 + Git Bash 三端统一菜单,多账号并行、退出自动还原,支持一句命令远程安装.
Alternatives in Git
- 使用 Git Worktrees — 创建孤立的 Git worktrees,带有智能目录选择与安全验证 115.1k ★
- Git Worktree Docs Issue: Dependency Installation — GitHub — Community feedback on official docs with full worktree lifecycle walkthrough 81.1k ★
- Git Worktree Setup — Create isolated git worktrees with instant feedback and background Rust verification 25.5k ★
README
Claude Code 多供应商切换工具(ccs)
**ClaudeCliSupplierSwitch** · 一个纯脚本、零安装、零常驻进程的 Windows 终端方案: 在多个大模型供应商(智谱 GLM / DeepSeek / Kimi / 官方 Anthropic …)之间**一条命令切换 Claude Code**,不同终端窗口可同时运行不同账号。
   
一句话安装
在 PowerShell 里执行(无需下载任何文件):
irm https://raw.githubusercontent.com/ldtmore/ClaudeCliSupplierSwitch/main/install-remote.ps1 | iex
大陆网络访问 GitHub raw 受限时会自动回退 jsDelivr 镜像,也可以直接用镜像地址: `irm https://cdn.jsdelivr.net/gh/ldtmore/ClaudeCliSupplierSwitch@main/install-remote.ps1 | iex`
安装后编辑 `%USERPROFILE%\.claude\suppliers.json` 填入你的 API Key,新开终端输入 `ccs`。 前置条件:已安装 [Node.js](https://nodejs.org) 和 Claude Code(`npm install -g @anthropic-ai/claude-code`)。
它解决什么问题
同一个 Claude Code,想在多个 API 供应商 / 多个付费账号之间轮换使用(多账号额度池 并行、官方与三方混用),原生做法是反复手改环境变量——麻烦、易错、且无法并行。 ccs 把这件事变成一次按键:
── Claude Code 供应商选择 ────────────────────
[0] official 官方 Anthropic (未登录)
[1] glma 智谱GLM · 账号A ● 上次
[2] glmb 智谱GLM · 账号B
──────────────────────────────────────────────
回车 = 上次使用 · 序号或名字直达 · q 退出
选择 [上次 1 glma] ▸
核心特性
- ✅ 三终端通用:PowerShell 7 / PowerShell 5.1 / Git Bash,行为完全一致
- ✅ 四种选法:菜单序号 / 名字(不分大小写)/ 唯一前缀直达(
ccs glm)/ 直接回车 = 上次 - ✅ 多窗口并行:标签页 A 跑账号 A、标签页 B 跑账号 B,互不干扰(进程级环境变量)
- ✅ 退出自动还原:会话结束(含 Ctrl+C)自动清理全部临时环境变量
- ✅ 零脚本维护加供应商:只需编辑一个 JSON 文件,环境变量清理范围自动跟随
- ✅ 防呆:输错给纠错建议、重复 API Key 检测、官方登录状态标注、三端挂载体检
- ✅ 工具命令:
ccs list秒验配置、ccs status一屏排障 - ✅ 零依赖:不需要安装任何额外软件(Git Bash 端解析复用 node,claude-code 本身依赖 node)
本地安装(备选)
不想用远程一句式?下载或克隆本仓库后,在仓库目录执行:
powershell -ExecutionPolicy Bypass -File .\install.ps1
文档
| 文档 | 内容 |
|---|---|
| 部署指南.md | 一键 / 远程 / 手动三种部署方式、验证、升级、卸载 |
| [使用手册.md](使用手 |
Related Skills
Claude Code Statusline Ps
PowerShell 7 status line for Claude Code on Windows: context meter, cost, rate limits, git branch, mode badges
Claude To Im Skill Fix
这是一个 Claude Code Skill,用于自动修复 https://github.com/op7418/Claude-to-IM-skill 在 Windows上的已知兼容性问题。原 skill 主要在 macO
Claude Session Bridge
Durable file-based message bridge between long-running Claude Code sessions, with per-session push watcher and
Vmctl
Agent skill to control VMware Workstation VMs via vmrun: power on/off, start, stop, suspend, reset, guest IP,
Navigate To Project Root First
PROJECT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null echo "$PWD") cd "$PROJECT_ROOT" && bash .claude/scrip
Parallel Agent Worktree Skill
Portable Agent Skill to plan, spawn, review, and merge parallel CLI agents in isolated git worktrees, with det
Related Agents
PowerShell Expert
Use this agent to RUN command-line work on a Windows host and return a distilled result, and to write, refacto
PowerShell Windows
Escreve scripts PowerShell robustos para administração de , AD, variáveis de ambiente, deploy e diagnóstico do
Betik Ustasi
Windows'ta PowerShell 5.1, cmd ve Node betikleri yazar, tamir eder ve Görev Zamanlayıcı'ya bağlanacak hâle get