/batch-inference:log-batch-runfrom batch-inference
Add a finished batch job to the run ledger: data size, model, cost, rating, notes. Use on "log this run", "add a run record".
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.
One row per finished job in the run ledger, so "what did I use for that, and how did it go?" has an answer.
This is the short record. batch-research-record keeps the full detail in the notebook.
Log full runs and any pilot that changed a decision. Skip routine pilots that lead straight to a logged run.
Collect the facts from the run: date, item count, tokens, model, route, measured cost
(or_models.py spend <usage log>, or the runner's closing line).
Rate it 1-5 for how well the model did the task, from outputs you actually read. Leave the rating out if nobody checked them, and say so in the notes.
Check the text first if the ledger is public (see Notes). Then add the row:
python3 run_ledger.py add --date 2026-01-31 --job "Tag support tickets by product area" \
--task-type classification --items 5000 --data-size "ticket subject lines, ~20 words each" \
--tokens-in 3400000 --tokens-out 40000 --model deepseek/deepseek-v4.1-flash --route openrouter-sync \
--cost 0.30 --rating 4 --notes "Clean labels; 'other' was overused" --alternatives "qwen/qwen3.7-flash"
Use --cost-basis estimated when the cost isn't from usage data.
If the ledger dir is a git repo, commit runs.jsonl and RUNS.md and push.
The ledger is runs.jsonl plus a generated RUNS.md in the dir from scripts/paths.sh ledger: the ledger:
line of defaults.md, else <data dir>/ledger. Never edit RUNS.md by hand.
The ledger may be a public repo. Keep --job, --data-size and --notes general: what kind of data, never
its contents, names, client details or private project names. Prompts and outputs never go in.
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