cli-contexts
The cli-contexts Claude Code skill provides command-line tools for managing context engineering configurations, RTK filter sets, and conversation sessions within OmniRoute. Use it to configure context parameters like token budgets and aggressiveness levels, manage filter sets with priority-based actions, inspect active context pipelines, and administer conversation contexts from the terminal.
git clone --depth 1 https://github.com/diegosouzapw/OmniRoute /tmp/cli-contexts && cp -r /tmp/cli-contexts/skills/cli-contexts ~/.claude/skills/cli-contextsSKILL.md
<!-- 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 ```bash npm install -g omniroute # or: npx omniroute omniroute --version ``` ## Subcommands ### `context-eng` **Example:** ```bash omniroute context-eng ``` ### `context-eng analytics` **Flags:** - `--period <p>` **Example:** ```bash omniroute context-eng analytics ``` ### `context-eng caveman` **Example:** ```bash omniroute context-eng caveman ``` ### `context-eng config` **Example:** ```bash omniroute context-eng config ``` ### `context-eng show` **Example:** ```bash omniroute context-eng show ``` ### `context-eng set` **Flags:** - `--aggressiveness <n>` - `--max-shrink-pct <n>` - `--preserve-tags <list>` **Example:** ```bash omniroute context-eng set ``` ### `context-eng rtk` **Example:** ```bash omniroute context-eng rtk ``` ### `context-eng config` **Example:** ```bash omniroute context-eng config ``` ### `context-eng show` **Example:** ```bash omniroute context-eng show ``` ### `context-eng set` **Flags:** - `--token-budget <n>` - `--reserve-pct <n>` **Example:** ```bash omniroute context-eng set ``` ### `context-eng filters` **Example:** ```bash omniroute context-eng filters ``` ### `context-eng list` **Example:** ```bash omniroute context-eng list ``` ### `context-eng add` **Flags:** - `--priority <n>` - `--action <a>` **Example:** ```bash omniroute context-eng add ``` ### `context-eng remove <id>` **Flags:** - `--yes` **Example:** ```bash omniroute context-eng remove <id> ``` ### `context-eng test` **Example:** ```bash omniroute context-eng test ``` ### `context-eng raw-output <id>` **Example:** ```bash omniroute context-eng raw-output <id> ``` ### `context-eng combos` **Example:** ```bash omniroute context-eng combos ``` ### `context-eng list` **Example:** ```bash omniroute context-eng list ``` ### `context-eng get <id>` **Example:** ```bash omniroute context-eng get <id> ``` ### `context-eng assignments <id>` **Example:** ```bash omniroute context-eng assignments <id> ``` ### `contexts` **Example:** ```bash omniroute contexts ``` ### `contexts list` List all contexts **Example:** ```bash omniroute contexts list ``` ### `contexts add <name>` Add a new context **Flags:** - `--api-key <k>` - `--api-key-stdin` - `--description <d>` **Example:** ```bash omniroute contexts add <name> ``` ### `contexts use <name>` Switch active context **Example:** ```bash omniroute contexts use <name> ``` ### `contexts current` Show current active context name **Example:** ```bash omniroute contexts current ``` ### `contexts show <name>` Show context details **Example:** ```bash omniroute contexts show <name> ``` ### `contexts remove <name>` Remove a context **Flags:** - `--yes` **Example:** ```bash omniroute contexts remove <name> ``` ### `contexts rename <old> <new>` Rename a context **Example:** ```bash omniroute contexts rename <old> <new> ``` ### `contexts export` Export contexts to JSON **Flags:** - `--out <path>` - `--no-secrets` **Example:** ```bash omniroute contexts export ``` ### `contexts import <file>` Import contexts from a JSON file **Flags:** - `--merge` **Example:** ```bash omniroute contexts import <file> ``` ### `sessions` **Example:** ```bash omniroute sessions ``` ### `sessions list` **Flags:** - `--user <u>` - `--kind <k>` - `--active` - `--limit <n>` **Example:** ```bash omniroute sessions list ``` ### `sessions show <sessionId>` **Example:** ```bash omniroute sessions show <sessionId> ``` ### `sessions expire <sessionId>` **Flags:** - `--yes` **Example:** ```bash omniroute sessions expire <sessionId> ``` ### `sessions expire-all` **Flags:** - `--yes` **Example:** ```bash omniroute sessions expire-all ``` ### `sessions current` **Example:** ```bash omniroute sessions current ```
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.
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.
Check server health, component status, and live metrics from the CLI. Run `health`, `health components`, and `health watch` for a real-time dashboard of circuit breakers and provider status.