cli-batches 精选
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.
安装方式
cp -r skills/cli-batches ~/.claude/skills/cli-batches把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/
https://raw.githubusercontent.com/diegosouzapw/OmniRoute/7f3cbb046b3706bf0bbc047b7eaa0cbada8d9e50/skills/cli-batches/SKILL.md下载后另存为 ~/.claude/skills/cli-batches/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/diegosouzapw/OmniRoute.git
依赖与权限
- 无需 API Key
- 需要联网访问外部服务
- 依赖外部命令:
npmnpx - 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.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
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>质量与来源
- 所属仓库
- diegosouzapw/OmniRoute
- 仓库星标
- 7.6 万
- 最近更新
- 昨天
- 采集时间
- 今天
- commit
- 7f3cbb046b37
- 内容指纹
- sha256:e33f6b80d2747e5
- 文件路径
- skills/cli-batches/SKILL.md