/llm-workbench:setupfrom llm-workbench
Use to install and connect llm-workbench — pick the right install extras for the models someone wants to compare, configure provider credentials in a .env, and verify connectivity before any run. Triggers on "set up llm-workbench", "install llm-workbench", "which extras do I need", "connect my models", "configure my API keys", "models ping fails", "ANTHROPIC_API_KEY / OPENAI_API_KEY / Bedrock / Ollama not working".
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.
Goal: every candidate model and the judge model respond to llm-workbench models ping
before anyone runs a comparison. Work in this order.
Read ../../references/model-ids-and-credentials.md — it has the full provider table, extras,
env vars, and local-model memory guidance. This skill is the procedure.
Ask which models they want to compare and which will judge, then map prefixes → extras:
[analysis] — needed by power and analyze. Almost everyone needs it; install it now.[openai] — for any openai/ id and any bedrock-mantle/ id.[anthropic] — for the native anthropic/ client.ollama/ and bedrock/.uv add "llm-workbench[analysis]" # add ,openai and/or ,anthropic as needed
.envA local .env (in the project root) is auto-loaded. Only set the vars for providers in use:
OLLAMA_BASE_URL if not the default http://localhost:11434.OPENAI_API_KEY (+ OPENAI_BASE_URL for a non-OpenAI endpoint).ANTHROPIC_API_KEY.AWS_PROFILE, AWS_REGION.Never commit .env — confirm it is gitignored. Do not print secret values back to the user.
llm-workbench models list # confirms providers are registered
llm-workbench models ping <id> # one per candidate AND the judge — must all succeed
If a ping fails: missing extra (ImportError on the SDK), missing/incorrect credential, wrong
region/profile for Bedrock, or Ollama not running / model not pulled (ollama pull <model>).
Prove the pipeline runs end to end without any keys using the mock/echo provider:
llm-workbench init # scaffolds prompt.txt, dataset.jsonl, evals_kit/
llm-workbench run compare \
--prompt-template prompt.txt --dataset dataset.jsonl \
--model mock/echo --eval example-helpfulness --out-dir runs/example
mock/echo just echoes the prompt (no judge, so no scores) — a green run here means wiring is
correct and the only remaining variables are credentials and the models themselves.
If candidates and judge are all local Ollama models, warn about memory before a big sweep
and prefer an API judge or OLLAMA_MAX_LOADED_MODELS=1 + OLLAMA_KEEP_ALIVE=0. See the
reference's "Running local models — memory".
Gate for the guide: models ping succeeds for every candidate and the judge, and the
mock/echo smoke test runs clean.
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".