本文へ移動
cccskills
無料GitHub で公開日本語紹介

omni-combos-routing

複数のAIモデルを一つの呼び出し先にまとめ、19種類の振り分け方式や障害時の切り替え順を設定し、選択結果の試行と応答時間・費用の確認を行うスキル。

原文原文の説明を見る

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.

連携ツールOpenAI
AI評価80点/ 100インストール方法を見る

こんなときに便利

  • 複数のAIモデルを同じIDで使いたいとき
  • 障害時のモデル切り替え順を設定
  • API呼び出し前に振り分け結果を確認
  • 応答時間・成功率・費用の確認

日本語での紹介

できること

複数のAIサービスやモデルを、同じモデルIDで呼び出すグループ「combo」にまとめます。優先順、重み付け、順番に交代する方式など19種類の振り分け方式を選び、障害時の切り替え順も設定できます。comboの作成・更新・削除に加え、応答時間、成功率、費用、接続先ごとの指標を確認します。

こんなときに便利

用途に応じてモデルの振り分け方を変えたいときや、障害時の代替先を用意したいときに向いています。実際のAPI呼び出しをせずに、どの接続先が選ばれるかとその理由を確認するシミュレーションも使えます。

使い方の例

  • 「優先するモデルと代替モデルを指定してcomboを作って」
  • 「この入力で選ばれる接続先と理由をシミュレーションして」
  • 「comboの応答時間、成功率、費用を確認して」

注意点

OmniRouteへの接続と認証が必要です。資料ではOMNIROUTE_URLとOMNIROUTE_KEY、有効なBearerトークンまたはセッションCookieが示されています。更新で省略した項目は維持されますが、送信した配列は全体が置き換わります。詳細なデータ形式はOpenAPI仕様で確認する構成です。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

客観評価

SKILL.md の中身だけを根拠に、AI が 4 つの観点で判定しました。スター数や人気は判定に入れていません。

指示の明確さいつ使い、何をするかが読み取れるか
A良好comboの作成・管理、19種類の振り分け方式、障害時の切り替えが明記されています。
手順の具体性手順・入出力・例が具体的に書かれているか
A良好作成用のJSON例、振り分け方式の表、指標とシミュレーションの出力が示されています。
安全面送信・削除・コマンド実行などの扱いが明示されているか
B一部不足配列の全置換は説明されていますが、DELETE実行前の確認手順はありません。
導入のしやすさ必要なツールや API キーが少ないか、書かれているか
B一部不足必要な環境変数と認証方法は示されていますが、接続設定の手順は別資料です。

合計点は、各項目を A=25点・B=15点・C=5点として足したものです。 2026年10月22日 時点で AI(OpenAI Codex)が判定しました。目安なので、入れる前に原文も確認してください。

評価が違うと思ったら、見直しを依頼する

どの項目が、なぜ違うと思うかを書いてください。ログインは不要です。内容を SKILL.md と照らし合わせて評価を作り直し、この欄に反映します。

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

含まれるファイル(1)

  • SKILL.md8.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

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.

<!-- skill:custom-start --> <!-- Migrated from skills/omniroute-routing/SKILL.md (preserved curated content) -->

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"

Response includes id, name, strategy, enabled, and per-target stats.

Create a combo

curl -X POST $OMNIROUTE_URL/api/combos \
  -H "Authorization: Bearer $OMNIROUTE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "my-combo",
    "strategy": "priority",
    "targets": [
      { "provider": "anthropic", "model": "claude-opus-4-7", "weight": 1 },
      { "provider": "openai",    "model": "gpt-4o",           "weight": 1 }
    ]
  }'

19 public routing strategies

StrategyDescription
priorityAlways use target[0]; fall back on error
weightedDistribute by weight percentage
round-robinRotate targets in order
context-relayChain models for very long contexts
fill-firstFill quota of target[0] before spilling
p2cPower-of-two choices: sample two targets, pick the better candidate
randomUniform random selection
least-usedRoute to the target with the lowest observed usage
cost-optimizedPick the cheapest eligible target for the token estimate
reset-awarePrefer targets based on quota-reset state
reset-windowOrder targets by their configured reset window
headroomPrefer targets with more remaining quota headroom
strict-randomRandom without repeating until all targets have been used
autoAuto-Combo scoring across 16 factors
lkgpLast-known-good-provider sticky routing
context-optimizedPick the best model for the request's context size
cache-optimizedPrefer targets with stronger cache affinity
fusionRun a panel in parallel and synthesize one judged response
pipelineRun a configured sequence of targets as a pipeline

Auto-combo (recommended for production)

Auto-combo scores each candidate on 16 factors every request:

