Skip to main content
ClaudeWave
Skill6.1k repo starsupdated today

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.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/diegosouzapw/OmniRoute /tmp/cli-batches && cp -r /tmp/cli-batches/skills/cli-batches ~/.claude/skills/cli-batches
Then start a new Claude Code session; the skill loads automatically.

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

```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>
```