cli-routing
GitHubCLI工具omniroute,用于管理路由组合的创建、列表、更新和删除。支持测试路由策略、检查指标及配置回退链,提供suggest等子命令进行交互式操作。
触发场景
安装
npx skills add cheaper-inference/OmniRoute --skill cli-routing -g -y
SKILL.md
Frontmatter
{
"name": "cli-routing",
"description": "Create, list, update, and delete routing combos from the CLI. Test routing strategies, inspect combo metrics, and configure fallback chains interactively."
}
Overview
Create, list, update, and delete routing combos from the CLI. Test routing strategies, inspect combo metrics, and configure fallback chains interactively.
Quick install
npm install -g omniroute # or: npx omniroute
omniroute --version
Subcommands
suggest
Flags:
--task <description>--max-cost <usd>--max-latency-ms <ms>--weights <json>--top <n>--explain--switch
Example:
omniroute suggest
combo combo
Example:
omniroute combo combo
combo list
List configured routing combos
Flags:
--json
Example:
omniroute combo list
combo switch <name>
Activate a routing combo
Example:
omniroute combo switch <name>
combo create <name>
Create a new routing combo
Flags:
--models <spec>--model <spec>
Example:
omniroute combo create <name>
combo delete <name>
Delete a routing combo
Flags:
--yes
Example:
omniroute combo delete <name>
版本历史
-
d804179
当前 2026-10-19 14:21
新增suggest子命令的--task参数,用于指定任务描述以优化路由建议。
-
0ad0331
2026-08-28 16:38
修复combo create命令无法接受models参数的问题,新增--models和--model选项以解决硬编码空数组问题。
- 1cafd32 2026-07-25 11:46


