360 Secure SkillHub
360 安全技能中心

cli-models

该 Skill 提供 OmniRoute CLI 的模型管理命令,可查询可用 AI 模型、列出别名、按提供商或关键词筛选,并添加、编辑、删除手动模型元数据;支持 JSON 输出与 dry-run,但需另行安装 omniroute。

分类:搜索
cheaper-inference
热度 0.00
最近更新 2026-11-06 05:37:12

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add cheaper-inference/omniroute/cli-models
兼容性
通用兼容
联网要求
联网要求未确认
数据出网
数据出网未确认
Metadata
name
cli-models
description
Query available AI models, list model aliases, and browse the full model catalog from the CLI. Filter by provider, search by capability, and resolve model name variants.

Overview

Query available AI models, list model aliases, and browse the full model catalog from the CLI. Filter by provider, search by capability, and resolve model name variants.

Quick install

npm install -g omniroute   # or: npx omniroute
omniroute --version

Subcommands

models test-add <model>

Validate an OpenAI-compatible model on one strict connection, then add it after a synthetic tool round-trip

Flags:

  • --provider <id>
  • --connection <id>
  • --name <name>
  • --max-input-tokens <count>
  • --max-output-tokens <count>
  • --api-format <format>
  • --context <name>
  • --base-url <url>
  • --allow-inference
  • --yes
  • --dry-run
  • --json

Example:

omniroute models test-add example-model --provider example-provider --connection example-connection --dry-run

models [provider]

Flags:

  • --search <query>
  • --json

Example:

omniroute models [provider]

models manual <provider>

List manual model metadata from the selected server

Example:

omniroute models manual <provider>

models add <provider> <model-id>

Add an unverified manual model, then verify persistence

Flags:

  • --name <name>
  • --api-format <format>
  • --context-window <tokens>
  • --max-output-tokens <tokens>
  • --dry-run

Example:

omniroute models add <provider> <model-id>

models edit <provider> <model-id>

Edit manual model metadata, then verify persistence

Flags:

  • --name <name>
  • --api-format <format>
  • --context-window <tokens>
  • --clear-context-window
  • --dry-run

Example:

omniroute models edit <provider> <model-id>

models remove <provider> <model-id>

Remove only a manual model override, then verify persistence

Flags:

  • --yes
  • --dry-run

Example:

omniroute models remove <provider> <model-id>