cli-models 精选
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.
安装方式
cp -r skills/cli-models ~/.claude/skills/cli-models把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/
https://raw.githubusercontent.com/diegosouzapw/OmniRoute/7f3cbb046b3706bf0bbc047b7eaa0cbada8d9e50/skills/cli-models/SKILL.md下载后另存为 ~/.claude/skills/cli-models/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/diegosouzapw/OmniRoute.git
依赖与权限
- 无需 API Key
- 无需联网
- 依赖外部命令:
npmnpx - 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.md 正文
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->
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>质量与来源
- 所属仓库
- diegosouzapw/OmniRoute
- 仓库星标
- 7.6 万
- 最近更新
- 昨天
- 采集时间
- 今天
- commit
- 7f3cbb046b37
- 内容指纹
- sha256:e30f639190f605a
- 文件路径
- skills/cli-models/SKILL.md