/cli-contexts
Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.
$ npx -y skills add diegosouzapw/OmniRoute --skill cli-contexts --agent claude-codeHow 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-contexts
Context preview
The summary Claude sees to decide when to auto-load this skill.
Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.
SKILL.md
cli-contexts.SKILL.mdname: cli-contexts
description: Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->
Overview
Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.
Quick install
npm install -g omniroute # or: npx omniroute
omniroute --version
Subcommands
`context-eng`
**Example:**
omniroute context-eng
`context-eng analytics`
**Flags:**
- `--period <p>`
**Example:**
omniroute context-eng analytics
`context-eng caveman`
**Example:**
omniroute context-eng caveman
`context-eng config`
**Example:**
omniroute context-eng config
`context-eng show`
**Example:**
omniroute context-eng show
`context-eng set`
**Flags:**
- `--aggressiveness <n>`
- `--max-shrink-pct <n>`
- `--preserve-tags <list>`
**Example:**
omniroute context-eng set
`context-eng rtk`
**Example:**
omniroute context-eng rtk
`context-eng config`
**Example:**
omniroute context-eng config
`context-eng show`
**Example:**
omniroute context-eng show
`context-eng set`
**Flags:**
- `--token-budget <n>`
- `--reserve-pct <n>`
**Example:**
omniroute context-eng set
`context-eng filters`
**Example:**
omniroute context-eng filters
`context-eng list`
**Example:**
omniroute context-eng list
`context-eng add`
**Flags:**
- `--priority <n>`
- `--action <a>`
**Example:**
omniroute context-eng add
`context-eng remove <id>`
**Flags:**
- `--yes`
**Example:**
omniroute context-eng remove <id>
`context-eng test`
**Example:**
omniroute context-eng test
`context-eng raw-output <id>`
**Example:**
omniroute context-eng raw-output <id>
`context-eng combos`
**Example:**
omniroute context-eng combos
`context-eng list`
**Example:**
omniroute context-eng list
`context-eng get <id>`
**Example:**
omniroute context-eng get <id>
`context-eng assignments <id>`
**Example:**
omniroute context-eng assignments <id>
`contexts`
**Example:**
omniroute contexts
`contexts list`
List all contexts
**Example:**
omniroute contexts list
`contexts add <name>`
Add a new context
**Flags:**
- `--api-key <k>`
- `--api-key-stdin`
- `--access-token <t>`
- `--access-token-stdin`
- `--scope <s>`
- `--description <d>`
**Example:**
omniroute contexts add <name>
`contexts use <name>`
Switch active context
**Example:**
omniroute contexts use <name>
`contexts current`
Show the active context (server, auth, scope)
**Flags:**
- `--name-only`
**Example:**
omniroute contexts current
`contexts show <name>`
Show context details
**Example:**
omniroute contexts show <name>
`contexts remove <name>`
Remove a context
**Flags:**
- `--yes`
**Example:**
omniroute contexts remove <name>
`contexts rename <old> <new>`
Rename a context
**Example:**
omniroute contexts rename <old> <new>
`contexts export`
Export contexts to JSON
**Flags:**
- `--out <path>`
- `--no-secrets`
**Example:**
omniroute contexts export
`contexts import <file>`
Import contexts from a JSON file
**Flags:**
- `--merge`
**Example:**
omniroute contexts import <file>
`sessions`
**Example:**
omniroute sessions
`sessions list`
**Flags:**
- `--user <u>`
- `--kind <k>`
- `--active`
- `--limit <n>`
**Example:**
omniroute sessions list
`sessions show <sessionId>`
**Example:**
omniroute sessions show <sessionId>
`sessions expire <sessionId>`
**Flags:**
- `--yes`
**Example:**
omniroute sessions expire <sessionId>
`sessions expire-all`
**Flags:**
- `--yes`
**Example:**
omniroute sessions expire-all
`sessions current`
**Example:**
omniroute sessions current
Read more
name: cli-contexts description: Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->
Overview
Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.
Quick install
npm install -g omniroute # or: npx omniroute omniroute --version
Subcommands
`context-eng`
**Example:**
omniroute context-eng
`context-eng analytics`
**Flags:**
- `--period <p>`
**Example:**
omniroute context-eng analytics
`context-eng caveman`
**Example:**
omniroute context-eng caveman
`context-eng config`
**Example:**
omniroute context-eng config
`context-eng show`
**Example:**
omniroute context-eng show
`context-eng set`
**Flags:**
- `--aggressiveness <n>`
- `--max-shrink-pct <n>`
- `--preserve-tags <list>`
**Example:**
omniroute context-eng set
`context-eng rtk`
**Example:**
omniroute context-eng rtk
`context-eng config`
**Example:**
omniroute context-eng config
`context-eng show`
**Example:**
omniroute context-eng show
`context-eng set`
**Flags:**
- `--token-budget <n>`
- `--reserve-pct <n>`
**Example:**
omniroute context-eng set
`context-eng filters`
**Example:**
omniroute context-eng filters
`context-eng list`
**Example:**
omniroute context-eng list
`context-eng add`
**Flags:**
- `--priority <n>`
- `--action <a>`
**Example:**
omniroute context-eng add
`context-eng remove <id>`
**Flags:**
- `--yes`
**Example:**
omniroute context-eng remove <id>
`context-eng test`
**Example:**
omniroute context-eng test
`context-eng raw-output <id>`
**Example:**
omniroute context-eng raw-output <id>
`context-eng combos`
**Example:**
omniroute context-eng combos
`context-eng list`
**Example:**
omniroute context-eng list
`context-eng get <id>`
**Example:**
omniroute context-eng get <id>
`context-eng assignments <id>`
**Example:**
omniroute context-eng assignments <id>
`contexts`
**Example:**
omniroute contexts
`contexts list`
List all contexts
**Example:**
omniroute contexts list
`contexts add <name>`
Add a new context
**Flags:**
- `--api-key <k>`
- `--api-key-stdin`
- `--access-token <t>`
- `--access-token-stdin`
- `--scope <s>`
- `--description <d>`
**Example:**
omniroute contexts add <name>
`contexts use <name>`
Switch active context
**Example:**
omniroute contexts use <name>
`contexts current`
Show the active context (server, auth, scope)
**Flags:**
- `--name-only`
**Example:**
omniroute contexts current
`contexts show <name>`
Show context details
**Example:**
omniroute contexts show <name>
`contexts remove <name>`
Remove a context
**Flags:**
- `--yes`
**Example:**
omniroute contexts remove <name>
`contexts rename <old> <new>`
Rename a context
**Example:**
omniroute contexts rename <old> <new>
`contexts export`
Export contexts to JSON
**Flags:**
- `--out <path>`
- `--no-secrets`
**Example:**
omniroute contexts export
`contexts import <file>`
Import contexts from a JSON file
**Flags:**
- `--merge`
**Example:**
omniroute contexts import <file>
`sessions`
**Example:**
omniroute sessions
`sessions list`
**Flags:**
- `--user <u>`
- `--kind <k>`
- `--active`
- `--limit <n>`
**Example:**
omniroute sessions list
`sessions show <sessionId>`
**Example:**
omniroute sessions show <sessionId>
`sessions expire <sessionId>`
**Flags:**
- `--yes`
**Example:**
omniroute sessions expire <sessionId>
`sessions expire-all`
**Flags:**
- `--yes`
**Example:**
omniroute sessions expire-all
`sessions current`
**Example:**
omniroute sessions current
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
Repo: diegosouzapw/OmniRoute
Other skills on omniroute.
- /cli-a2a
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.
Open skill - /cli-backup-sync
Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.
Open skill - /cli-batches
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.
Open skill - /cli-chat
Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all OmniRoute providers, combo routing, and system prompt configuration.
Open skill - /cli-compression
Configure and test prompt compression from the CLI. Manage RTK filters, Caveman rules, stacked compression modes, and preview compression output with real prompts.
Open skill - /cli-cost-usage
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.
Open skill

