cli-batches
What it does
This skill shows how to send large sets of AI requests as batch jobs from the command line. It is for teams who need many model calls processed together and the results saved to files.
When to use it
- ✓When a user wants to run many AI requests as one batch job.
- ✓When a user wants to check the progress of a batch or cancel it.
- ✓When a user wants to download batch results or errors to a file.
Skill link
https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-batches/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Submit this JSONL file of prompts as a batch and save the results when it is done.”
5 new skills a week. 1 minute to read.
How it works
The skill uploads a batch input file, starts a job with a chosen endpoint and time window, then can wait for it to finish. Results and errors can be saved to files.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
npm install -g omniroute # or: npx omniroute
omniroute --version
Subcommands
batches
Example:
omniroute batches
batches list
Flags:
--status <s>--limit <n>
Example:
omniroute batches list
batches get <batchId>
Example:
omniroute batches get <batchId>
batches create
Flags:
--input-file <fileId>--endpoint <e>--completion-window <w>--metadata <kv>
Example:
omniroute batches create
batches submit
Flags:
--jsonl <path>--endpoint <e>--wait
Example:
omniroute batches submit
batches cancel <batchId>
Flags:
--yes
Example:
omniroute batches cancel <batchId>
batches wait <batchId>
Flags:
--timeout <ms>
Example:
omniroute batches wait <batchId>
batches output <batchId>
Flags:
--out <path>
Example:
omniroute batches output <batchId>
batches errors <batchId>
Flags:
--out <path>
Example:
omniroute batches errors <batchId>
files
Example:
omniroute files
files list
Flags:
--purpose <p>--limit <n>
Example:
omniroute files list
files get <fileId>
Example:
omniroute files get <fileId>
files upload <path>
Flags:
--purpose <p>
Example:
omniroute files upload <path>
files content <fileId>
Flags:
--out <path>
Example:
omniroute files content <fileId>
files delete <fileId>
Flags:
--yes
Example:
omniroute files delete <fileId>
FAQ
What format does the input need?
The batch input is a JSONL file, which the submit command takes with a jsonl path option.
Can I wait for the batch to finish?
Yes. The submit command has a wait option, and a separate wait command takes a timeout.
Can I stop a batch?
Yes. The cancel command stops a batch, and asks for confirmation unless you pass a yes flag.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 84k
- Ranking position
- #1398
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
cli-a2a
84kRuns the OmniRoute command line for agent-to-agent tasks, letting you send work, check task history and test skills.
cli-backup-sync
84kRuns OmniRoute data backups from the command line, including snapshots, cloud sync, schedules and restores from archives.
cli-chat
84kSends chat requests to AI models from the command line, with streaming replies, system prompts and an interactive session.
cli-compression
84kConfigures and tests prompt compression from the command line, previewing how filters and rules shorten prompts before they reach a model.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.