cli-keys

SkillSecurity

cli-keys is a security skill that lets an AI manage OmniRoute API keys and logins from the command line. Once added, your AI can create, list, rotate, and revoke keys and handle OAuth logins for providers. It can also check what each key is allowed to do and when it expires.

Available today. Use it from your connected AI after setup.

After adding the skill, ask your AI to list your current OmniRoute API keys or create a new one. From there, you can have it rotate or revoke keys whenever needed.

Then ask your AI: use the cli-keys skill

What your AI can do with it

  • Create new OmniRoute API keys
  • List existing API keys
  • Rotate OmniRoute API keys
  • Revoke API keys that are no longer needed
  • Manage OAuth logins for provider authentication
  • See a key's scopes and expiration date

What this skill tells your AI

The instructions your AI receives, as published by diegosouzapw/omniroute in skills/cli-keys/SKILL.md and read by ahel’s review.

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

Signals

GitHub stars
66k
Forks
9k
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
cli-keys
Source
github.com/diegosouzapw/omniroute