Guide / Tutorial

Making AI Agents Good at UI Design: The Hill Climb Method

Ask an agent for good design and you often get slop. The answer here was to turn design into a hill climb: three models score screenshots, an agent iterates until they agree, and then the bar goes up. Here is how it worked, what it cost and what to copy.

Claude CodeThis guide is about Claude Code.
Making AI Agents Good at UI Design: The Hill Climb Method

A case study from T3 Code: how a council of AI reviewers scored screenshots, agents looped until the scores hit nine and a half out of ten, the team compared the result against Claude Code and Codex, and what it all cost, plus a second, programmatic example that cut tool descriptions by two thirds.

Reading map

  • The challenge — why agent UI looks generic, and the question behind the experiment.
  • The council and the goal — three reviewers, a score out of ten and a /goal finish line.
  • The first climb — round-by-round scores and what changed.
  • Climbing higher — adding Claude Code and Codex as the bar, 9.5 in every category, and the cost.
  • A second example — an eval that shrank tool descriptions by two thirds.
  • What to copy, a quick reference and a short FAQ.

The Challenge

Slop versus a hill climb
Slop versus a hill climb

AI is good at code that works, partly because much working code looks like other working code. Design is different: ask for it and you tend to get slop or the same three templates every website uses. The maintainers of the open-source coding app T3 Code got a reply on social media saying the app needed a UI or UX pass. They agreed it was not where it should be, but there is no full-time designer and the project has no revenue.

So he asked a different question: can the same subscriptions that power the app make it look like a designer worked on it? He did not add a pile of skills or pay someone to review outputs. He turned the task into a hill climb: a loop where a score tells the agent whether it is going up.

The Council and the Goal

The goal prompt

He typed /goal with a finish line instead of a task: make the UI clearly better and easier on the eyes, keep going until the council agrees that screenshots of the app are at least nine out of ten for design quality, open a pull request, and keep iterating until the whole council is happy.

The goal prompt
The goal prompt • 00:05:56

The council skill

The council is a small skill he wrote. It brings in three delegates, one strong model from each of three providers (here Claude Opus 5.5, Muse Wonder Full and Codex GPT-6.1 Sol). Each reviews the request read-only and gives a score out of ten. A fresh review after fixes counts as a new round. The hope is that scores rise each round until every model says it is good enough to ship. Optionally a “jester” model (Gemini in his setup) is given the same brief without knowing its role; its score is ignored and its mistakes are logged for entertainment.

Three delegates, one score each
Three delegates, one score each

Why design is a hard hill

Hill climbs are easiest when the score is programmatic: make this test pass, cut the data sent to the client by four times. Design is “vibes”: the same model can give the same screenshot three different scores. But a nine or ten out of ten is hard enough to get that, when several models agree, it probably means something.

One round: review, fix, repeat
One round: review, fix, repeat

The First Climb

Round Opus 5.5 Muse Wonder Full Codex GPT-6.1 Sol
1 (existing UI) 6 6 6.5
2 8 7.5 8
3 9 9 9
The council review table
The council review table • 00:12:37

After round one the council listed problems and a batch of UI changes followed. To make the differences visible, the model was asked for before-and-after diagrams with arrows pointing at each change. The changes were subtle: a better fallback font, a thread title that recedes behind its label, a readable branch name, softer cards and inline code, and fewer pointless borders. By round three every model gave a nine, which met the goal. The whole thing took about an hour and a half.

Before-and-after diagrams with arrows
Before-and-after diagrams with arrows • 00:11:53

Climbing Higher

Make the bar real

That was not enough. The new goal was for T3 Code to look better than everything else, not just better than itself. So a new thread was started, the pull request went through the council again with screenshots of Claude Code and Codex added to the judging, and the request was for T3 Code to score higher than both in every category. That thread ran for almost 18 hours.

Scoring T3 Code against Claude Code and Codex
Scoring T3 Code against Claude Code and Codex • 00:15:28

The scores changed a lot. The old UI averaged about seven, and the version that had earned a nine in the first thread now earned about 7.4. Context matters: judge one design alone and it looks fine; compare it with others and the scores move. As T3 Code’s score rose, so did the competitors’, from around 8.3 and 8.5 to the nines, even though their screenshots did not change.

