omni-models — скилл для Claude Code: что делает и как установить
Запрашивает список доступных ИИ-моделей у настроенных провайдеров через локальный сервис OmniRoute. Помогает находить модели по фильтрам и управлять алиасами.
npx skills add cheaper-inference/OmniRoute --skill omni-models -a claude-codeЧто делает omni-models
Скилл обращается к API OmniRoute для получения данных о моделях от настроенных провайдеров. Через эндпоинты GET /api/v1/models и POST /api/v1/models/query агент фильтрует варианты по контексту, типу или возможностям, а также считывает каталог OpenRouter. Результаты выдачи упорядочены по владельцу и идентификатору.
Для выполнения запросов обязательно требуется токен Bearer или сессионная кука из POST /api/auth/login. Если сервис поднят локально, проверку ключа можно отключить переменной REQUIRE_API_KEY=false, иначе вызовы завершатся ошибкой доступа. Также инструмент позволяет запускать тесты доступности для отдельной модели или всего каталога сразу.
Какие задачи решает
- получить список доступных моделей от подключённых провайдеров
- настроить алиасы для нужных языковых моделей через API
- отфильтровать модели по минимальному контексту и возможностям
- протестировать доступность конкретной модели или всего каталога
Примеры запросов агенту
- Запроси список доступных моделей через OmniRoute с фильтром по контексту
- Создай алиас для новой модели через POST /api/models/alias
- Запусти проверку всех моделей через POST /api/models/test-all
Как установить omni-models
1Через Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill omni-models -a claude-code2Вручную: положить файлы
~/.claude/skills/omni-models/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/omni-models/
1Через Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill omni-models -a codex2Вручную: положить файлы
.agents/skills/omni-models/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill omni-models -a cursor2Вручную: положить файлы
.cursor/skills/omni-models/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install cheaper-inference/OmniRoute omni-models2Вручную: положить файлы
.github/skills/omni-models/SKILL.md1Через Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill omni-models -a gemini-cli2Командой платформы
gemini skills install https://github.com/cheaper-inference/OmniRoute --path skills/omni-modelsВручную: положить файлы
.devin/skills/omni-models/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill omni-models -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора34
Весь набор →Похожие
Вопросы о omni-models
Как установить omni-models в Claude Code?
Выполните команду npx skills add cheaper-inference/OmniRoute --skill omni-models -a claude-code в терминале.
Что делает omni-models?
Скилл запрашивает API OmniRoute, позволяя просматривать каталог моделей разных провайдеров, искать варианты по параметрам и управлять алиасами.
Что требуется для авторизации запросов в OmniRoute?
Нужен действующий Bearer-токен или сессионная кука из POST /api/auth/login. Для локальной среды без авторизации можно выставить REQUIRE_API_KEY=false.
Исходный текст
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