Agent Skills
› cheaper-inference/OmniRoute
› cli-batches
cli-batches
GitHub通过CLI提交、监控批量推理作业,管理上传文件,获取结果,并支持将批处理流水线集成到CI/CD工作流中。
触发场景
需要提交或监控批量AI推理任务
需要在CLI中管理用于批处理的文件
安装
npx skills add cheaper-inference/OmniRoute --skill cli-batches -g -y
SKILL.md
Frontmatter
{
"name": "cli-batches",
"description": "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."
}
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>
版本历史
-
d804179
当前 2026-10-19 14:20
batches create和submit命令新增--input-file标志以指定输入文件ID。
- 1cafd32 2026-07-25 11:46


