About cli-models
cli-models is an OmniRoute CLI skill for browsing model catalogs, filtering by provider or capability, and resolving model names. It also supports testing OpenAI-compatible models and maintaining manual model entries.
Key features
- 01Browse and search model catalogs
- 02Filter models by provider
- 03Validate models with a tool round-trip
- 04Add and edit manual model metadata
- 05Remove manual model overrides
Use cases
- 01Finding models by provider or search term
- 02Testing an OpenAI-compatible model before adding it
- 03Recording model context and output limits
- 04Updating or removing manual model entries
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ cheaper-inference/ omniroute --skill cli-modelsAfter installing, type/cli-modelsin Claude Code to confirm it loaded.
Details
From the project READMEOverview
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>