cli-keys
The cli-keys skill provides command-line tools for managing OmniRoute API keys and OAuth authentication. Use it to create, list, rotate, and revoke API keys; configure key policies with rate limits and cost controls; manage OAuth provider connections; and monitor key usage and expiration directly from the terminal.
git clone --depth 1 https://github.com/diegosouzapw/OmniRoute /tmp/cli-keys && cp -r /tmp/cli-keys/skills/cli-keys ~/.claude/skills/cli-keysSKILL.md
<!-- 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 ```bash npm install -g omniroute # or: npx omniroute omniroute --version ``` ## Subcommands ### `keys` **Example:** ```bash omniroute keys ``` ### `keys add <provider> [apiKey]` **Flags:** - `--stdin` **Example:** ```bash omniroute keys add <provider> [apiKey] ``` ### `keys list` **Flags:** - `--json` **Example:** ```bash omniroute keys list ``` ### `keys remove <provider>` **Flags:** - `--yes` **Example:** ```bash omniroute keys remove <provider> ``` ### `keys regenerate <id>` **Flags:** - `--yes` **Example:** ```bash omniroute keys regenerate <id> ``` ### `keys revoke <id>` **Flags:** - `--yes` **Example:** ```bash omniroute keys revoke <id> ``` ### `keys reveal <id>` **Example:** ```bash omniroute keys reveal <id> ``` ### `keys usage <id>` **Flags:** - `--limit <n>` **Example:** ```bash omniroute keys usage <id> ``` ### `keys policy` **Example:** ```bash omniroute keys policy ``` ### `keys show <id>` **Example:** ```bash omniroute keys show <id> ``` ### `keys set <id>` **Flags:** - `--rate-limit <n>` - `--max-cost <n>` - `--allowed-models <list>` **Example:** ```bash omniroute keys set <id> ``` ### `keys expiration` **Example:** ```bash omniroute keys expiration ``` ### `keys list` **Flags:** - `--days <n>` - `--json` **Example:** ```bash omniroute keys list ``` ### `keys rotate <id>` **Flags:** - `--grace-period <ms>` - `--yes` **Example:** ```bash omniroute keys rotate <id> ``` ### `oauth` **Example:** ```bash omniroute oauth ``` ### `oauth providers` **Example:** ```bash omniroute oauth providers ``` ### `oauth start` **Flags:** - `--no-browser` - `--import-from-system` - `--social <s>` - `--timeout <ms>` **Example:** ```bash omniroute oauth start ``` ### `oauth status` **Flags:** - `--provider <id>` **Example:** ```bash omniroute oauth status ``` ### `oauth revoke` **Flags:** - `--connection-id <id>` - `--yes` **Example:** ```bash omniroute oauth revoke ```
Interact with the OmniRoute A2A server from the CLI. Send tasks, inspect skill execution history, and test the JSON-RPC 2.0 agent-to-agent protocol interactively.
Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.
Submit and monitor batch inference jobs from the CLI. Upload and manage files for batch processing, retrieve results, and integrate batch pipelines with CI/CD workflows.
Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all OmniRoute providers, combo routing, and system prompt configuration.
Configure and test prompt compression from the CLI. Manage RTK filters, Caveman rules, stacked compression modes, and preview compression output with real prompts.
Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.
View cost breakdowns, token usage, and call logs from the CLI. Filter by provider, model, or date range. Export usage reports and inspect per-connection spending.
Create and run evaluation suites, watch live benchmark progress, view scorecards, compare model performance, and integrate eval runs with CI workflows from the CLI.