by glidea
Cloudflare Worker; Claude Code; Proxy; Easy to deploy; Claude Code Router; claude-code-router; ccr
# Add to your Claude Code skills
git clone https://github.com/glidea/claude-worker-proxyGuides for using ai agents skills like claude-worker-proxy.
Last scanned: 5/30/2026
{
"issues": [
{
"type": "npm-audit",
"message": "defu: defu: Prototype pollution via `__proto__` key in defaults argument",
"severity": "high"
},
{
"type": "npm-audit",
"message": "miniflare: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "undici: Undici has an unbounded decompression chain in HTTP responses on Node.js Fetch API via Content-Encoding leads to resource exhaustion",
"severity": "high"
},
{
"type": "npm-audit",
"message": "wrangler: Wrangler affected by OS Command Injection in `wrangler pages deploy`",
"severity": "high"
},
{
"type": "npm-audit",
"message": "ws: ws: Uninitialized memory disclosure",
"severity": "medium"
}
],
"status": "WARNING",
"scannedAt": "2026-05-30T15:14:44.380Z",
"npmAuditRan": true,
"pipAuditRan": true
}claude-worker-proxy is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by glidea. Cloudflare Worker; Claude Code; Proxy; Easy to deploy; Claude Code Router; claude-code-router; ccr. It has 272 GitHub stars.
claude-worker-proxy returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.
Clone the repository with "git clone https://github.com/glidea/claude-worker-proxy" and add it to your Claude Code skills directory (see the Installation section above).
claude-worker-proxy is primarily written in TypeScript. It is open-source under glidea on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh claude-worker-proxy against similar tools.
No comments yet. Be the first to share your thoughts!
Requires a passing catalog security scan. Resolve the flagged issues and resubmit to enable featuring.
本项目由 code0.ai 赞助 —— 一站接入 gpt-image / Gemini / Claude 等主流 AI 模型,稳定不掉线,按量计费即充即用,专为 AI 创作者打造。注册后联系客服可免费领取测试额度,支持企业对接及开票。
把各家(Gemini,OpenAI)的模型 API 转换成 Claude 格式提供服务
git clone https://github.com/glidea/claude-worker-proxy
cd claude-worker-proxy
npm install
wrangler login # 如果尚未安装:npm i -g wrangler@latest
npm run deploycf
# 例子:以 Claude 格式请求 Gemini 后端
curl -X POST https://claude-worker-proxy.xxxx.workers.dev/gemini/https://generativelanguage.googleapis.com/v1beta/v1/messages \
-H "x-api-key: YOUR_GEMINI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-2.5-flash",
"messages": [
{"role": "user", "content": "Hello"}
]
}'
{worker_url}/{type}/{provider_url_with_version}/v1/messagestype: 目标厂商类型,目前支持 gemini, openai, openai-responsesprovider_url_with_version: 目标厂商 API 基础地址x-api-key: 目标厂商的 API KeyOpenAI Chat Completions 示例:
curl -X POST https://claude.llmapp.org/openai/https://api.openai.com/v1/v1/messages \
-H "x-api-key: YOUR_OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4.1-mini",
"max_tokens": 128,
"messages": [
{"role": "user", "content": "Hello"}
]
}'
OpenAI Responses API 示例:
curl -X POST https://claude.llmapp.org/openai-responses/https://api.openai.com/v1/v1/messages \
-H "x-api-key: YOUR_OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4.1-mini",
"max_tokens": 128,
"messages": [
{"role": "user", "content": "Hello"}
]
}'
# 编辑 ~/.claude/settings.json
{
"env": {
"ANTHROPIC_BASE_URL": "https://claude-worker-proxy.xxxx.workers.dev/gemini/https://xxx.com/v1beta", # https://xxx.com/v1beta: 注意带版本号;需要支持函数调用!
"ANTHROPIC_CUSTOM_HEADERS": "x-api-key: YOUR_KEY",
"ANTHROPIC_MODEL": "gemini-2.5-pro", # 大模型,按需修改
"ANTHROPIC_SMALL_FAST_MODEL": "gemini-2.5-flash", # 小模型。也许你并不需要 ccr 那么强大的 route
"API_TIMEOUT_MS": "600000"
}
}
claude