Life · November 6, 2026

Claude Code's hillclimb skill

Anthropic’s Automating eval design and hillclimbing with Claude ships two commands for Claude Code. /claude-api build-eval turns a task into an evaluation. /claude-api hillclimb then improves a prompt or a skill against it, one change at a time, unattended.

I ran a cruder version of this loop in April. It was good at running experiments and weak at deciding which results to trust, and that is the part the skill gets right. There is one default I would change before publishing a number from it.

The loop

build-eval starts from representative cases, ideally real traffic or real failures, and has a person review the inputs and sample grades. hillclimb then works within an agreed scope. It tests one change at a time, checks whether a gain is larger than noise, and counts lower cost at equal quality as progress. Prompt and skill edits are the natural first target, because they are cheap to try and easy to revert.

My schematic of the article and the public skill. Open figure.

My April loop

In April I shared a skill called benchmark-grinder (original text): give Claude Code a benchmark, let it keep trying changes, go to sleep, and read the git history in the morning. It kept a small contract of the metric, the run command, the files it could edit and the evaluation files it could not. It ran an untouched baseline, tested one hypothesis at a time, and kept or reverted each change.

I used it on GrepQA, which answers questions about long conversations by searching them with keyword predicates that an LLM writes. Over 34 versions, GrepQA went from 29.90 to 51.69 F1 on LoCoMo-10 with GPT-4o-mini (slides).

Each mark is a recorded result, not a controlled trajectory; pilots ran on a subset. Select a version to see what changed. Open figure · Data.

The best version was the 21st. Thirteen more followed, and none beat it on a full run. Version 31 scored 51.19 on a pilot, where version 21 had scored 49.57, and then came out 0.89 points below version 21 on the full run.

The loop produced results quickly. It could not tell me which ones to believe. It had no data split, no check of the grader, and no rule for when a gain is real.

What the skill adds

The public skill, in the version I read on November 6, adds three things I wish I had had.

  • It tests the grader first. The eval-building guide feeds the grader deliberately bad outputs and induced infrastructure errors to confirm that it rejects them. For coding agents, it checks the resulting workspace, not whether the transcript sounds successful.
  • It records why, not just what. In the hillclimbing guide, a fresh analyzer reads the training traces and proposes one patch with an explanation backed by a trace. Outputs, grades, patches and loop state go to disk. Git history shows what changed; this record shows why.
  • It treats a plateau as a diagnosis. Missing knowledge, unclear instructions, a wrong grader, infrastructure failures and noise each need a different fix. If the grader changes, stored outputs are regraded, so a better ruler is not mistaken for a better system.

The held-out boundary

The default I would change is how the winner is chosen. The article scores the test set each round and keeps the version that does best on it. Even if the analyzer never sees a test transcript, choosing among many variants by test score fits the choice to that set, and the test set becomes validation data.

The skill already offers the fix: on larger evals, select on a validation set and hold out a third slice for the final comparison. I would use that for anything I publish, and call a result on a small set exploratory.

Isolation has a similar gap. Giving the analyzer only the training paths is a convention, not a barrier, and the guide notes that its harness hashes detect changes but cannot stop an agent with write access. For a serious benchmark, the runner should enforce the boundary.