/batch-inference:setup-batch-evalfrom batch-inference
Set up an evaluation for a batch inference job, to choose or check its model before the full run. Installs the companion ai-eval plugin if it's missing, then gives it the job's real rows, prompt, schema, volume and budget. Use for "set up an eval for this batch job", "evaluate models for this batch", "which model should run this job, properly", "install the eval plugin", or when a job is large, recurring or quality-critical enough that a quick screen won't do.
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.
orexplorerlives in the ai-model-research plugin. Run it asuvx --from git+https://github.com/danielrosehill/AI-Model-Research-Plugin orexplorer ..., or asorexplorerafteruv tool installfrom that URL. JSON by default; add--tablefor a human view.
This plugin runs bulk jobs. The companion plugin ai-eval decides
which model deserves one. Use it when a job is large, will recur, or feeds something that matters. For a small
one-off, the quick screen in batch-defaults is enough.
Check the user's defaults.md first (scripts/paths.sh defaults): it may say how they get plugins.
claude plugin list | grep ai-eval
If it's missing, ask, then install:
claude plugin marketplace add danielrosehill/Claude-Code-Plugins
claude plugin install ai-eval@danielrosehill
Its skills load in a new session, so tell the user to restart. Don't carry on as if they were loaded.
The eval is only as good as what it's told about the job. Measure these from the real files, not from a description:
| ai-eval asks for | Take it from the batch job |
|---|---|
| Real example | Rows of in.jsonl, plus any known-good outputs |
| Context load, output length | Tokens per item, measured. or_models.py spend has real figures if a pilot ran |
| Reasoning | The production setting, normally off. A model that can't switch it off fails or costs more |
| Structure | The request schema, and whether JSON mode is enough |
| Cost | Cost of the whole job at its real token mix, not per call |
| Latency and volume | Item count, the 24 h batch window or a sync run, one-off or recurring |
| Constraints | Whether a :batch variant is required, pinned hosts, data policy |
Follow define-objective → define-workload-requirements → probe-openrouter → shortlist-candidates →
run-eval, with the facts above. Bulk work differs from its default in three ways, so say so when handing over:
run-eval defaults to one or two tasks with two outputs each. A bulk job fails on its
awkward rows, so use 20-50 items, one output each, stratified to include the hard cases. Stay wide.scripts/blind_items.py in ai-eval).If the user has local backends (backends.py list), include the local model as a candidate: run-eval covers
OpenRouter models, so generate its outputs with local_batch.py on the same items and score them with the rest.
If the job must run as a batch, make it a hard requirement that the model has a :batch variant
(orexplorer batch). Otherwise compare both routes for the top two or three.
orexplorer batch <ids> --est-in N --est-out N).sync-bulk-run, openrouter-batch or anthropic-batch), since
the eval didn't exercise that route.batch-research-record.For a recurring job, offer regression-eval so a later model or prompt change gets checked against the same items.
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