Skip to content
Development
Skill

/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.

From plugin
omniroute
44k45 skills
Install
$ npx -y skills add diegosouzapw/OmniRoute --skill cli-keys --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/cli-keys

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

cli-keys.SKILL.md
name: cli-keys
description: Create, list, rotate, and revoke OmniRoute API keys from the CLI. Manage OAuth flows for provider authentication and inspect key scopes and expiration.

<!-- 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>`

**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
Read more
Ships withomniroute

Never stop coding. Free MIT AI gateway: one endpoint, 290+ providers (90+ free), 500+ models — Kimi, Claude, GPT, OpenAI, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 500+ contributors

Get the whole plugin
Stats
44,359
Stars
5,961
Forks
Active
Maintenance
TypeScript
Language
MIT
License
4m ago
Last commit
5mo ago
Created

Repo: diegosouzapw/OmniRoute