К основному содержанию
скилл Claude Code CX Codex Cursor GitHub Copilot

omni-providers — скилл для Claude Code: управление AI-провайдерами

Управляет подключениями к 375 AI-провайдерам через REST API: добавляет ключи, тестирует соединения, синхронизирует модели.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add cheaper-inference/OmniRoute --skill omni-providers -a claude-code
Открыть на GitHub

Что делает omni-providers

Скилл даёт доступ к REST API для управления провайдерами в OmniRoute. Можно добавлять и удалять подключения, загружать API-ключи, запускать OAuth-потоки, тестировать соединения и синхронизировать списки моделей. Эндпоинты покрывают операции CRUD для провайдеров, узлов, моделей, правил перехвата и фильтров параметров.

Все запросы требуют Bearer-токен или session cookie. Токен получается через POST /api/auth/login; для локальной разработки можно выставить REQUIRE_API_KEY=false. Скилл поддерживает импорт auth-данных из экспортов браузера для Claude, Codex и AGY, а также массовые операции через bulk-эндпоинты.

Каталог OmniRoute включает 375 провайдеров. Это повод проверить совместимость вашей инфраструктуры с конкретными API перед добавлением.

Какие задачи решает

  • добавить и протестировать подключение к новому AI-провайдеру
  • импортировать OAuth-токены из сессии браузера
  • валидировать API-ключи для нескольких провайдеров сразу
  • синхронизировать список доступных моделей с API провайдера
  • настроить правила перехвата запросов для конкретного провайдера

Примеры запросов агенту

  • Добавь подключение к провайдеру Anthropic с API-ключом из переменной окружения ANTHROPIC_KEY
  • Протестируй все настроенные провайдеры и покажи, какие возвращают ошибки
  • Импортируй auth-токены Claude из файла экспорта браузера claude_session.json

Как установить omni-providers

1Через Skills CLI (Vercel)

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

2Вручную: положить файлы

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

Папка скилла целиком; для одного проекта — .claude/skills/omni-providers/

Из того же набора34

Весь набор →
cli-setup cheaper-inference Помогает агенту настроить OmniRoute, управлять автозапуском демона, обновлять CLI и менять параметры текущей сессии. Claude Code CX Codex Cursor +1 1 200установок omni-combos-routing cheaper-inference Скилл создаёт и настраивает связки моделей с разными стратегиями маршрутизации, цепочками fallback и метриками. Пригодится для управления OmniRoute через API. Claude Code CX Codex Cursor +1 1 200установок omni-inference cheaper-inference Скилл подключает эндпоинты для чат-комплишенов, эмбеддингов, аудио и изображений в стиле OpenAI. Пригодится агентам для прямого доступа к API вывода моделей. Claude Code CX Codex Cursor +1 1 100установок cli-providers cheaper-inference Помогает управлять подключениями провайдеров через OmniRoute: смотреть список, проверять настройки и менять ключи. Пригодится для работы с подключениями из терминала. Claude Code CX Codex Cursor +1 1 100установок omni-auth cheaper-inference Скилл для управления API-ключами и сессиями в OmniRoute. Настраивает Bearer-токены для запросов, получает сессионные куки и конфигурирует вход в Dashboard через пароль или OIDC. Claude Code CX Codex Cursor +1 1 100установок cli-routing cheaper-inference Скилл помогает настраивать маршрутизацию языковых моделей через утилиту omniroute прямо из терминала. Позволяет создавать комбинации и переключать цепочки вызовов. Claude Code CX Codex Cursor +1 1 100установок omni-mcp cheaper-inference Подключает MCP-сервер OmniRoute к агенту для маршрутизации запросов, работы с памятью, кэшем и аудитом. Нужен, когда эти операции требуется вызывать через MCP-инструменты. Claude Code CX Codex Cursor +1 1 100установок cli-keys cheaper-inference Скилл помогает управлять ключами OmniRoute и авторизацией провайдеров через терминал. Пригодится при настройке доступов к моделям. Claude Code CX Codex Cursor +1 1 000установок

Похожие

