No slash command · from workflows
Submits and manages OpenAI Batch API jobs. Handles validation, submission, status polling, and result merging for batch inference requests.
Ships in workflows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Billed to the org that owns the API key in the batch-router accounts config ($BATCH_ACCOUNTS, default
~/.config/batch-router/accounts.toml). Treat it as pay-per-token unless that account says
credit_linked = true, which means the ChatGPT Pro credit is linked to the key's org; Batch draws it.
What this skill carries — grep references/ for any subject the names below miss:
!d=${CLAUDE_SKILL_DIR}; command -v skill-toc >/dev/null 2>&1 && exec skill-toc "$d"; s=$HOME/.claude/skills/plugin-utils/bin/skill-toc; [ -x "$s" ] && exec "$s" "$d"; echo "(skill-toc unavailable: references and scripts are NOT listed here — install the plugin-utils plugin, or start a new session so its bin/ reaches PATH)"
accounts prints pay-per-token for such an account: both commands then bill his card at list batch
price. Only validate, accounts and list are free. Running a "tiny" paid test because it costs a cent
decides a billing question that is his. The full run also waits for validate, verify and the pilot's
results --input to exit 0.
S=${CLAUDE_SKILL_DIR}/scripts/openai_batch.py
uv run $S accounts # billing mode per account; free
uv run $S validate requests.jsonl # one model + one endpoint per file, limits; free
uv run $S list # existing batches; free
uv run $S verify requests.jsonl # ONE sync request at full price (go-ahead required)
uv run $S submit pilot.jsonl --run # Files upload + create; 5-10 rows first
uv run $S status <batch_id> --wait # in a background Bash
uv run $S results <batch_id> --input pilot.jsonl --out pilot.out.jsonl
Rows are {"custom_id", "method": "POST", "url": "/v1/responses", "body": {...}}. results merges the
output and error files and reconciles every custom_id; it exits 1 unless all succeeded. Check current
model ids and batch prices on the pricing page at use
time; the snapshot is in batch API reference.
prolite, inferred to be the $100 tier, unconfirmed. The credit must be LINKED by
him to an API org he owns under the same email; issued per renewal, first one prorated, expires at cycle
end, no rollover, spends before purchased credit.credit_balance_exhausted; the script names it. Stop there and
report it; a retry loop on 429 just re-sends to an empty balance.completion_window is only 24h; 2,000 batch creations per hour; per-model enqueued-token caps on the
org limits page. Over a limit: shard. PDFs past the cap: upload (purpose user_data) under the
SAME --account as submit and reference it as input_file (proven in a batch 2026-11-06) —
Files API.custom_id); failures go to error_file_id; expired rows carry
code batch_expired; output files are deleted 30 days after completion.tools=[{"type":"web_search"}] in a /v1/responses row searched and
returned url_citation annotations (verified live 2026-11-05, $10/1k searches); the router offers OpenAI
for --needs web-search.| About to | Do instead |
|---|---|
verify or submit --run while credit_linked = false | Ask Eddy first; it bills his card |
| Mix two models or two endpoints in one file | One file per model and endpoint |
Read only output_file_id | results --input, which reads error_file_id too; done only on exit 0 |
Set credit_linked = true because the Pro plan includes credit | Only once the API org's billing page shows the credit applied |
| Poll status from the model turn by turn | status --wait in a background Bash, notified on exit |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Claude Code refuses to install this plugin
As a github or url source: Failed to clone repository: fatal: clone of '[email protected]:edwinhu/bmll-skill.git' into submodule path 'skills/bmll' failed
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
86 skills in this plugin
/afkUse when the user says '/afk', 'afk', 'going to bed', 'I'm going to sleep', 'work autonomously', 'work on this overnight', 'don't ask me questions', 'while I'm away', or 'do whatever you think is best'. NOT for questions about overnight returns, rates or anything financial; NOT for asking how the mode works./ai-anti-patternsALWAYS load before finalizing ANY written prose, and whenever text is suspected of being machine-written - "does this sound like AI", "make this sound human", "clean up the AI-isms", "did a bot write this", "check this draft before I send it", "review this for AI tells", "this reads like ChatGPT", "review this for mannered prose", "is this too writerly", "is this student paper AI-generated", or before handing back any draft, memo, email, or article you wrote. Use proactively even if the user never mentions AI writing./Other plugins' skills for the same job