lygyt

Claude Code Provider Switcher — Development skill for Claude Code

Development community

Switch Claude Code between Anthropic, DeepSeek, GLM, Kimi, Qwen & MiniMax; Manage your skills conveniently.

How to install Claude Code Provider Switcher

This entry records only its repository, not the path inside it, so there is no exact command to give. Open lygyt/claude-code-provider-switcher and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Code Provider Switcher does

Switch Claude Code between Anthropic, DeepSeek, GLM, Kimi, Qwen & MiniMax; Manage your skills conveniently.

Alternatives in Development

  • Claude Swap — Switch between multiple Claude Code accounts, with automatic rate-limit rotation, usage dashboard, and paralle 2k ★
  • Devteam — Run a team of local coding agents in your terminal 264 ★
  • Claude Code Config Switcher — Switch between multiple Claude Code providers (Kimi, GLM, MiniMax, etc.) with a single command 85 ★

README

Claude Code Provider Switcher

Claude Code Provider Switcher is a VS Code extension for switching Claude Code between Anthropic Official, DeepSeek, and other Anthropic-compatible API providers without editing shell profiles.

Chat with Claude Code in the extension sidebar using the selected provider. The extension runs the Claude Code CLI with that provider's environment and presents responses, tool activity, and permission requests in the sidebar. A terminal launch remains available as an alternative.

侧边栏使用

打开活动栏中的 Claude Code 图标,在聊天区域选择 Provider,输入消息后按 Enter 发送,Shift+Enter 换行。回复过程中可以停止生成;需要授权时可在聊天区域批准或拒绝工具操作。使用顶部的历史按钮打开会话列表,新建按钮开始新会话。历史会话会使用当前选择的 Provider 继续。

最近的会话显示在聊天顶部,点击“查看全部”展开。顶部齿轮提供 Provider 和权限、技能、工作流与提示词设置;打开管理面板后可用面板标题栏的关闭按钮收起。输入框底部的模型按钮支持选择已配置的模型、手动输入模型 ID,或按需加载 Provider 的模型列表;选择对后续消息生效。

工具操作以可展开的摘要卡片显示;点击卡片可查看命令、文件内容、参数和 Claude Code 返回的结果。失败会单独标记,未收到结果时不会显示为成功。聊天滚动到较早位置时,新内容不会强制将页面拉回底部。

当模型通过 Claude Code 返回思考内容时,侧边栏会实时显示思考卡片;结束后自动折叠,可点击展开,历史对话也能查看已保存的思考。部分模型或 Provider 不返回思考文本,此时会显示等待状态。回复速度受模型和 Provider 影响,可在 Provider 的高级设置中调整思考强度。

同一对话会复用后台 Claude Code 进程,无需每条消息重新启动。切换模型、Provider 或其他影响 CLI 的设置后,下一条消息会重新启动进程并恢复当前会话,继续使用已有上下文;新建对话则开始新的上下文。

工具卡片和聊天交互参考 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 的开源前端设计,并针对 VS Code 侧边栏及 Claude Code 事件格式实现。

点击聊天顶部的齿轮设置常用提示词及自动插入位置。输入框内按 **Ctrl+Alt+P**(macOS:**Cmd+Option+P**),或点击输入框下方的加号,可在光标位置插入;也可以选择每次发送时自动添加到消息头部或尾部。自动插入默认关闭。

需要安装 Claude Code CLI,并在使用工作区工具前信任当前工作区。终端模式可通过输入框下方按钮或命令 `Claude Code: Open in Terminal` 打开。

Screenshot

Screenshot placeholder: add marketplace screenshots under `media/` before publishing.

Features

  • Save multiple provider profiles.
  • Show the active provider in the VS Code status bar.
  • Switch providers with QuickPick or Ctrl+Alt+M / Cmd+Alt+M.
  • Chat in the sidebar with streaming responses and tool permission prompts; optionally launch Claude Code in a terminal.
  • Store provider profiles and API keys in `~/.claude-code-provider-switcher/config.