/batch-inference:batch-research-checkfrom batch-inference
Read the research notebook before choosing a provider, model or lane for a bulk/batch LLM job, or before quoting a batch price — per-task screening tables (which model was picked for a task type and why), dated verdicts (use / avoid / watch), the latest price per provider and model, provider gotchas, and records of past runs with their measured cost. Use when planning any batch job, when the user asks "what's the cheapest/best way to batch this", "which batch provider", "what did that cost last time", or before estimating spend for a bulk run.
Ships in batch-inference. 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.
None: SKILL.md is the whole skill.
The notebook is a folder of dated findings: scripts/paths.sh notebook prints where it is (a notebook:
line in the user's defaults.md, else inside the plugin's data directory). Layout:
shared/notebook-schema.md. If it's a git repo, git pull first. If it doesn't exist yet, there's no
history: say so, and batch-research-record will create it after the first run.
tasks/<task>.md firstWhen the question is "which model for this kind of task" (term-anchored sentence generation,
labelling, extraction, judging, context writing, ...), read tasks/<task>.md before
anything else. There is one file per task type, each a dated table of the models screened on
that task: route, items, score per stratum, failures, price, and which one was picked. ls tasks/
to find the task; the nearest match counts, and say so if you stretch one. The latest pick there
beats a general verdict or a pick-batch-model default for that task, unless a later
verdicts.md line or price row undercuts it. No file for the task means it was never screened:
screen wide and small first (pick-batch-model), then record it with batch-research-record.
For a quick "what did I use for that?", start with find-batch-run.
verdicts.md — one line per lesson, newest first. An avoid line overrides
the lane batch-defaults would otherwise pick, unless its reason no longer holds.prices.jsonl — the latest row per (provider, model, mode) is current.
python3 - <<'PY'
import json
rows = [json.loads(l) for l in open("prices.jsonl")]
latest = {}
for r in sorted(rows, key=lambda r: r["checked"]):
latest[(r["provider"], r["model"], r["mode"])] = r
for r in sorted(latest.values(), key=lambda r: r["usd_per_mtok_in"]):
print(r["checked"], r["provider"], r["model"], r["mode"], r["usd_per_mtok_in"], r["usd_per_mtok_cached_in"], r["usd_per_mtok_out"], r["how"])
PY
runs/*/run.json for a similar job: real tokens per item and cost per item
beat any estimate. Scale those for the new job's item count.providers/<provider>.md for the lane you're about to use (API shape and
gotchas).A price older than 30 days is a lead, not a fact. Re-check it at the source
(OpenRouter: scripts/or_prices.py; others: their pricing page)
before you quote it in an estimate. Then write the new observation back with
batch-research-record, even if it didn't change, so the date moves.
Say in one line which lane and model you picked and why, citing the task table row, verdict, price row or run it rests on. Estimate the job's cost from them before spending. If the notebook has nothing on the lane, say so: that is a reason to pilot small and record the result.
What SKILL.md sets; muted values are Claude Code's defaults
batch-inference@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin batch-inferenceOther plugins' skills for the same job
16 skills in this plugin
/anthropic-batchRun a bulk job through the Anthropic Message Batches API — Claude Haiku 5.5 by default, half price, usually done in minutes — from a JSONL file of prompts, with structured JSON output, a cached system prompt, resume-by-batch-id and cost logging. The default lane for batch work. Use when the user says "Anthropic batch", "Haiku batch", "batch this with Haiku", "run it on the Batches API", or batch-defaults routes here./batch-defaultsPick the model, provider and lane for any bulk or batch LLM job (labelling, classification, extraction, synthetic data, summarising hundreds or thousands of items). Defaults: Claude Haiku 5.5 on the Anthropic Batches API for judgement work, Hy4 Flash on parallel sync for short generation, DeepSeek V4.1 Flash for other cheap volume (batch or sync, whichever costs less today), OpenRouter Batch API for other named models; the user's own defaults file overrides these. Use first whenever the user says "batch this", "run it as a batch job", "bulk job", "use Haiku", "cheapest batch possible", "do it with DeepSeek", or a task needs one LLM call per item over many items./batch-research-recordWrite what a batch/bulk LLM job taught us into the research notebook — the run record with measured tokens and cost, model screening results in the per-task tables, new or changed provider prices with the date checked, a use/avoid/watch verdict, provider gotchas, and a sample of the outputs. Use at the end of every bulk or batch run (pilots included, and failures especially), after checking a provider's prices, or when the user says "save this to the research notebook", "record that", "note that this worked / to avoid".