omni-combos-routing
Fungsinya
Skill ini menunjukkan cara mengatur combo routing yang menentukan model mana yang menangani setiap permintaan. Skill ini untuk pengembang yang ingin cadangan, pembagian lalu lintas, atau pilihan otomatis di antara penyedia.
Kapan dipakai
- ✓Saat pengguna ingin mengatur rantai cadangan dari model atau penyedia.
- ✓Saat pengguna ingin permintaan dibagi berdasarkan bobot atau bergantian di antara penyedia.
- ✓Saat pengguna ingin melihat metrik atau menguji hasil routing untuk sebuah combo.
Link skill
https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/omni-combos-routing/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Atur combo yang mencoba model termurah saya dulu dan beralih ke cadangan jika gagal.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill ini mendaftar panggilan REST untuk menampilkan daftar, membuat, membaca, memperbarui, dan menghapus combo. Combo memakai salah satu dari 19 strategi, seperti prioritas, berbobot, atau round-robin. Pembaruan hanya mengubah kolom yang Anda kirim.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
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"
`
Pertanyaan umum
Berapa banyak strategi yang ada?
Skill ini mendaftar 19 strategi routing, termasuk prioritas, berbobot, round-robin, dan Auto-combo.
Apa yang terjadi saat saya memperbarui combo?
Ini perubahan parsial: kolom yang tidak Anda kirim tetap memakai nilainya, tetapi daftar yang Anda kirim akan menggantikan daftar yang tersimpan.
Bisakah saya menguji routing?
Bisa. Skill ini mencakup pengujian hasil routing dan pengambilan metrik combo.
Detail
Deskripsi asli dari pembuat
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.
Popularitas
- Bintang GitHub
- 84k
- Peringkat
- #1424
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
cli-a2a
84kMenjalankan command line OmniRoute untuk tugas agent-ke-agent, sehingga Anda dapat mengirim pekerjaan, memeriksa riwayat tugas, dan menguji skill.
cli-backup-sync
84kMenjalankan cadangan data OmniRoute dari command line, termasuk snapshot, sinkronisasi cloud, jadwal, dan pemulihan dari arsip.
cli-batches
84kMengirim pekerjaan AI secara batch dari command line, melacak kemajuannya, dan menyimpan hasil atau galat, termasuk untuk pipeline CI.
cli-chat
84kMengirim permintaan chat ke model AI dari command line, dengan balasan yang di-stream, system prompt, dan sesi interaktif.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.