cli-batches
The cli-batches skill provides command-line tools for submitting, monitoring, and managing batch inference jobs through the OmniRoute CLI. Use it to upload files, create and submit batch jobs, track processing status, retrieve results and error logs, and integrate batch workflows into CI/CD pipelines without writing custom scripts.
git clone --depth 1 https://github.com/diegosouzapw/OmniRoute /tmp/cli-batches && cp -r /tmp/cli-batches/skills/cli-batches ~/.claude/skills/cli-batchesSKILL.md
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten --> ## Overview 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. ## Quick install ```bash npm install -g omniroute # or: npx omniroute omniroute --version ``` ## Subcommands ### `batches` **Example:** ```bash omniroute batches ``` ### `batches list` **Flags:** - `--status <s>` - `--limit <n>` **Example:** ```bash omniroute batches list ``` ### `batches get <batchId>` **Example:** ```bash omniroute batches get <batchId> ``` ### `batches create` **Flags:** - `--endpoint <e>` - `--completion-window <w>` - `--metadata <kv>` **Example:** ```bash omniroute batches create ``` ### `batches submit` **Flags:** - `--endpoint <e>` - `--wait` **Example:** ```bash omniroute batches submit ``` ### `batches cancel <batchId>` **Flags:** - `--yes` **Example:** ```bash omniroute batches cancel <batchId> ``` ### `batches wait <batchId>` **Flags:** - `--timeout <ms>` **Example:** ```bash omniroute batches wait <batchId> ``` ### `batches output <batchId>` **Flags:** - `--out <path>` **Example:** ```bash omniroute batches output <batchId> ``` ### `batches errors <batchId>` **Flags:** - `--out <path>` **Example:** ```bash omniroute batches errors <batchId> ``` ### `files` **Example:** ```bash omniroute files ``` ### `files list` **Flags:** - `--purpose <p>` - `--limit <n>` **Example:** ```bash omniroute files list ``` ### `files get <fileId>` **Example:** ```bash omniroute files get <fileId> ``` ### `files upload <path>` **Example:** ```bash omniroute files upload <path> ``` ### `files content <fileId>` **Flags:** - `--out <path>` **Example:** ```bash omniroute files content <fileId> ``` ### `files delete <fileId>` **Flags:** - `--yes` **Example:** ```bash omniroute files delete <fileId> ```
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.
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.
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.