Omni Providers
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 provider catalog.
Get the complete skill folder, including its scripts and reference files.
When to use this skill
Use Omni Providers when an AI agent needs a reusable SKILL.md workflow for this job: 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 provider catalog.
When not to use it
Skip Omni Providers when the task is outside the coding category, or when a more specific skill in this directory already covers the same workflow with clearer triggers.
How to install
Where will you use it?
mkdir -p ~/.claude/skills/omni-providers # Save SKILL.md to ~/.claude/skills/omni-providers/SKILL.md
- Claude Code personal install: place the skill and its bundled files at ~/.claude/skills/omni-providers/SKILL.md. For a shared project, commit the folder at .claude/skills/omni-providers/ instead.
- Current Claude Code detects SKILL.md changes in watched directories during the session. If you just created a top-level skills directory, run /reload-skills. Check that the skill is listed before testing its trigger.
- For Claude chat or Cowork in the Desktop app, manage uploaded skills in Customize > Skills; copying files into a local Claude Code folder is not a Desktop install. Other agents may use different install locations.
Full install guide for Claude, Cursor, and Codex →
Try a starter prompt
After installing the skill, paste this starter prompt into your agent to verify it triggers on a small task.
Use the Omni Providers skill for this task: Use Omni Providers when this documented workflow matches the task. Confirm any required inputs or files before making changes.
What supports this recommendation?
71/100 provisional content score. This measures documentation, practical detail and source signals. It is not a measured task success rate or a security certification.
- Documentation
- 77/100
- Practical detail
- 68/100
- Source evidence
- 63/100
- Source signals
- 72/100
Model compatibility evidence
- claudeinferred
The skill text mentions Claude or a closely associated term. This is keyword-derived compatibility; no hands-on model test is recorded.
- chatgptinferred
The skill text mentions ChatGPT or a closely associated term. This is keyword-derived compatibility; no hands-on model test is recorded.
- geminiuntested
No model-specific signal or recorded compatibility test was found.
- copilotuntested
No model-specific signal or recorded compatibility test was found.
- llamauntested
No model-specific signal or recorded compatibility test was found.
- perplexityuntested
No model-specific signal or recorded compatibility test was found.
- mistraluntested
No model-specific signal or recorded compatibility test was found.
- grokuntested
No model-specific signal or recorded compatibility test was found.
Inferred compatibility is based on content signals. Check the app, its available tools and setup requirements before running a skill.
What this skill does
<!-- 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 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) - [`PUT /api/provider-nodes/{id}`](references/endpoints.md#put-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) - [`POST /api/provider-models`](references/endpoints.md#post-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 -->
Intended uses
- Use Omni Providers when this documented workflow matches the task.
Implementation notes
- Review the source instructions and adapt inputs before running the workflow.
Try it, then tell us how it went
A copied prompt does not tell us whether the task worked. Report your result after checking the output. We collect your tool and outcome, never your files or prompt.