cli-keys

SkillDev tools

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

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

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the cli-keys skill

About this capability

AI gateway with enhanced compliance for the domestic (China) market

What this skill tells your AI

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

Overview

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

Quick install

npm install -g AIRoute   # or: npx AIRoute
AIRoute --version

Subcommands

keys

Example:

AIRoute keys

keys add <provider> [apiKey]

Flags:

  • --stdin

Example:

AIRoute keys add <provider> [apiKey]

keys list

Flags:

  • --json

Example:

AIRoute keys list

keys remove <provider>

Flags:

  • --yes

Example:

AIRoute keys remove <provider>

keys regenerate <id>

Flags:

  • --yes

Example:

AIRoute keys regenerate <id>

keys revoke <id>

Flags:

  • --yes

Example:

AIRoute keys revoke <id>

keys reveal <id>

Example:

AIRoute keys reveal <id>

keys usage <id>

Flags:

  • --limit <n>

Example:

AIRoute keys usage <id>

keys policy

Example:

AIRoute keys policy

keys show <id>

Example:

AIRoute keys show <id>

keys set <id>

Flags:

  • --rate-limit <n>
  • --max-cost <n>
  • --allowed-models <list>

Example:

AIRoute keys set <id>

keys expiration

Example:

AIRoute keys expiration

keys list

Flags:

  • --days <n>
  • --json

Example:

AIRoute keys list

keys rotate <id>

Flags:

  • --grace-period <ms>
  • --yes

Example:

AIRoute keys rotate <id>

oauth

Example:

AIRoute oauth

oauth providers

Example:

AIRoute oauth providers

oauth start

Flags:

  • --no-browser
  • --import-from-system
  • --social <s>
  • --timeout <ms>

Example:

AIRoute oauth start

oauth status

Flags:

  • --provider <id>

Example:

AIRoute oauth status

oauth revoke

Flags:

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

Example:

AIRoute oauth revoke

Signals

GitHub stars
32
Forks
8
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
cli-keys-jaccen
Source
github.com/jaccen/airoute