omni-combos-routing
Skill này làm gì
Skill này chỉ cách thiết lập các combo định tuyến quyết định model nào xử lý từng yêu cầu. Skill dành cho lập trình viên muốn có phương án dự phòng, chia lưu lượng hoặc tự động chọn giữa các nhà cung cấp.
Khi nào nên dùng
- ✓Khi người dùng muốn thiết lập chuỗi dự phòng gồm nhiều model hoặc nhà cung cấp.
- ✓Khi người dùng muốn chia yêu cầu theo trọng số hoặc luân phiên giữa các nhà cung cấp.
- ✓Khi người dùng muốn xem số liệu hoặc kiểm thử kết quả định tuyến của một combo.
Liên kết skill
https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/omni-combos-routing/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thiết lập một combo thử model rẻ nhất trước, rồi chuyển sang model dự phòng.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill liệt kê các lệnh REST để liệt kê, tạo, đọc, cập nhật và xóa combo. Combo dùng một trong 19 chiến lược, như ưu tiên, có trọng số hoặc round-robin. Một lần cập nhật chỉ thay đổi các trường bạn gửi.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Overview
Create and manage routing combos with 19 strategies (priority, weighted, round-robin, Auto-combo, and more). Configure fallback chains, test routing outcomes, and retrieve combo metrics.
Authentication
All requests require a valid Bearer token or session cookie. Obtain a token via POST /api/auth/login or configure REQUIRE_API_KEY=false for local development.
Endpoints
GET /api/combos
List routing combos
curl http://localhost:20128/api/combos \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
POST /api/combos
Create routing combo
curl -X POST http://localhost:20128/api/combos \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
GET /api/combos/{id}
Get combo by ID
curl http://localhost:20128/api/combos/{id} \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
PUT /api/combos/{id}
Update combo
Partial update: the body is merged onto the stored combo, so a field left out keeps its current value. An array that IS sent replaces the stored one outright.
curl -X PUT http://localhost:20128/api/combos/{id} \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
PATCH /api/combos/{id}
Update combo
Partial update: the body is merged onto the stored combo, so a field left out keeps its current value. An array that IS sent replaces the stored one outright.
curl -X PATCH http://localhost:20128/api/combos/{id} \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
DELETE /api/combos/{id}
Delete combo
curl -X DELETE http://localhost:20128/api/combos/{id} \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
GET /api/combos/metrics
Get combo metrics
curl http://localhost:20128/api/combos/metrics \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
POST /api/combos/test
Test a combo configuration
curl -X POST http://localhost:20128/api/combos/test \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
GET /api/fallback/chains
List fallback chains
Returns all registered fallback chains for model routing.
curl http://localhost:20128/api/fallback/chains \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
POST /api/fallback/chains
Create fallback chain
Registers a fallback routing chain for a model.
curl -X POST http://localhost:20128/api/fallback/chains \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
DELETE /api/fallback/chains
Delete fallback chain
curl -X DELETE http://localhost:20128/api/fallback/chains \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
GET /api/combos/auto
GET combos › auto
curl http://localhost:20128/api/combos/auto \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
GET /api/combos/builder/options
GET combos › builder › options
curl http://localhost:20128/api/combos/builder/options \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"
POST /api/combos/duplicate
POST combos › duplicate
curl -X POST http://localhost:20128/api/combos/duplicate \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
POST /api/combos/reorder
POST combos › reorder
curl -X POST http://localhost:20128/api/combos/reorder \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
Payloads
See the full OpenAPI specification at GET /api/openapi/spec or docs/openapi.yaml for detailed request/response schemas.
OmniRoute — Routing & Combos
Requires OMNIROUTE_URL and OMNIROUTE_KEY. See entry-point SKILL for setup.
What is a combo?
A combo is a named group of providers/models with a routing strategy. All requests through a combo are automatically distributed, failed-over, and load-balanced — the caller uses a single model ID like my-combo.
List existing combos
curl $OMNIROUTE_URL/api/combos \
-H "Authorization: Bearer $OMNIROUTE_KEY"
`
Câu hỏi thường gặp
Có bao nhiêu chiến lược?
Skill liệt kê 19 chiến lược định tuyến, gồm ưu tiên, có trọng số, round-robin và Auto-combo.
Điều gì xảy ra khi tôi cập nhật một combo?
Đó là thay đổi một phần: các trường bạn bỏ qua giữ nguyên giá trị, nhưng bất kỳ danh sách nào bạn gửi sẽ thay thế danh sách đã lưu.
Tôi có thể kiểm thử định tuyến không?
Có. Skill bao gồm kiểm thử kết quả định tuyến và lấy số liệu của combo.
Chi tiết
Mô tả gốc của tác giả
Create and manage routing combos with 19 strategies (priority, weighted, round-robin, Auto-combo, and more). Configure fallback chains, test routing outcomes, and retrieve combo metrics.
Độ phổ biến
- Sao GitHub
- 84k
- Vị trí xếp hạng
- #1424
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
cli-a2a
84kChạy công cụ dòng lệnh OmniRoute cho các tác vụ giữa các agent, giúp bạn gửi công việc, xem lịch sử tác vụ và kiểm thử skill.
cli-backup-sync
84kChạy sao lưu dữ liệu OmniRoute từ dòng lệnh, gồm bản chụp, đồng bộ đám mây, lịch sao lưu và khôi phục từ file lưu trữ.
cli-batches
84kGửi các tác vụ AI hàng loạt từ dòng lệnh, theo dõi tiến độ và lưu kết quả hoặc lỗi, kể cả cho các pipeline CI.
cli-chat
84kGửi yêu cầu trò chuyện đến các model AI từ dòng lệnh, với câu trả lời theo luồng, system prompt và phiên tương tác.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.