/llm-workbench:run-comparisonfrom llm-workbench
Use to run an llm-workbench model comparison — the model×record sweep that produces the scored results, for both a small pilot and the full study. Covers options, resume, smoke-testing, output files, and local-model memory. Triggers on "run the comparison", "run compare", "run a pilot", "compare these models", "resume a run", "grow my run", "my run crashed".
Ships in llm-workbench. 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.
run compare is the core sweep: every model answers every record, and each eval scores each
pair. The same command shape serves the pilot (small dataset) and the full study (the
power-analysis N) — only the dataset changes.
Preconditions: the setup skill's models ping passes for all candidates and the judge; a
task (--prompt-template or --task) and validated evals exist.
llm-workbench run compare \
--prompt-template my_prompt.txt \ # or --task module:Class (mutually exclusive)
--dataset test_set.jsonl \
--model ollama/llama3.1 --model anthropic/claude-sonnet-4-5 \ # repeat per candidate
--eval answer-quality \ # repeatable; omit = all evals in --eval-dir
--judge-model anthropic/claude-sonnet-4-5 \ # enables LLM-judge scoring for rubric evals
--out-dir runs/pilot
Key options (full list: ../../references/cli-cheatsheet.md):
--models a,b,c — comma-separated alternative to repeated --model.--eval-dir DIR — where evals are found (default evals_kit).--judge-model — required for rubric scoring. Without it, rubric evals are skipped (with
a warning); programmatic checks still run.--limit N — only the first N records; use it to smoke-test before a full sweep.--resume (default) / --no-resume.The sweep is model × record — every model answers every prompt — which makes the analysis a paired design (the unit is the per-prompt difference between models). Use the same models, evals, and judge for the pilot as for the full run, so the measured effect is realistic.
Results stream crash-safe to results.jsonl. Re-running with the default --resume skips
(model_id, record_id) pairs already recorded — including rows that errored. So:
--out-dir and re-run;
only the new pairs run.--out-dir or delete the run dir —
resume will not re-run an errored row in place.ids so resume and analysis line up across runs.results.jsonl — source of truth, one object per (model, record): output, prompt,
latency_s, usage, error (task-level), scores (per-scorer).results.csv — flattened to one row per (model, record, scorer) for spreadsheets/pandas.
Task-level failures are dropped here; find them in results.jsonl error and the reliability
table.If candidates and judge are all local Ollama models, a candidate and the local judge are
resident at once — stacking large ones can exhaust memory. Prefer an API judge, or set
OLLAMA_MAX_LOADED_MODELS=1 + OLLAMA_KEEP_ALIVE=0, and smoke-test with --limit 2 first.
See ../../references/model-ids-and-credentials.md.
Gate for the guide: a run directory with results.jsonl covering every candidate — the
pilot before power analysis, the full N before final analysis.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub nebulock-inc/llm-workbench --plugin llm-workbench8 skills in this plugin
/analyze-resultsUse to analyze a finished llm-workbench run and turn it into a model recommendation — run the statistics (reliability, significance, effect size, equivalence) and interpret them for a decision. Triggers on "analyze my run", "which model won", "which model is best", "are these models significantly different", "are they equivalent / the same", "read my results", "interpret analysis.md"./build-datasetUse to build the JSONL test set of prompts for an llm-workbench comparison — hand-author it, convert a spreadsheet, or generate a starter set with an LLM, and size it for a pilot vs. the full study. Triggers on "build a test set", "make a dataset", "create prompts", "dataset from CSV / spreadsheet", "generate prompts", "how many prompts for my pilot"./create-evalsUse to create, design, and validate llm-workbench evals (how a model's output is scored — an LLM-judge rubric and/or deterministic checks), and to calibrate the judge against a human before trusting its scores. Triggers on "create an eval", "design a rubric", "add a scorer / check", "validate my evals", "exact_match / contains / regex / json_schema / latency check", "calibrate the judge", "do I trust the judge", "judge vs human agreement"./define-taskUse to define the task being tested in llm-workbench — decide between the default prompt-template task (no code) and a custom Python task, and write whichever fits. Triggers on "define my task", "write a prompt template", "I need a custom task", "multi-step / retrieval / RAG / org-scoped / tenant-scoped task", "expose values to the eval", "re-score a past run", "ReplayTask"./evaluate-modelsUse to run a full llm-workbench model evaluation end to end — guide someone from "I want to know which model is best for my task" to a statistically grounded recommendation, sequencing setup, task, evals, pilot, power analysis, the full run, and analysis with a checkpoint between each. Triggers on "which model should I use", "compare / evaluate LLMs for my task", "pick the best model", "set up an LLM evaluation", "get started with llm-workbench", "run a model comparison from scratch"./power-analysisUse to decide how many prompts an llm-workbench comparison needs — run power analysis on a pilot run (or from an assumed effect size) and interpret the recommended sample size. Triggers on "how many prompts do I need", "power analysis", "sample size", "is my pilot big enough", "what N should I use", "did I have enough power".