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 364 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 | Exponential 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.
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:
{"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)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 fill:#059669,stroke:#000,color:#fff
style E fill:#0EA5E9,stroke:#000,color:#fff
Choose the deployment method that suits you best:
| Method | Difficulty | Cost | Use Case | HTTPS | Persistence |
|---|---|---|---|---|---|
| 🐳 Docker | ⭐⭐ | VPS required | Production, high performance | Config required | ✅ |
| 🤗 Hugging Face | ⭐ | Free | Personal use, quick trial | ✅ Auto | ✅ |
| 🔧 Source Build | ⭐⭐⭐ | Server required | Development, customization | Config required | ✅ |
| 📦 Binary | ⭐⭐ | Server required | Lightweight, simple setup | Config required | ✅ |
Using pre-built images (Recommended):
# Option 1: Using docker-compose (Simplest)
curl -o docker-compose.yml https://raw.githubusercontent.com/caidaoli/ccLoad/master/docker-compose.yml
curl -o .env https://raw.githubusercontent.com/caidaoli/ccLoad/master/.env.example
# Edit .env file to set password
docker-compose up -d
# Option 2: Run image directly
docker pull ghcr.io/caidaoli/ccload:latest
docker run -d --name ccload \
-p 8080:8080 \
-e CCLOAD_PASS=your_secure_password \
-v ccload_data:/app/data \
ghcr.io/caidaoli/ccload:latest
Building from source:
# Clone project
git clone https://github.com/caidaoli/ccLoad.git
cd ccLoad
# Build and run with docker-compose
docker-compose -f docker-compose.build.yml up -d
# Or build manually
docker build -t ccload:local .
docker run -d --name ccload \
-p 8080:8080 \
-e CCLOAD_PASS=your_secure_password \
-v ccload_data:/app/data \
ccload:local
# Clone project
git clone https://github.com/caidaoli/ccLoad.git
cd ccLoad
# Build project (uses high-performance JSON library by default)
go build -tags sonic -o ccload .
# Or use Makefile
make build
# Run in development mode
go run -tags sonic .
# Or
make dev
# Download binary for your platform from GitHub Releases
wget https://github.com/caidaoli/ccLoad/releases/latest/download/ccload-linux-amd64
chmod +x ccload-linux-amd64
./ccload-linux-amd64
Hugging Face Spaces provides free containe