Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

omni-models — Claude Code skill: what it does, how to install

Queries available AI models across configured providers via OmniRoute. Helps filter models, resolve aliases, and inspect the catalog.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add cheaper-inference/OmniRoute --skill omni-models -a claude-code
Open on GitHub

What omni-models does

This skill interacts with the OmniRoute API to inspect and query artificial intelligence models across configured providers. Through endpoints like GET /api/v1/models and POST /api/v1/models/query, the agent filters models by context length, capability, or kind. It also retrieves provider variants, manages aliases, and accesses the OpenRouter catalog. Shortlist queries return results ordered by owner and identifier.

Every request requires a valid Bearer token or session cookie obtained from POST /api/auth/login. Without authentication, calls fail unless you set REQUIRE_API_KEY=false in your local development environment. The skill also exposes endpoints to test single models or run validation across all configured providers at once.

What it helps with

  • list available models across configured providers
  • create and update model aliases via API endpoints
  • filter model shortlists by context window and capabilities
  • test a single model or trigger checks across all configured providers

Example prompts for the agent

  • List all available models in OmniRoute filtered by context length
  • Create a new model alias using POST /api/models/alias
  • Run connectivity tests for all models via POST /api/models/test-all

How to install omni-models

1Skills CLI (Vercel)

npx skills add cheaper-inference/OmniRoute --skill omni-models -a claude-code

2Manually: put the files in place

~/.claude/skills/omni-models/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/omni-models/

From the same set34

The whole set →
cli-setup cheaper-inference Helps the agent configure OmniRoute, manage autostart, apply CLI updates, and adjust session environment variables. Claude Code CX Codex Cursor +1 1,200installs omni-combos-routing cheaper-inference This skill creates and manages model routing combos with fallback chains, tests, and metrics. Use it when OmniRoute needs configurable provider routing. Claude Code CX Codex Cursor +1 1,200installs omni-inference cheaper-inference Connects OpenAI-compatible inference endpoints for chat, embeddings, audio, and images. Useful for AI agents calling OmniRoute endpoints. Claude Code CX Codex Cursor +1 1,100installs cli-providers cheaper-inference Manage OmniRoute provider connections from the CLI: inspect the catalog, test connections, rotate keys, and view metrics. Useful when provider setup is part of your terminal workflow. Claude Code CX Codex Cursor +1 1,100installs omni-auth cheaper-inference Manage API keys and sessions in OmniRoute. Authenticates requests via Bearer tokens, handles dashboard login with password or OIDC, and controls session access. Claude Code CX Codex Cursor +1 1,100installs cli-routing cheaper-inference Manage model routing combos from the command line with omniroute. Test routing strategies, inspect metrics, and configure fallback chains interactively. Claude Code CX Codex Cursor +1 1,100installs omni-mcp cheaper-inference Connects an agent to the OmniRoute MCP server for request routing, memory, cache, and audit work. Use it when those operations need to be available as MCP tools. Claude Code CX Codex Cursor +1 1,100installs omni-providers cheaper-inference Manages connections to 375 AI providers via REST API: adds keys, tests connections, syncs models. Claude Code CX Codex Cursor +1 1,100installs

Similar

market-sizing phuryn Skill for calculating market size using TAM, SAM, and SOM with top-down and bottom-up approaches. Helps validate market opportunity and prepare investor pitches. Claude Code CX Codex Cursor +1 3,000installs mem0-vercel-ai-sdk mem0ai Connects Mem0 memory to the Vercel AI SDK. It shows your agent how to retrieve and store context inside generateText and streamText calls. Claude Code CX Codex Cursor +1 508installs comfyui NousResearch This skill runs ComfyUI workflows for image, video, and audio generation. Use it when an agent needs to prepare, execute, or monitor a workflow. Claude Code CX Codex Cursor +1 391installs pandas-pro https://github.com/Jeffallan Skill for efficient pandas work: data cleaning, aggregation, table joins, time series. Useful if you manipulate DataFrames often and want to skip indexing errors and row loops. Claude Code CX Codex Cursor +1 5,700installs skill-creator official anthropics Creates and refines skills, then tests them with prompts, evaluations, and performance checks. Claude Code Claude.ai 414,180installs writing-for-agents Matt Pocock Guidance for writing skills and agent-facing documents. Use it when editing AGENTS.md, CLAUDE.md, or reference files reached from them. Claude Code 466,719installs media-use heygen-com Finds or generates media for HyperFrames videos, including voiceovers, music, cutouts, and color grades. Stores files locally in assets. Claude Code CX Codex Cursor +1 1,100,000installs mcp-builder official anthropics This skill walks through building an MCP server in TypeScript or Python, from reading the protocol spec to writing tests and evaluation questions. Claude Code Claude.ai 130,949installs

Questions about omni-models

How to install omni-models in Claude Code?

Run npx skills add cheaper-inference/OmniRoute --skill omni-models -a claude-code in your terminal.

What does omni-models do?

It connects to an OmniRoute instance to list available AI models, filter by capabilities, manage aliases, and run model tests.

How does authentication work for omni-models endpoints?

Requests require a Bearer token or session cookie from POST /api/auth/login. For local development without tokens, set REQUIRE_API_KEY=false.

Source text

SKILL.md · MIT
---
name: omni-models
description: Query available AI models across all configured providers. List models, resolve model aliases, and browse the full model catalog including provider-specific variants.
---
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

## Overview

Query available AI models across all configured providers. List models, resolve model aliases, and browse the full model catalog including provider-specific variants.

## Authentication

All requests require a valid Bearer token or session cookie. Obtain a token via `POST /api/auth/login` or configure `REQUIRE_API_KEY=false` for local development.

## Endpoints

### GET /api/v1/models

List available models

Returns all models available across configured providers. The discovery filters (`capability`, `min_context`, `kind`, `q`) are opt-in: without them the response is unchanged. They narrow the caller's own (key-filtered) catalog and run before `limit`/`after` paging.

```bash
curl http://localhost:20128/api/v1/models \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"
```

### POST /api/v1/models/query

Query a model shortlist

Filtered shortlist over the same catalog as `GET /v1/models` (same auth and per-key visibility). Results are ordered by `owned_by`, then `id`, and capped by `limit` (default 20, maximum 100).

```bash
curl -X POST http://localhost:20128/api/v1/models/query \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### GET /api/models

List models (management)

```bash
curl http://localhost:20128/api/models \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"
```

### POST /api/models/alias

Create or update a model alias

```bash
curl -X POST http://localhost:20128/api/models/alias \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### GET /api/models/catalog

Get full model catalog

```bash
curl http://localhost:20128/api/models/catalog \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"
```

### GET /api/models/openrouter-catalog

GET models › openrouter catalog

```bash
curl http://localhost:20128/api/models/openrouter-catalog \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"
```

### POST /api/models/test

POST models › test

```bash
curl -X POST http://localhost:20128/api/models/test \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### POST /api/models/test-all

POST models › test all

```bash
curl -X POST http://localhost:20128/api/models/test-all \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### GET /api/v1/models/{model}

GET models › <model>

```bash
curl http://localhost:20128/api/v1/models/{model} \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"
```

## Payloads

See the full OpenAPI specification at `GET /api/openapi/spec` or `docs/openapi.yaml` for detailed request/response schemas.

© cheaper-inference · MIT · cheaper-inference/OmniRoute

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor