Create, list, rotate, and revoke OmniRoute API keys from the CLI. Manage OAuth flows for provider authentication and inspect key scopes and expiration.
Install
npx skills add https://github.com/diegosouzapw/omniroute --skill cli-keysSKILL.md
Overview
Create, list, rotate, and revoke OmniRoute API keys from the CLI. Manage OAuth flows for provider authentication and inspect key scopes and expiration.
Quick install
npm install -g omniroute # or: npx omniroute
omniroute --version
Subcommands
keys
Example:
omniroute keys
keys add <provider> [apiKey]
Flags:
--stdin
Example:
omniroute keys add <provider> [apiKey]
keys list
Flags:
--json
Example:
omniroute keys list
keys remove <provider>
Flags:
--yes
Example:
omniroute keys remove <provider>
keys regenerate <id>
Flags:
--yes
Example:
omniroute keys regenerate <id>
keys revoke <id>
Flags:
--yes
Example:
omniroute keys revoke <id>
keys reveal <id>
Example:
omniroute keys reveal <id>
keys usage <id>
Flags:
--limit <n>
Example:
omniroute keys usage <id>
keys policy
Example:
omniroute keys policy
keys show <id>
Example:
omniroute keys show <id>
keys set <id>
Flags:
--rate-limit <n>--max-cost <n>--allowed-models <list>
Example:
omniroute keys set <id>
keys expiration
Example:
omniroute keys expiration
keys list
Flags:
--days <n>--json
Example:
omniroute keys list
keys rotate <id>
Flags:
--grace-period <ms>--yes
Example:
omniroute keys rotate <id>
oauth
Example:
omniroute oauth
oauth providers
Example:
omniroute oauth providers
oauth start
Flags:
--no-browser--import-from-system--social <s>--timeout <ms>
Example:
omniroute oauth start
oauth status
Flags:
--provider <id>
Example:
omniroute oauth status
oauth revoke
Flags:
--connection-id <id>--yes
Example:
omniroute oauth revoke
Related skills
cli-a2adiegosouzapwInteract 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.cli-backup-syncdiegosouzapwBackup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.cli-batchesdiegosouzapwSubmit and monitor batch inference jobs from the CLI. Upload and manage files for batch processing, retrieve results, and integrate batch pipelines with CI/CD workflows.cli-chatdiegosouzapwSend chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all OmniRoute providers, combo routing, and system prompt configuration.