To save tokens he told the agent to ask the cheapest judge first and bring in the others only when that score was high enough. The UI became more consistent: labels, border radius, fonts, indicators, and contrast in light mode.

Raise the bar to 9.5

Because you choose the top of a hill, he forked into a new work tree and set a goal of 9.5 or better in every category. The scores bounced: Claude Code‘s rating went from 8.3 to 9.1, and the gap with Codex flipped, so even stating the target in the prompt may bias the judges. His note for next time: do not tell sub-agents the score they are chasing. The extra half point took ten more runs, and in the end every delegate rated every category 9.5 or higher, with the jester Gemini giving the highest score.

Cost and time
Cost and time

What it cost

Item Figure
Parallel agent run time About 17.6 hours
Total cost of all runs Roughly $400 (about $250 for what he showed); some model prices are estimates
Subscription context A $200 subscription can cover around $12,000 of usage in a month

He then asked for ten out of ten and also for color back, because the new design had become too gray. The merge button read clearly as a button, contrast improved, and the app felt more readable. His own reaction was that it did not come close; it worked. And the skill itself was basic: look at the new screenshot, compare it with the old one and with other products, score it, and repeat.

After: more color, clearer buttons
After: more color, clearer buttons • 00:24:15

A Second Example: Shrinking Tool Descriptions

The idea is bigger than design: find a way for models to measure themselves, and they will climb. His second example is programmatic. In T3 Code, agents use a tool interface to start sub-agents, read and send messages to threads and open new threads, but models often did the wrong thing, such as opening a new thread when he wanted a sub-agent.

  1. He collected the times models did the wrong thing, sorted them and turned them into an eval of around 85 cases.
  2. A first run got about 66 of 85 right; a later run after changes got 63, so the score can go down too.
  3. He gave the agent two jobs in order: reach a perfect score, then delete as much as possible from the tool descriptions (down to about a third of the size) while keeping that perfect score.
Tokens saved
Tokens saved

The result: context use fell by 52% in T3 Code and by 78% with tool search on, and the eval proves the models behave no worse. LLMs are not deterministic, but they make tedious work cheap: he says he could have built that eval a year ago, but it would have taken months of going through data.

What to Copy

Four rules for the method
Four rules for the method
  1. Give the model a score it can climb. A programmatic score is best; several independent judges is the next best.
  2. Show judges the competition, not just your own work.
  3. Expect noise, and set a bar high enough that agreement means something.
  4. Watch the cost, and ask the cheapest judge first.
  5. Keep sub-agents blind to the target score if you can.

Quick Reference

Question Short answer
What is a hill climb? A loop where a score tells the agent if it is improving
What is the council? Three models from three providers that score the work out of 10
Finish line /goal: for example, all categories at 9 out of 10 or better
What raised the bar? Adding Claude Code and Codex screenshots to the comparison
What did it cost? About 17.6 hours of agent time and roughly $400 in total
Better than a council? A programmatic eval, like the tool-description example

FAQ

What is hill climbing with AI agents?

It means giving an agent a measurable score and letting it loop, improving the work each round, until the score reaches a target. Design is harder than tests because the score is a judgment.

Why use three models as judges?

A single model can give the same screenshot different scores. Using one model from each of several providers and requiring agreement makes a high score more meaningful.

Does telling the agent the target score help?

Maybe not. In his run, scores shifted once the target (9.5) was in the prompt, so he suggests keeping sub-agents unaware of the score they are trying to hit.

Is this expensive?

His full process cost roughly $400 in usage, though much of it came from subscriptions he already had. Asking the cheapest judge first and calling others only when needed keeps cost down.

Can I use this for something other than design?

Yes. His second example turned past tool-use mistakes into an eval and cut tool descriptions by about two thirds without losing accuracy.

Further Reading and Notes

  • Diagrams are original.
  • Some of the material behind this guide was sponsored by Magic Patterns; this guide is not sponsored. All figures come from one reported workflow, from November 2026.

Model names, scores, hours and prices are as reported in November 2026 from one team’s own runs and subscriptions; they are not independent benchmarks. Some of the material behind this guide was sponsored by Magic Patterns.

Claude Code GUIDES

More Claude Code guides

Continue with practical guides about Claude Code.

View all AI Agents guides