curl -X POST $OMNIROUTE_URL/api/combos \
  -H "Authorization: Bearer $OMNIROUTE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "prod-auto",
    "strategy": "auto",
    "targets": [
      { "provider": "anthropic", "model": "claude-sonnet-4-6" },
      { "provider": "openai",    "model": "gpt-4o-mini" },
      { "provider": "google",    "model": "gemini-2.0-flash" }
    ]
  }'

Then call it with:

curl -X POST $OMNIROUTE_URL/v1/chat/completions \
  -H "Authorization: Bearer $OMNIROUTE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "model": "prod-auto", "messages": [{ "role": "user", "content": "Hello" }] }'

Activate / deactivate a combo

# Activate
curl -X PUT $OMNIROUTE_URL/api/combos/{id}/toggle \
  -H "Authorization: Bearer $OMNIROUTE_KEY" \
  -d '{ "enabled": true }'

Get combo metrics

curl $OMNIROUTE_URL/api/combos/{id}/metrics \
  -H "Authorization: Bearer $OMNIROUTE_KEY"

Returns p50/p95/p99 latency, success rate, cost, and per-target breakdown.

Simulate routing (dry run)

curl -X POST $OMNIROUTE_URL/api/routing/simulate \
  -H "Authorization: Bearer $OMNIROUTE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "comboId": "{id}", "messages": [{ "role": "user", "content": "test" }] }'

Returns which provider would be selected and why — no actual API call is made.

Via MCP (if OmniRoute is your MCP server)

omniroute_list_combos     → list all combos
omniroute_switch_combo    → enable/disable a combo
omniroute_set_routing_strategy → change strategy at runtime
omniroute_simulate_route  → dry-run routing decision
omniroute_best_combo_for_task → get recommendation by task type

Errors

  • 404 combo not found → check id from /api/combos
  • 400 invalid strategy → use one of the 19 strategies above
  • 409 name conflict → combo name already exists
<!-- skill:custom-end -->

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

cli-a2a

無料概要ありAI評価 90点

コマンドラインからOmniRouteのA2Aサーバーへタスクを送り、実行履歴やログの確認、進行状況の監視、エージェント間通信のテストを行うスキル。

  • サーバー状態とスキルを確認したいとき
  • JSON入力でスキルを呼び出したいとき
  • タスクの実行履歴やログの確認
cheaper-inference/OmniRoute8万2026年10月22日 更新

cli-backup-sync

無料概要ありAI評価 70点

OmniRouteのデータをコマンドでバックアップ・復元するスキル。差分保存、暗号化、クラウド同期、定期実行の設定や同期用ファイルの入出力を扱います。

  • 設定変更前にバックアップしたいとき
  • 定期バックアップと保持数の設定
  • クラウドへデータを同期したいとき
cheaper-inference/OmniRoute8万2026年10月22日 更新

cli-batches

無料概要あり

AIへの推論リクエストをまとめてコマンドから投入し、進行状況の確認から結果・エラーの保存まで扱います。処理用ファイルの管理やCI/CDへの組み込みにも使えます。

  • JSONLからAIリクエストを一括投入
  • バッチの進行確認と完了待ち
  • 処理結果とエラーの保存
cheaper-inference/OmniRoute8万2026年10月22日 更新

cli-chat

無料概要ありAI評価 90点

端末からLLMに質問を送り、回答の逐次表示や対話を行うスキルです。ファイル入力、モデル選択、システムプロンプトの指定にも対応します。

  • 端末からAIに質問したいとき
  • ファイルの内容を質問に使いたいとき
  • 回答を逐次表示して保存したいとき
cheaper-inference/OmniRoute8万2026年10月22日 更新

cli-compression

無料概要ありAI評価 80点

プロンプトを短くする圧縮設定をコマンドラインで管理し、RTKやCavemanのルール、複数方式の組み合わせを調整して、実際の入力で結果を確認するスキル。

  • 実際の入力で圧縮結果を確認したいとき
  • RTKやCavemanのルール調整
  • 複数の圧縮方式を比較したいとき
cheaper-inference/OmniRoute8万2026年10月22日 更新

cli-contexts

無料概要あり

コマンドラインでAIに渡す情報の処理設定やフィルターを調整し、OmniRouteの接続先の切り替えと会話セッションの確認・管理を行うスキル。

  • トークン予算やフィルターを調整したいとき
  • 登録済みの接続先を切り替えたいとき
  • 接続設定をJSONで入出力したいとき
cheaper-inference/OmniRoute8万2026年10月22日 更新

cheaper-inference のスキルをすべて見る

このスキルの問題を報告する