by caidaoli
AI API gateway that ends manual channel switching with smart routing, auto failover, exponential cooldown, multi-URL scheduling, live request monitoring and soft-error detection.
# Add to your Claude Code skills
git clone https://github.com/caidaoli/ccLoadLast scanned: 6/15/2026
{
"issues": [
{
"file": "README.md",
"line": 494,
"type": "secret-exfiltration",
"message": "Instruction appears to send credentials/secrets to an external endpoint",
"severity": "medium"
},
{
"file": "README.md",
"line": 563,
"type": "secret-exfiltration",
"message": "Instruction appears to send credentials/secrets to an external endpoint",
"severity": "medium"
}
],
"status": "PASSED",
"scannedAt": "2026-06-15T10:24:01.851Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}ccLoad is an open-source api integration skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by caidaoli. AI API gateway that ends manual channel switching with smart routing, auto failover, exponential cooldown, multi-URL scheduling, live request monitoring and soft-error detection. It has 373 GitHub stars.
Yes. ccLoad 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/caidaoli/ccLoad" and add it to your Claude Code skills directory (see the Installation section above).
ccLoad is primarily written in Go. It is open-source under caidaoli on GitHub, so you can review or fork the full source.
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 ccLoad against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars

AI API gateway for Claude Code, Codex, Gemini, and OpenAI.
English | 简体中文
Smart routing | Automatic failover | Model-aware cooldown | Multi-URL scheduling | Protocol transforms | Live monitoring | Cost control
ccLoad removes the operational mess of running multiple AI API upstreams. It keeps Claude Code, Codex, Gemini, and OpenAI-compatible clients on one stable gateway, then handles upstream selection, failover, cooldown, protocol conversion, request visibility, and cost limits in the service instead of in every client script.
During OpenAI Build Week, Codex powered by GPT-5.6 was the primary engineering agent used to:
5xx, key-level 429, and model-unavailable 404 failures without unnecessarily cooling an entire channel.GPT-5.6 is also integrated into the product itself: ccLoad exposes GPT-5.6 through OpenAI-compatible and Codex Responses endpoints, includes Sol, Terra, and Luna model presets, calculates their standard, priority, flex, cached-token, and long-context costs, and applies routing and model-scoped cooldown decisions to them like any other configured upstream model.
The repository's AGENTS.md and CLAUDE.md provide persistent engineering constraints so Codex works against the same KISS-first review and testing rules in every session.
Common failure modes when you run several AI API channels:
429, 502, 504, expired keys, and overloaded providers should not stop the client workflow.ccLoad handles those cases with:
model_cooldown responses, upstream HTTP 5xx failures, key-level 429 rate limits, and model-unavailable 404 errors all cool only the actual upstream model first; other models on the same channel remain available. The channel is promoted to cooldown only after every configured model or every enabled key is cooling.{"error": {...}} structuretype field set to "error"error events (rate_limit_exceeded / too_many_requests) are handled as 429"当前模型负载过高" / "Current model load too high" (load warnings)Each channel has one primary protocol and zero or more additional protocols. upstream (Upstream Passthrough) forwards each client protocol natively, while local (ccLoad Translation) converts additional protocols into the primary protocol at the Registry boundary.
graph TB
subgraph "Client"
A[Claude Code / Codex / Gemini / OpenAI Client]
end
subgraph "ccLoad Service"
B[HTTP Proxy]
C[Authentication + Route Dispatch]
D[Channel Selector<br/>Priority + Smooth Weighted RR]
E[Protocol Registry<br/>Native Bypass / Local Transform]
F[URL Selector<br/>Explore + 1/EWMA Weighting]
G[(Storage Factory<br/>SQLite / MySQL / PostgreSQL)]
H[Logs + Metrics + Cost Control]
A --> B --> C --> D --> E --> F
D <--> G
H <--> G
B --> H
end
subgraph "Upstream Services"
U1[Anthropic]
U2[OpenAI-compatible]
U3[Gemini]
U4[Codex Responses]
end
F --> U1
F --> U2
F --> U3
F --> U4
U1 -. JSON / SSE .-> E
U2 -. JSON / SSE .-> E
U3 -. JSON / SSE .-> E
U4 -. JSON / SSE .-> E
E -. Client Protocol .-> B
style B fill:#4F46E5,stroke:#000,color:#fff
style D f