Skip to content
Skillpedia
Security84k · #1405

cli-keys

What it does

This skill shows how to manage API keys for an AI gateway from the command line. It is for administrators who need to issue, rotate or revoke access safely.

When to use it

  • ✓When a user wants to create a new API key for a service.
  • ✓When a user needs to rotate or revoke an existing key.
  • ✓When a user wants to see key usage, limits or allowed models.

Skill link

https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-keys/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-keys/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Create a new API key for my app and show me its usage limits.”

5 new skills a week. 1 minute to read.

How it works

The skill lists commands to add provider keys, list and show keys, regenerate or revoke them, and set limits such as rate limits, spending caps and allowed models. Destructive actions ask for confirmation unless you pass a yes flag.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

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>
  • --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
FAQ

Can I see a key again after creating it?

The skill lists a reveal command for a key ID, so the full value can be shown when needed.

Can I limit which models a key uses?

Yes. The set command accepts a list of allowed models.

Are revoke and remove confirmed first?

Yes. They ask for confirmation unless you pass the yes flag.

Details

Original description by the author

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

repo: cheaper-inference/OmniRoute

Popularity

GitHub stars
84k
Ranking position
#1405
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills