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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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.
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.
Popularity
- GitHub stars
- 84k
- Ranking position
- #1405
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
cli-a2a
84kRuns the OmniRoute command line for agent-to-agent tasks, letting you send work, check task history and test skills.
cli-backup-sync
84kRuns OmniRoute data backups from the command line, including snapshots, cloud sync, schedules and restores from archives.
cli-batches
84kSubmits batch AI jobs from the command line, tracks their progress and saves results or errors, including for CI pipelines.
cli-chat
84kSends chat requests to AI models from the command line, with streaming replies, system prompts and an interactive session.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.