/batch-inference:batch-research-recordfrom batch-inference
Write 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".
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.
Path: scripts/paths.sh notebook; create it if missing. If it's a git repo, git pull before writing.
Schemas: shared/notebook-schema.md. Follow them exactly: other agents parse these files.
runs/YYYY-MM-DD_<job>/run.json — provider, model, mode, item count,
succeeded, tokens (in / cached_in / cache_write / out, from the API's usage
fields), cost_usd with cost_basis (measured from billing or usage cost;
estimated from usage × price), wall clock, settings that mattered (thinking,
effort, schema, caching), outcome, verdict, and a one-line lesson.runs/.../notes.md if anything went wrong or surprised you: the exact
error text, what you tried, and what fixed it. A failure that cost nothing but
time is still worth a run record.runs/.../samples.jsonl — up to 50 output rows, or all of them if the
output is small. Only non-sensitive output: labels, ids, scores and public
text are fine. Never prompt text from private datasets, personal data or
credentials. Otherwise say where the full output lives.verdicts.md — add a line at the top only if the run taught something
reusable: date · use|avoid|watch · lane · why · → path. Don't log routine
successes on an already-use lane. Update or strike an old verdict the new
run contradicts; don't leave both.A screen (several models on the same items, to pick one for a task type) gets a run record
under runs/ as above, and a dated entry in tasks/<task>.md, one file per task
type (kebab-case, e.g. tasks/term-anchored-generation.md). Add the screen to the top of the
file's table, newest first, one row per model: date, model id, route (provider and
batch/sync), items, score per stratum, failures (count and kind), price (per item or per
Mtok, with the price row's date), and pick (pick, runner-up, or blank). Link the run with
→ runs/YYYY-MM-DD_<job>/. Follow the column layout already in the file or in the repo
README.md; create the file with that layout if the task type is new. Don't rewrite old
rows: a later screen that changes the pick gets new rows on top. If the pick changed the
general default, add a verdicts.md line too.
Append a row to prices.jsonl. Never edit or delete old rows: the history is
the point. Record checked (today), the source URL, and how: measured if it
came from our own billed run, else vendor docs or third-party. Re-checked and
unchanged still gets a row.
Add durable facts (API shape, limits, failure modes, things the docs get wrong)
to providers/<provider>.md under a dated heading. Create the file for a new
provider.
After a full run, also add the one-row summary with log-batch-run.
If the notebook is a git repo: one commit per run or finding, message <provider>: <what was learned>, and push.
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-inference16 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-checkRead 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.Other plugins' skills for the same job