Skip to content

cli-keys

Create, list, rotate, and revoke OmniRoute API keys from the CLI. Manage OAuth flows for provider authentication and inspect key scopes and expiration.

1,004
installs
0 up / 0 down, score 0.00
votes
79,391
repo stars
Updated
less than a month ago
In the catalog since
24 Oct 2026
From
cheaper-inference/omniroute
Get it through your agent npx skills add cheaper-inference/omniroute@cli-keys

Skill instructions

Rendered from the published SKILL.md, 227 lines.

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>

Show the whole skill (107 more lines)

Flags:

  • --rate-limit <n>
  • --max-cost <n>
  • --allowed-models <list>
  • --model-access-mode <mode>
  • --unrestricted

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:

  • --provider <id>
  • --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:

  • --provider <id>
  • --connection-id <id>
  • --yes

Example:

omniroute oauth revoke