/cxcskills:ui-hill-climbfrom cxcskills
Raise the app's UI quality round by round until models from different providers score every design category at a target, judged against reference apps.
Ships in cxcskills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn "make the UI better" into a score that agents can push up. Each round captures the same screenshots the same way, has a panel of judges (models from different providers) score them in fixed design categories against reference apps, fixes what the judges agree on, and goes again. The climb ends when every judge scores every category at the target and the app outscores every reference, or when the budget runs out.
Scores are noisy: the same screenshot can get different scores from the same model. What carries signal is several providers agreeing at a high score, with references in the panel to stop the scores inflating.
Call the Skill tool with "model-delegates" for the routes, the settings, and the delegate script. Then settle these with the user, asking in one message for anything they haven't given:
docs/design/views.md if it exists. Capture each one at phone (390 wide) and desktop (1440 wide) sizes, and in light and dark if the app has both.docs/design/references/. Without references, scores inflate. If the user has none, offer to pick them from Mobbin (below) when its MCP is connected; otherwise say so and continue only if they accept that.UI judges line, or else the Council line, with the fastest and cheapest judge first. The order exists to save usage: only the first judge scores until it reaches the target, then the next one joins, and so on.adopt-design, its rule is that the look changes on the canvas first. Ask whether this climb may change the look in code. If it may, list every change to tokens and components for the user to carry back to the canvas, and note the sync in the design README.Work on a new branch, stacked on the current UI branch or PR if one exists, so earlier rounds stay mergeable.
When the Mobbin MCP is connected (its search_screens and search_flows tools are available), it can supply the references. Start from the References lines in docs/design/briefs/ if to-views wrote any; otherwise search in a subagent started with a fresh context window, so the screen images stay out of this conversation, for the same kinds of screens on the same platform as the captured ones. Show the user the apps and screens, and use the ones they approve.
The screens belong to the apps they show, so keep them out of the repo: save them as ${TMPDIR:-/tmp}/ui-hill-climb/references/ref-<app>-<screen>.png (download each one when a result gives an image link, and ask the user to save it from Mobbin when it doesn't), and list each one (app, screen, Mobbin link) in docs/design/references.md so a later climb fetches the same set.
Write a screenshot script in the repo, using its browser test tool (Playwright if it has one). If the repo has a verify-<app> skill, build the script on its driver and launch steps instead of a second harness. It starts the app with demo data, visits every screen and state at every size and theme, waits for fonts and images to settle, and writes PNGs to ${TMPDIR:-/tmp}/ui-hill-climb/round-<n>/, never inside the repo. Commit the script: it is useful long after the climb.
Run it once as round 0, the baseline.
ui-hill-climb round <n>: <what changed>).A score that drops after a change is information, not an order to revert. Compare the before and after screenshots, and revert only if the change made things worse.
Done: every judge, all of them in play, scores every category at or above the target, and above every reference in that category.
Out of budget: stop and report where each judge stands. The user decides whether to run another climb with a fresh budget.
Keep the scores in the PR description, or in the final reply when there is no PR:
## UI hill climb
Target: 9 in every category. Rounds: 4. References: <apps>.
| Judge | Round 0 | Round 1 | Round 2 | Round 3 | Round 4 |
| --- | --- | --- | --- | --- | --- |
| GPT Sol | 7.1 | 8.0 | 8.9 | 9.2 | 9.3 |
| Claude Opus | not run | not run | not run | 8.7 | 9.1 |
| <third judge> | not run | not run | not run | not run | 9.0 |
Each cell is the judge's lowest category score that round. Below the table, list each judge's per-category scores for the final round, with every reference's scores beside them. Write not run for a gated judge and no score when a judge gave none; never invent one.
The ledger, what changed in each round in a sentence or two, before-and-after screenshots of the screens that changed most, the token and component changes to carry back to a design canvas if there is one, and usage from each run's meta.txt. End by asking the user to look at the final screenshots themselves: the judges measure agreement, and the user decides on taste.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
52 skills in this plugin
/adopt-designMake finished Claude Design boards the repo's source of truth for how the app looks, with tokens, a design README, and the coding standards that enforce them./ask-mattAsk which skill or flow fits your situation. A router over the skills in this repo./blast-radiusFind what a change could break outside its diff, and prove the one fact it is safe because of by running real code./chief-of-staffPursue a long-running goal in a single session by co-ordinating subagents.npx claudepluginhub cxcarroll/cxcskills --plugin cxcskills