Agent skill

OmniRoute Providers CLI

by diegosouzapw in diegosouzapw/OmniRoute

Command reference for managing provider connections in the omniroute gateway: browse the catalog, test and validate connections, rotate API keys and read per-provider metrics.

MITAuto-check passedAI & LLM Engineering

Install OmniRoute Providers CLI

skills CLI
$ npx skills add diegosouzapw/OmniRoute --skill cli-providers -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install diegosouzapw/OmniRoute cli-providers --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/diegosouzapw/OmniRoute.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cli-providers .claude/skills/cli-providers && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cli-providers
GitHub stars
74k
Token cost
~2.2k tokens
SKILL.md length
359 words
Files
1
Skills in repo
50
Repo updated
First seen
Licence
MIT

At a glance

Command reference for managing provider connections in the omniroute gateway: browse the catalog, test and validate connections, rotate API keys and read per-provider metrics.

  • Checking which provider connections are configured and whether they respond
  • SKILL.md covers Overview, Quick install, Subcommands and Provider catalog (available…, plus 11 more sections
  • Calls npm
  • Rotating a provider API key with a dry run first

What it does

The providers group starts with discovery: available shows the gateway's catalog and can be filtered by search text or category, and list shows the connections you have configured. A single connection can be tested by ID or name, all active connections can be tested together, and validate checks local configuration without calling the upstream service. Most of these take a JSON output flag.

Key rotation works on one connection and supports a new key, a key read from an environment variable, an OAuth flow, a dry run, skipping the post-rotation test and a confirmation switch. Status and metrics commands report per provider or connection over a chosen period, with metric selection, sorting, a watch mode and comparison across a list. A separate test-provider command can run across all providers, measure latency, repeat requests, compare models and save results to a path.

When your agent uses it

  • Checking which provider connections are configured and whether they respond
  • Rotating a provider API key with a dry run first
  • Comparing latency across models for a provider
  • Validating local provider settings without hitting the upstream APIs

Example prompts

  • “Test all active omniroute provider connections and show the results as JSON.”
  • “Rotate the key for my openai connection from the OPENAI_API_KEY environment variable, dry run first.”
  • “List the providers in the omniroute catalog that match the search term coding.”

Requirements

  • The omniroute CLI, installed with npm or run through npx

What it can do on your machine

Read from SKILL.md and the folder at commit 8ad6b1c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

OmniRoute Providers CLI loads about 2.2k tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 359 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from diegosouzapw/OmniRoute at commit 8ad6b1c, republished under its MIT licence (© diegosouzapw). 359 words, ~2,156 tokens.

Download SKILL.mdSave it as .claude/skills/cli-providers/SKILL.md (or your agent's skills folder).
name
cli-providers
description
Manage provider connections from the CLI: list available/configured providers, add, test, test-all, validate, rotate API keys, and view per-provider metrics.
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

Overview

Manage provider connections from the CLI: list available/configured providers, add, test, test-all, validate, rotate API keys, and view per-provider metrics.

Quick install

bash
npm install -g omniroute   # or: npx omniroute
omniroute --version

Subcommands

provider-cmd provider [subcommand]

Manage provider connections (use

Example:

bash
omniroute provider-cmd provider [subcommand]
providers

Example:

bash
omniroute providers
providers available

Show available providers in the OmniRoute catalog

Flags:

  • --json
  • --search <query>
  • -q, --q <query>
  • --category <category>

Example:

bash
omniroute providers available
providers list

List configured provider connections

Flags:

  • --json

Example:

bash
omniroute providers list
providers test <idOrName>

Test a configured provider connection

Flags:

  • --json

Example:

bash
omniroute providers test <idOrName>
providers test-all

Test all active provider connections

Flags:

  • --json

Example:

bash
omniroute providers test-all
providers validate

Validate local provider configuration without calling upstream

Flags:

  • --json

Example:

bash
omniroute providers validate
providers rotate <idOrName>

Flags:

  • --new-key <key>
  • --from-env <VAR>
  • --oauth
  • --yes
  • --skip-test
  • --dry-run

Example:

bash
omniroute providers rotate <idOrName>
providers status

Flags:

  • --provider <name>
  • --json

Example:

bash
omniroute providers status
providers metrics

Flags:

  • --provider <id>
  • --connection-id <id>
  • --period <p>
  • --metric <m>
  • --sort-by <field>
  • --limit <n>
  • --watch
  • --compare <list>

Example:

bash
omniroute providers metrics
providers metric <connectionId> <metric>

Flags:

  • --period <p>

Example:

bash
omniroute providers metric <connectionId> <metric>
test-provider test [provider] [model]

Flags:

  • --all-providers
  • --json
  • --latency
  • --repeat <n>
  • --compare <models>
  • --save <path>

Example:

bash
omniroute test-provider test [provider] [model]
<!-- skill:custom-start -->
<!-- Migrated from skills/omniroute-cli-providers/SKILL.md (preserved curated content) -->

OmniRoute — CLI Providers & Keys

Requires the omniroute CLI. See CLI entry-point skill for install + global flags.

Provider catalog (available providers)

bash
omniroute providers available                        # Full OmniRoute provider catalog
omniroute providers available --search openai        # Filter by id, name, alias
omniroute providers available --category api-key     # Filter by category
omniroute providers available --json                 # Machine-readable JSON

Categories: api-key, oauth, free, local, combo.

Configured provider connections

bash
omniroute providers list                             # Connections in your DB
omniroute providers list --json

Testing connections

bash
omniroute providers test <id|name>                   # Test one configured connection
omniroute providers test-all                         # Test every active connection (TUI progress)
omniroute providers validate                         # Local-only structural validation (no HTTP)

test-all opens an interactive TUI that shows live pass/fail per connection. Use --json to get a machine-readable result:

bash
omniroute providers test-all --json
Show full SKILL.md (154 more words)Show less

API key management (OmniRoute keys)

These manage the OmniRoute API keys issued under API Manager — not provider credentials.

bash
omniroute keys list                                  # List all OmniRoute API keys
omniroute keys add <provider> [apiKey]               # Add an API key for a provider
omniroute keys remove <provider>                     # Remove an API key
omniroute keys regenerate <id>                       # Regenerate (rotate) a key
omniroute keys revoke <id>                           # Revoke a key (disables it)
omniroute keys reveal <id>                           # Show the full key value
omniroute keys usage <id>                            # Show usage stats for a key

omniroute keys rotate <id>                           # Rotate + revoke old key atomically
omniroute keys expiration list                       # List key expiration times
Key policies
bash
omniroute keys policy show <id>                      # Show rate-limit / permission policy
omniroute keys policy set <id> \
  --rate-limit 100 \
  --rate-window minute \
  --permissions chat,models                          # Set policy on a key

Models

bash
omniroute models                                     # List all models (all providers)
omniroute models openai                              # Filter by provider
omniroute models --search gpt                        # Search by name
omniroute models --json                              # JSON output

OAuth providers

bash
omniroute oauth list                                 # List OAuth-configured providers
omniroute oauth login <provider>                     # Start browser-based OAuth flow
omniroute oauth logout <provider>                    # Revoke OAuth token
omniroute oauth status <provider>                    # Show token state + expiry
omniroute oauth refresh <provider>                   # Force token refresh

For OAuth providers (Gemini, Windsurf, Antigravity, etc.) the login command opens the OmniRoute dashboard OAuth flow in your browser.

Provider nodes (multi-account routing)

Provider nodes let you attach multiple API keys / accounts to one logical provider for round-robin or failover.

bash
omniroute nodes list <provider>                      # List nodes for a provider
omniroute nodes add <provider> --api-key <key>       # Add a node
omniroute nodes remove <provider> <nodeId>           # Remove a node
omniroute nodes test <provider> <nodeId>             # Test one node

Routing combos (CLI)

Create and manage routing combos from the terminal:

bash
omniroute combo list                                 # List all combos
omniroute combo create <name> \
  --strategy priority \
  --targets anthropic/claude-opus-4-7,openai/gpt-4o  # Create combo
omniroute combo switch <name>                        # Activate a combo as default
omniroute combo delete <name>                        # Delete a combo
omniroute combo suggest --task "code review"         # Ask OmniRoute to recommend a combo

For the full REST API for combos see omniroute-routing skill.

Quota & usage

bash
omniroute quota                                      # Provider quota usage + reset times
omniroute usage                                      # Request + token usage summary
omniroute cost                                       # Cost breakdown (by provider/model)

Compression (CLI)

bash
omniroute compression status                         # Current compression mode + savings stats
omniroute compression set --mode rtk                 # Enable RTK compression
omniroute compression set --mode stacked             # Enable stacked (RTK + Caveman)
omniroute compression set --mode off                 # Disable compression
omniroute compression preview --mode rtk --text "..."  # Preview savings for sample text

Health

bash
omniroute health                                     # Detailed health: circuit breakers, cache, memory

Errors

  • providers test <id> fails with 401 → API key stored for that provider is wrong; use keys remove + keys add to reset it
  • oauth login opens but doesn't complete → the OAuth token endpoint may be firewalled; use API key auth instead
  • combo create fails with strategy unknown → use one of: priority, weighted, round-robin, fill-first, least-used, cost-optimized, auto, random, strict-random, p2c, reset-aware, lkgp, context-optimized, context-relay
<!-- skill:custom-end -->

© diegosouzapw, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/cli-providers of diegosouzapw/OmniRoute.

Open the folder on GitHubat commit 8ad6b1c

Compare with similar skills

OmniRoute Providers CLI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

OmniRoute Providers CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
OmniRoute Providers CLI this skilldiegosouzapw/OmniRoute74k—~2.2kAutomated safety check: PassMIT
Using Ccproxy APIstarbaser/ccproxy348—~4kAutomated safety check: PassCustom licence
Caching Architecturemajiayu000/litellm-rs116—~2kAutomated safety check: PassMIT
OpenCodex Proxy Operationslidge-jun/opencodex17k—~3.1kAutomated safety check: PassMIT
9Router AI Gateway Setupdecolua/9router30k—~744Automated safety check: PassMIT
9Router Chat Completionsdecolua/9router30k—~635Automated safety check: PassMIT

Similar skills

  • Using Ccproxy API

    starbaser/ccproxy

    Guides users through ccproxy as an OpenAI-compatible and Anthropic-compatible LLM API server with SDK integration, OAuth authentication, sentinel key substitution, model routing, and troubleshooting.

    348 GitHub stars~4k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Caching Architecture

    majiayu000/litellm-rs

    LiteLLM-RS response caching architecture. An agent skill from majiayu000/litellm-rs.

    116 GitHub stars~2k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • OpenCodex Proxy Operations

    lidge-jun/opencodex

    Operates an opencodex (`ocx`) proxy: finds CLI tasks offline, checks local configuration, and manages accounts, providers, models, routing and usage reports.

    17k GitHub stars~3.1k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Sets up access to the 9Router AI gateway, an OpenAI-compatible REST endpoint for chat, images, speech, embeddings, web search and web fetch, and indexes its capability skills.

    30k GitHub stars~744 tokensUpdated 6 days ago
    AI & LLM EngineeringAuto-check passed
  • Sends chat and code-generation requests through a 9Router gateway using OpenAI or Anthropic message formats, with streaming and auto-fallback combos.

    30k GitHub stars~635 tokensUpdated 6 days ago
    AI & LLM EngineeringAuto-check passed
  • Pinme LLM

    glitternetwork/pinme

    A skill your agent uses when a PinMe project (Worker TypeScript) needs to call OpenRouter-backed LLM APIs, including models, chat/completions, streaming, or OpenRouter web search.

    3.7k GitHub starsUsed in 1 repo~2.8k tokens
    AI & LLM EngineeringAuto-check passed

More from diegosouzapw/OmniRoute

All 50 skills in this repo
  • OmniRoute Backup and Sync CLI

    diegosouzapw/OmniRoute

    Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.

    74k GitHub stars~948 tokensUpdated today
    Auto-check passed
  • OmniRoute Settings API

    diegosouzapw/OmniRoute

    Read and update global application settings: system prompts, thinking budget, IP filters, payload rules, combo defaults, and require-login configuration.

    74k GitHub starsUsed in 1 repo~3.6k tokens
    Auto-check passed
  • Quality Scan

    diegosouzapw/OmniRoute

    Runs a scoped, read-only quality scan on a repository candidate and reports exact evidence, failures and frozen debt, without treating a static scan as release acceptance.

    74k GitHub stars~748 tokensUpdated today
    Auto-check passed
  • OmniRoute Database Backups

    diegosouzapw/OmniRoute

    Trigger system backups, restore from backup files, and manage the SQLite database lifecycle. Supports export, import, and incremental snapshot strategies.

    74k GitHub starsUsed in 1 repo~395 tokens
    Auto-check passed
  • OmniRoute Provider Management

    diegosouzapw/OmniRoute

    Manages AI provider connections, API keys, OAuth flows and connection tests through OmniRoute's REST API across its 327-provider catalog.

    74k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • OmniRoute LLM Cache

    diegosouzapw/OmniRoute

    Documents OmniRoute's cache endpoints for reading cache statistics and clearing entries, statistics or the reasoning cache, with notes on TTL and similarity settings.

    74k GitHub starsUsed in 1 repo~529 tokens
    Auto-check passed

Questions about OmniRoute Providers CLI

What does OmniRoute Providers CLI do?

Command reference for managing provider connections in the omniroute gateway: browse the catalog, test and validate connections, rotate API keys and read per-provider metrics. The providers group starts with discovery: available shows the gateway's catalog and can be filtered by search text or category, and list shows the connections you have configured. A single connection can be tested by ID or name, all active connections can be tested together, and validate checks local configuration without calling the upstream service.

When should I use OmniRoute Providers CLI?

OmniRoute Providers CLI fits situations like: checking which provider connections are configured and whether they respond; rotating a provider API key with a dry run first; comparing latency across models for a provider; validating local provider settings without hitting the upstream APIs.

How do I install OmniRoute Providers CLI in Claude Code?

Run `npx skills add diegosouzapw/OmniRoute --skill cli-providers -a claude-code`. Or copy the skill folder (skills/cli-providers in diegosouzapw/OmniRoute) into .claude/skills/cli-providers in your project. Claude Code loads it when a task matches its description.

How do I install OmniRoute Providers CLI in Codex?

Run `npx skills add diegosouzapw/OmniRoute --skill cli-providers -a codex`. Or copy the skill folder (skills/cli-providers in diegosouzapw/OmniRoute) into .agents/skills/cli-providers in your project. Codex loads it when a task matches its description.

Can I use OmniRoute Providers CLI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add diegosouzapw/OmniRoute --skill cli-providers -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cli-providers, .gemini/skills/cli-providers, .github/skills/cli-providers and .opencode/skills/cli-providers in your project.

What does OmniRoute Providers CLI need to run?

Going by SKILL.md and its folder, OmniRoute Providers CLI needs the command-line tools its instructions call (npm). Our summary lists: The omniroute CLI, installed with npm or run through npx.

Does OmniRoute Providers CLI access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is OmniRoute Providers CLI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does OmniRoute Providers CLI use?

OmniRoute Providers CLI is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does OmniRoute Providers CLI use?

About 2.2k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to OmniRoute Providers CLI?

Skills that share tags, products or a category with OmniRoute Providers CLI: Using Ccproxy API (starbaser/ccproxy, 348 stars), Caching Architecture (majiayu000/litellm-rs, 116 stars), OpenCodex Proxy Operations (lidge-jun/opencodex, 17k stars) and 9Router AI Gateway Setup (decolua/9router, 30k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains OmniRoute Providers CLI?

diegosouzapw (a GitHub user) maintains it in diegosouzapw/OmniRoute, which has 73,701 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on October 6, 2026.

Source: diegosouzapw/OmniRoute on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.