gitnexus-cli abhigyanpatwari Скилл запускает команды GitNexus для индексации репозитория, проверки состояния и создания wiki. Пригодится, когда агенту нужен граф знаний проекта. Claude Code CX Codex Cursor +1 866установок paseo-plugin getpaseo Скилл помогает создавать и настраивать локальные плагины для Paseo: от интерфейсных панелей и слэш-команд до RPC и хуков жизненного цикла агентов. Claude Code CX Codex Cursor +1 1 400установок paseo-help getpaseo Отвечает на вопросы о настройке, подключении и сбоях Paseo. Нужен, когда требуется разобраться с демоном, провайдерами, логами или рабочими пространствами. Claude Code CX Codex Cursor +1 1 400установок ascii-art 0xbyt4, Hermes Agent Рисует текстовые баннеры, рамки, речевые пузыри и превращает картинки в ASCII-арт через pyfiglet, cowsay, boxes и конвертеры изображений. Claude Code CX Codex Cursor +1 423установок codebase-inspection Hermes Agent Считает строки кода, файлы и языки в репозитории через pygount. Пригодится для оценки размера и состава проекта. Claude Code CX Codex Cursor +1 420установок resume-quantifier Paramchoudhary Скилл находит места в резюме, где не хватает цифр, и помогает оценить числа, когда точных данных нет. Пригодится, если в пунктах опыта нет ни одной метрики. Claude Code CX Codex Cursor +1 10 000установок setup-matt-pocock-skills Matt Pocock Скилл настраивает репозиторий для инженерных скиллов Matt Pocock: задаёт трекер задач, метки триажа и расположение доменной документации. Запустите его перед первым использованием остальных скиллов. Claude Code 1 052 851установок to-tickets Matt Pocock Разбивает план, спецификацию или переписку на небольшие сквозные задачи и отмечает, какие из них блокируют остальные. Пригодится, когда нужно согласовать порядок работы до публикации задач в трекере. Claude Code 711 230установок

Вопросы о omni-providers

Как установить omni-providers в Claude Code?

Выполни npx skills add cheaper-inference/OmniRoute --skill omni-providers -a claude-code. Скилл появится в ~/.claude/skills/omni-providers/SKILL.md.

Что делает omni-providers?

Управляет подключениями к AI-провайдерам через REST API: добавляет и удаляет провайдеров, загружает ключи, тестирует соединения, импортирует OAuth-токены, синхронизирует модели. Поддерживает 375 провайдеров из каталога OmniRoute.

Нужна ли аутентификация для работы с API?

Да, все запросы требуют Bearer-токен или session cookie. Токен получается через POST /api/auth/login. Для локальной разработки можно отключить проверку, выставив REQUIRE_API_KEY=false.

Исходный текст

SKILL.md · MIT
---
name: omni-providers
description: "Manage provider connections, API keys, OAuth flows, and connection tests via the REST API. List, add, update, remove, and test AI provider integrations across OmniRoute's 375-provider catalog."
---
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

## Overview

Manage provider connections, API keys, OAuth flows, and connection tests via the REST API. List, add, update, remove, and test AI provider integrations across OmniRoute's 375-provider catalog.

