跳到主要内容

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 327-provider catalog.

在 GitHub 打开

安装方式

cp -r skills/omni-providers ~/.claude/skills/omni-providers

把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/

整仓一次性获取:git clone --depth 1 https://github.com/diegosouzapw/OmniRoute.git

依赖与权限

  • 需要 API Key —— 使用前需配置相应的密钥环境变量
  • 需要联网访问外部服务
  • 依赖外部命令:curl
  • 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。

SKILL.md 正文

来源 diegosouzapw/OmniRoute@7f3cbb0 · 许可 MIT · 内容未修改

<!-- 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 327-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}/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)
  • [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.

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.

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

Response example:

{
  "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.

curl https://localhost:20128/api/providers/health-matrix \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

<!-- skill:custom-end -->

质量与来源

所属仓库
diegosouzapw/OmniRoute
仓库星标
7.6 万
最近更新
昨天
采集时间
今天
commit
7f3cbb046b37
内容指纹
sha256:67e978fe38777ee
文件路径
skills/omni-providers/SKILL.md

同仓库其它 Skill

查看全部 50 个
green-prs
Inspect and prepare the selected PR queue against its exact current base, repair authorized defects with contributor credit, and report full versus partial validation. Use for maintainer pre-greening; merging requires separate owner authorization and the shared merge gates.
精选 diegosouzapw/OmniRoute 7.6 万 原文
Claude CodeClineCodex CLI
merge-prs
Consume analyzed PR plans, implement authorized fixes with contributor credit, validate exact candidates, and merge only owner-selected and explicitly authorized groups through the shared gates. Requires prior review evidence; unknown or failing required checks remain HOLD.
精选 diegosouzapw/OmniRoute 7.6 万 原文
Claude CodeClineCodex CLI
quality-scan
Run a scoped, read-only quality scan and report exact-candidate evidence, failures and frozen debt. Use for an ad-hoc gate sweep or release preparation; a static scan is not full release acceptance.
精选 diegosouzapw/OmniRoute 7.6 万 原文
Claude CodeClineCodex CLI
sweep-reds
Repair confirmed CI failures base-first, then prepare affected PRs one at a time with exact-candidate evidence. Use when asked to sweep reds or restore the queue. Never merges, closes PRs, weakens tests, or changes CI under ordinary sweep authority.
精选 diegosouzapw/OmniRoute 7.6 万 原文
Claude CodeClineCodex CLI
validate-release-green
Run or inspect the local Release-Green observer for an exact base or combined PR candidate, separating hard failures, advisory drift and incomplete evidence. Use for maintainer preflight; full CI acceptance remains a separate requirement.
精选 diegosouzapw/OmniRoute 7.6 万 原文
Claude CodeClineCodex CLI
cli-a2a
Interact with the OmniRoute A2A server from the CLI. Send tasks, inspect skill execution history, and test the JSON-RPC 2.0 agent-to-agent protocol interactively.
精选 diegosouzapw/OmniRoute 7.6 万 原文
Claude CodeClineCodex CLI

相似 Skill

更多「编码」
access
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Discord channel.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
configure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how do I set this up" or "who can reach me," or wants to check channel status.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
access
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the iMessage channel.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
configure
Check iMessage channel setup and review access policy. Use when the user asks to configure iMessage, asks "how do I set this up" or "who can reach me," or wants to know why texts aren't reaching the assistant.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
access
Manage Telegram channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Telegram channel.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
configure
Set up the Telegram channel — save the bot token and review access policy. Use when the user pastes a Telegram bot token, asks to configure Telegram, asks "how do I set this up" or "who can reach me," or wants to check channel status.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端