360 Secure SkillHub
360 安全技能中心

cli-routing

该 Skill 说明如何用 omniroute CLI 创建、列出、切换和删除路由组合,按任务、成本、延迟和权重参数给出建议,并支持 JSON 输出与删除确认。

diegosouzapw
热度 0.00
最近更新 2026-10-19 02:16:32
分类:自动化依赖:代码执行应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add diegosouzapw/omniroute/cli-routing
Metadata
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>