## 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/providers`](references/endpoints.md#get-apiproviders)
- [`POST /api/providers`](references/endpoints.md#post-apiproviders)
- [`GET /api/providers/{id}`](references/endpoints.md#get-apiprovidersid)
- [`PATCH /api/providers/{id}`](references/endpoints.md#patch-apiprovidersid)
- [`DELETE /api/providers/{id}`](references/endpoints.md#delete-apiprovidersid)
- [`POST /api/providers/{id}/test`](references/endpoints.md#post-apiprovidersidtest)
- [`GET /api/providers/{id}/test-message`](references/endpoints.md#get-apiprovidersidtest-message)
- [`POST /api/providers/{id}/test-message`](references/endpoints.md#post-apiprovidersidtest-message)
- [`PUT /api/providers/{id}/test-message`](references/endpoints.md#put-apiprovidersidtest-message)
- [`GET /api/providers/{id}/models`](references/endpoints.md#get-apiprovidersidmodels)
- [`GET /api/providers/cursor/agent-availability`](references/endpoints.md#get-apiproviderscursoragent-availability)
- [`POST /api/providers/test-batch`](references/endpoints.md#post-apiproviderstest-batch)
- [`POST /api/providers/validate`](references/endpoints.md#post-apiprovidersvalidate)
- [`GET /api/providers/client`](references/endpoints.md#get-apiprovidersclient)
- [`POST /api/providers/agy-auth/import`](references/endpoints.md#post-apiprovidersagy-authimport)
- [`POST /api/providers/agy-auth/import-bulk`](references/endpoints.md#post-apiprovidersagy-authimport-bulk)
- [`POST /api/providers/agy-auth/zip-extract`](references/endpoints.md#post-apiprovidersagy-authzip-extract)
- [`POST /api/providers/agy-auth/apply-local`](references/endpoints.md#post-apiprovidersagy-authapply-local)
- [`GET /api/provider-nodes`](references/endpoints.md#get-apiprovider-nodes)
- [`POST /api/provider-nodes`](references/endpoints.md#post-apiprovider-nodes)
- [`PATCH /api/provider-nodes/{id}`](references/endpoints.md#patch-apiprovider-nodesid)
- [`DELETE /api/provider-nodes/{id}`](references/endpoints.md#delete-apiprovider-nodesid)
- [`POST /api/provider-nodes/validate`](references/endpoints.md#post-apiprovider-nodesvalidate)
- [`GET /api/provider-models`](references/endpoints.md#get-apiprovider-models)
- [`PUT /api/provider-models`](references/endpoints.md#put-apiprovider-models)
- [`POST /api/provider-models/validate-and-add`](references/endpoints.md#post-apiprovider-modelsvalidate-and-add)
- [`GET /api/providers/{id}/cc-alias`](references/endpoints.md#get-apiprovidersidcc-alias)
- [`PUT /api/providers/{id}/cc-alias`](references/endpoints.md#put-apiprovidersidcc-alias)
- [`GET /api/providers/{id}/chatgpt-web-codex-doctor`](references/endpoints.md#get-apiprovidersidchatgpt-web-codex-doctor)
- [`POST /api/providers/{id}/claude-auth/apply-local`](references/endpoints.md#post-apiprovidersidclaude-authapply-local)
- [`POST /api/providers/{id}/claude-auth/export`](references/endpoints.md#post-apiprovidersidclaude-authexport)
- [`POST /api/providers/{id}/codex-auth/apply-local`](references/endpoints.md#post-apiprovidersidcodex-authapply-local)
- [`POST /api/providers/{id}/codex-auth/export`](references/endpoints.md#post-apiprovidersidcodex-authexport)
- [`GET /api/providers/{id}/interception-rules`](references/endpoints.md#get-apiprovidersidinterception-rules)
- [`PUT /api/providers/{id}/interception-rules`](references/endpoints.md#put-apiprovidersidinterception-rules)
- [`DELETE /api/providers/{id}/interception-rules`](references/endpoints.md#delete-apiprovidersidinterception-rules)
- [`POST /api/providers/{id}/login`](references/endpoints.md#post-apiprovidersidlogin)
- [`GET /api/providers/{id}/param-filters`](references/endpoints.md#get-apiprovidersidparam-filters)
- [`PUT /api/providers/{id}/param-filters`](references/endpoints.md#put-apiprovidersidparam-filters)
- [`DELETE /api/providers/{id}/param-filters`](references/endpoints.md#delete-apiprovidersidparam-filters)
- [`POST /api/providers/{id}/refresh`](references/endpoints.md#post-apiprovidersidrefresh)
- [`POST /api/providers/{id}/refresh-cursor`](references/endpoints.md#post-apiprovidersidrefresh-cursor)
- [`POST /api/providers/{id}/refresh-token`](references/endpoints.md#post-apiprovidersidrefresh-token)
- [`POST /api/providers/{id}/sync-models`](references/endpoints.md#post-apiprovidersidsync-models)
- [`POST /api/providers/bulk`](references/endpoints.md#post-apiprovidersbulk)
- [`POST /api/providers/bulk-web-session`](references/endpoints.md#post-apiprovidersbulk-web-session)
- [`POST /api/providers/claude-auth/import`](references/endpoints.md#post-apiprovidersclaude-authimport)
- [`POST /api/providers/claude-auth/import-bulk`](references/endpoints.md#post-apiprovidersclaude-authimport-bulk)
- [`POST /api/providers/claude-auth/zip-extract`](references/endpoints.md#post-apiprovidersclaude-authzip-extract)
- [`POST /api/providers/codex-auth/import`](references/endpoints.md#post-apiproviderscodex-authimport)
- [`POST /api/providers/codex-auth/import-bulk`](references/endpoints.md#post-apiproviderscodex-authimport-bulk)
- [`POST /api/providers/codex-auth/zip-extract`](references/endpoints.md#post-apiproviderscodex-authzip-extract)
- [`POST /api/providers/command-code/auth/apply`](references/endpoints.md#post-apiproviderscommand-codeauthapply)
- [`POST /api/providers/command-code/auth/callback`](references/endpoints.md#post-apiproviderscommand-codeauthcallback)
- [`POST /api/providers/command-code/auth/start`](references/endpoints.md#post-apiproviderscommand-codeauthstart)
- [`GET /api/providers/command-code/auth/status`](references/endpoints.md#get-apiproviderscommand-codeauthstatus)
- [`POST /api/providers/command-code/auth/status`](references/endpoints.md#post-apiproviderscommand-codeauthstatus)
- [`GET /api/providers/expiration`](references/endpoints.md#get-apiprovidersexpiration)
- [`GET /api/providers/free-onboarding`](references/endpoints.md#get-apiprovidersfree-onboarding)
- [`POST /api/providers/free-onboarding`](references/endpoints.md#post-apiprovidersfree-onboarding)
- [`GET /api/providers/health-autopilot`](references/endpoints.md#get-apiprovidershealth-autopilot)
- [`POST /api/providers/health-autopilot/actions`](references/endpoints.md#post-apiprovidershealth-autopilotactions)
- [`GET /api/providers/health-matrix`](references/endpoints.md#get-apiprovidershealth-matrix)
- [`POST /api/providers/import`](references/endpoints.md#post-apiprovidersimport)
- [`GET /api/providers/openrouter-stats`](references/endpoints.md#get-apiprovidersopenrouter-stats)
- [`GET /api/providers/quota-windows`](references/endpoints.md#get-apiprovidersquota-windows)
- [`POST /api/providers/volcengine-plan/connect`](references/endpoints.md#post-apiprovidersvolcengine-planconnect)
- [`POST /api/providers/volcengine-plan/connect/{sessionId}/cancel`](references/endpoints.md#post-apiprovidersvolcengine-planconnectsessionidcancel)
- [`POST /api/providers/volcengine-plan/connect/{sessionId}/code`](references/endpoints.md#post-apiprovidersvolcengine-planconnectsessionidcode)
- [`POST /api/providers/volcengine-plan/connect/{sessionId}/identity`](references/endpoints.md#post-apiprovidersvolcengine-planconnectsessionididentity)
- [`POST /api/providers/volcengine-plan/connect/{sessionId}/resend`](references/endpoints.md#post-apiprovidersvolcengine-planconnectsessionidresend)
- [`GET /api/providers/volcengine-plan/connect/{sessionId}/status`](references/endpoints.md#get-apiprovidersvolcengine-planconnectsessionidstatus)
- [`GET /api/providers/web-session-contract`](references/endpoints.md#get-apiprovidersweb-session-contract)
- [`POST /api/providers/zed/discover`](references/endpoints.md#post-apiproviderszeddiscover)
- [`POST /api/providers/zed/import`](references/endpoints.md#post-apiproviderszedimport)
- [`POST /api/providers/zed/manual-import`](references/endpoints.md#post-apiproviderszedmanual-import)
## Payloads

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

<!-- skill:custom-start -->
## Additional endpoints

### POST /api/providers/{id}/refresh

Rotate / refresh OAuth tokens or re-validate credentials for a provider connection. Useful after token expiration or when credentials need to be renewed without deleting the connection.

```bash
curl -X POST https://localhost:20128/api/providers/{id}/refresh \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### GET /api/provider-metrics

Retrieve aggregated usage and performance metrics for all provider connections (request counts, error rates, latency percentiles, token usage). Used by dashboards and Auto-Combo scoring.

```bash
curl https://localhost:20128/api/provider-metrics \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"
```

**Response example:**
```json
{
  "providers": [
    {
      "id": "my-openai",
      "requestCount": 1240,
      "errorRate": 0.02,
      "p50LatencyMs": 340,
      "p99LatencyMs": 1200,
      "tokensIn": 500000,
      "tokensOut": 250000
    }
  ]
}
```

### GET /api/providers/health-matrix

Returns a health-matrix view of all providers with per-connection status, circuit-breaker state, and cooldown expiry. Useful for debugging routing decisions.

```bash
curl https://localhost:20128/api/providers/health-matrix \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"
```
<!-- skill:custom-end -->

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

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой