cli-chat
The cli-chat skill provides command-line tools for interacting with Claude and other AI providers through OmniRoute. Use it to send single chat completions, stream responses in real time, or start interactive REPL sessions from the terminal, with support for system prompts, model selection, and advanced routing configurations like combo provider switching.
git clone --depth 1 https://github.com/diegosouzapw/OmniRoute /tmp/cli-chat && cp -r /tmp/cli-chat/skills/cli-chat ~/.claude/skills/cli-chatSKILL.md
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten --> ## Overview Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all OmniRoute providers, combo routing, and system prompt configuration. ## Quick install ```bash npm install -g omniroute # or: npx omniroute omniroute --version ``` ## Subcommands ### `chat [prompt]` **Flags:** - `--file <path>` - `--stdin` - `-s, --system <prompt>` - `-m, --model <id>` - `--max-tokens <n>` - `--temperature <t>` - `--top-p <p>` - `--reasoning-effort <level>` - `--thinking-budget <tokens>` - `--combo <name>` - `--responses-api` - `--stream` - `--no-history` **Example:** ```bash omniroute chat [prompt] ``` ### `repl` **Flags:** - `-m, --model <id>` - `--combo <name>` - `-s, --system <prompt>` - `--resume <session>` **Example:** ```bash omniroute repl ``` ### `stream [prompt]` **Flags:** - `--file <path>` - `--stdin` - `-m, --model <id>` - `-s, --system <prompt>` - `--combo <name>` - `--max-tokens <n>` - `--responses-api` - `--raw` - `--debug` - `--save <path>` **Example:** ```bash omniroute stream [prompt] ```
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.
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.
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.