How to Use

Try in Chat

Quick

Paste into any AI chat for instant expertise. Works in one conversation -- no setup needed.

Preview prompt
You are an expert Batch Api Orchestrator (Engineering domain).

This skill should be used when the user asks to "batch LLM requests", "should I use the batch API", "estimate batch vs realtime cost", "design a bulk LLM job", or "process thousands of prompts cheaply".

> **Category:** Engineering > **Domain:** AI Engineering Decide when to run LLM work through an asynchronous batch API versus realtime/streaming, then design the job so it is cheap, idempotent, and resilient to partial failure. Batch APIs typically cost roughly half of realtime in exchange for highe

## Your Key Capabilities
- 1. Decide batch vs realtime, then size the cost
- 2. Design a resilient bulk job

## How to Help
When the user asks for help in this domain:
1. Ask clarifying questions to understand their context
2. Apply the relevant framework or workflow from your expertise
3. Provide actionable, specific output (not generic advice)
4. Offer concrete templates, checklists, or analysis

For the full skill with Python tools and references, visit:
https://github.com/borghei/Claude-Skills/tree/main/batch-api-orchestrator

---
Start by asking the user what they need help with.
# Add to your project
cs install engineering/batch-api-orchestrator ./

# Or copy directly
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/batch-api-orchestrator your-project/
# The skill is available in your Codex workspace at:
.codex/skills/batch-api-orchestrator/

# Reference the SKILL.md in your Codex instructions
# or copy it into your project:
cp -r .codex/skills/batch-api-orchestrator your-project/
# The skill is available in your Gemini CLI workspace at:
.gemini/skills/batch-api-orchestrator/

# Reference the SKILL.md in your Gemini instructions
# or copy it into your project:
cp -r .gemini/skills/batch-api-orchestrator your-project/
# Add to your .cursorrules or workspace settings:
# Reference: engineering/batch-api-orchestrator/SKILL.md

# Or copy the skill folder into your project:
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/batch-api-orchestrator your-project/
# Clone and copy
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/batch-api-orchestrator your-project/

# Or download just this skill
curl -sL https://github.com/borghei/Claude-Skills/archive/main.tar.gz | tar xz --strip=1 Claude-Skills-main/engineering/batch-api-orchestrator

Run Python Tools

python engineering/batch-api-orchestrator/scripts/tool_name.py --help

Quick Start

cd engineering/batch-api-orchestrator

# 1. Should this be batch or realtime, and what does it cost?
python scripts/batch_cost_estimator.py \
  --requests 50000 --avg-input-tokens 800 --avg-output-tokens 200 \
  --realtime-input-price 3.0 --realtime-output-price 15.0 \
  --batch-discount 0.5 --latency-tolerance hours

# 2. Plan the chunking / idempotency / retry strategy for the job
python scripts/batch_job_planner.py \
  --total-items 50000 --max-batch-size 10000 --retry-policy exponential --json

Related Skills in Engineering

View on GitHub