一份图文并茂的保姆级教程:教你通过 VS Code + cc-Switch 优雅地在 Claude Code 中调用第三方大模型 API(如硅基流动),完美支持本地与 Remote - SSH 远程环境,低成本开启你的 Vibe Coding 之旅!🚀
# Add to your Claude Code skills
git clone https://github.com/Golden-Promise/vscode-cc-switchGuides for using api integration skills like vscode-cc-switch.
Last scanned: 5/30/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-30T15:48:59.995Z",
"npmAuditRan": true,
"pipAuditRan": true
}vscode-cc-switch is an open-source api integration skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Golden-Promise. 一份图文并茂的保姆级教程:教你通过 VS Code + cc-Switch 优雅地在 Claude Code 中调用第三方大模型 API(如硅基流动),完美支持本地与 Remote - SSH 远程环境,低成本开启你的 Vibe Coding 之旅!🚀. It has 242 GitHub stars.
Yes. vscode-cc-switch passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/Golden-Promise/vscode-cc-switch" and add it to your Claude Code skills directory (see the Installation section above).
Yes. SkillsLLM lists many other API Integration skills you can browse and compare side by side. Open the API Integration category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh vscode-cc-switch against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
本教程旨在帮助开发者通过 VS Code 结合 cc-Switch 工具,快速实现 Claude Code 对第三方模型(API)的无缝调用与灵活配置。
1. 访问 GitHub 开源仓库:https://github.com/farion1231/cc-switch
2. 下载最新的发行版本(Release):
Releases 区域,或直接访问链接:Releases 页面Assets 列表中,选择对应的系统版本进行下载:3. 执行安装:
打开刚才下载的 .msi 安装包(Installer 程序包),按照向导提示完成安装即可:
4. 启动程序: 安装完成后,打开 cc-Switch 客户端,准备后续配置:
1. 打开扩展商店:在 VS Code 左侧活动栏中点击“扩展”图标(或使用快捷键 Ctrl+Shift+X)。
2. 搜索并安装扩展:在搜索框中输入 Claude Code 并点击安装。
3. 验证安装:扩展安装完成后,点击 VS Code 右侧边栏的 Claude Code 图标。若出现红框所示的侧边栏界面,即说明安装成功:
settings.json 配置文件的繁琐。ANTHROPIC_BASE_URL 和 ANTHROPIC_API_KEY 这两个关键环境变量。它将 Claude Code 原本发往官方的请求,“拦截”并重定向至您配置的第三方接口,从而在底层实现模型的无缝替换。① 获取调用凭证: 在开始配置前,需要从第三方平台获取以下信息(本文以硅基流动 (SiliconFlow) 为例,其他支持的模型或中转平台配置逻辑完全一致):
② 创建 API 密钥: 登录 硅基流动官网,在控制台生成您的 API 密钥:
③ 获取模型名称: 进入模型广场,选择您需要的模型,点击模型名称即可复制:
④ 确认 Base URL:
查阅官方 API 接口文档获取 Base URL。硅基流动的地址通常为 https://api.siliconflow.cn/(其他中转平台请参考其官方说明):
① 添加供应商: 回到 cc-Switch 客户端,点击添加新的服务供应商:
② 填写配置信息:
③ 启动 Vibe Coding: 重新打开 VS Code 中的 Claude Code 扩展。如果无需登录账号,直接跳转至对话窗口,即说明配置大功告成,您可以开始使用啦!
① 开启本地代理服务: 在 cc-Switch 中开启本地代理,并务必记住生成的服务地址与端口:
② 验证代理状态:
notepad "%USERPROFILE%\.claude\settings.json"
③ 远程配置 Claude Code(需提前安装 VS Code 的 Remote - SSH 插件):
RemoteForward 参数进行端口转发,格式请参考下图:[] 中,完成后的效果参考红框内容:④ 完成配置并运行: 操作逻辑与本地运行一致。点击右侧边栏的 Claude Code 图标,若直接进入对话界面,说明远程配置成功。现在,尽情享受您的远程 Vibe Coding 体验吧!