cli-models

GitHub

CLI工具,用于查询、浏览AI模型目录,管理别名及元数据。支持按提供商过滤、能力搜索和名称变体解析。新增test-add命令,通过严格连接验证并添加兼容OpenAI的模型,确保注册前经过合成测试。

skills/cli-models/SKILL.md diegosouzapw/OmniRoute

Trigger Scenarios

用户需要查找或列出可用的AI模型 用户希望向系统中添加新的AI模型 用户需要编辑或删除已注册的模型元数据

Install

npx skills add diegosouzapw/OmniRoute --skill cli-models -g -y
More Options

Use without installing

npx skills use diegosouzapw/OmniRoute@cli-models

指定 Agent (Claude Code)

npx skills add diegosouzapw/OmniRoute --skill cli-models -a claude-code -g -y

安装 repo 全部 skill

npx skills add diegosouzapw/OmniRoute --all -g -y

预览 repo 内 skill

npx skills add diegosouzapw/OmniRoute --list

SKILL.md

Frontmatter
{
    "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>

Version History

  • d804179 Current 2026-10-19 14:20

    新增 models test-add 子命令,支持在严格连接下验证并添加模型;增加 POST /api/provider-models/validate-and-add 端点,要求生成证明后注册。

  • a58000c 2026-09-28 06:17

    新增手动模型管理功能,支持添加、编辑和移除手动模型,同时保留完整目录。

  • 1cafd32 2026-07-25 11:46

Same Skill Collection

config/quality/skill-templates/green-prs/SKILL.md
config/quality/skill-templates/merge-batch/SKILL.md
config/quality/skill-templates/merge-prs/SKILL.md
config/quality/skill-templates/quality-scan/SKILL.md
config/quality/skill-templates/sweep-reds/SKILL.md
config/quality/skill-templates/validate-release-green/SKILL.md
skills/cli-a2a/SKILL.md
skills/cli-backup-sync/SKILL.md
skills/cli-batches/SKILL.md
skills/cli-chat/SKILL.md
skills/cli-compression/SKILL.md
skills/cli-contexts/SKILL.md
skills/cli-cost-usage/SKILL.md
skills/cli-eval/SKILL.md
skills/cli-health/SKILL.md
skills/cli-keys/SKILL.md
skills/cli-mcp/SKILL.md
skills/cli-plugins-skills/SKILL.md
skills/cli-policy-audit/SKILL.md
skills/cli-providers/SKILL.md
skills/cli-resilience/SKILL.md
skills/cli-routing/SKILL.md
skills/cli-serve/SKILL.md
skills/cli-setup/SKILL.md
skills/cli-skill-collector/SKILL.md
skills/cli-tunnel/SKILL.md
skills/config-codex-cli/SKILL.md
skills/omni-agents-a2a/SKILL.md
skills/omni-api-keys/SKILL.md
skills/omni-auth/SKILL.md
skills/omni-budget/SKILL.md
skills/omni-cache/SKILL.md
skills/omni-cli-tools/SKILL.md
skills/omni-combos-routing/SKILL.md
skills/omni-compression/SKILL.md
skills/omni-context-rtk/SKILL.md
skills/omni-db-backups/SKILL.md
skills/omni-github-skills/SKILL.md
skills/omni-inference/SKILL.md
skills/omni-mcp/SKILL.md
skills/omni-models/SKILL.md
skills/omni-providers/SKILL.md
skills/omni-proxies/SKILL.md
skills/omni-resilience/SKILL.md
skills/omni-settings/SKILL.md
skills/omni-sync-cloud/SKILL.md
skills/omni-tunnels/SKILL.md
skills/omni-usage-logs/SKILL.md
skills/omni-version-manager/SKILL.md

Metadata

Files
0
Version
d804179
Hash
e30f6391
Indexed
2026-07-25 11:46

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-25 08:51
浙ICP备14020137号-1