ui-design

ui-design is a skill for Claude Code from mblode/agent-skills. It costs 86 tokens per session (5,689 once invoked), scanned A, original, MIT.

A tool for choosing, building, and checking the visual design of React and Next.js web interfaces, including their layouts, colours, text styles, and responsive behaviour. React and Next.js are technologies for building web applications.

In plain words
What is it for?
Use it to set a visual direction, implement a frontend with Tailwind CSS, add dark mode or responsive behaviour, or audit a built interface and apply fixes.
Why use it?
It finds user-facing problems such as broken states, lost data, keyboard or focus failures, missing accessibility markup, and layouts that fail at different screen sizes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the agent-skills plugin — 28 skills shipped together

Good fit Use it to set a visual direction, implement a frontend with Tailwind CSS, add dark mode or responsive behaviour, or audit a built interface and apply fixes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mblode/agent-skills/ui-design
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mblode/agent-skills --skill ui-design
Clone the repo
git clone --depth 1 https://github.com/mblode/agent-skills

Made for: Claude Code.

Or install agent-skills, the plugin that ships this one along with the rest of its 28 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ui-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/mblode/agent-skills/ui-design/github.svg)](https://agentmods.dev/skills/mblode/agent-skills/ui-design)
Your own site
<a href="https://agentmods.dev/skills/mblode/agent-skills/ui-design"><img src="https://agentmods.dev/badge/skills/mblode/agent-skills/ui-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ui-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/mblode/agent-skills/ui-design"><img src="https://agentmods.dev/badge/skills/mblode/agent-skills/ui-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,689 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 7 Oct 2026
  • Snyk pass 7 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00086 $0.05689
Opus 5.5 $0.00034 $0.02276
Sonnet 5.5 $0.00017 $0.01138
Haiku 4.5 $0.00009 $0.00569

Measured 13d ago against content hash 77fdfd2ca8f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ui-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ui-design/SKILL.md · 251 lines

How it starts

The opening of the file, as written. The whole thing — 251 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UI Design

Owns everything that touches the built artifact: pick the visual direction, implement it in code, and audit what shipped.

  • IS: choosing visual direction (palettes, type scales, tokens, layout systems, CRO strategy, brand boards), building UI in code, and auditing built React or Next frontends for user-facing defects with file:line evidence, applied fixes, and a ship verdict.
  • IS NOT: deciding what an interface should do before it exists (use product-design); non-UI correctness and code quality (use tidy); agentic-app review (use ax-audit); deep typography or motion passes (use typography-audit, ui-animation); measuring the rendered page in a browser (use ui-verification); the wording of a string (use ghostwriter).

Contents

Existing brand and specs

For brand positioning, identity changes, or a system spanning campaigns and physical applications, that is out of scope; name the open brand question and apply the identity the company already has. Direction mode applies that identity to UI; it does not reopen an approved brand.

Before choosing styles, read the project's existing design.md, design-system.md, or brand guide when present. Check its scope and source against the implemented theme; report drift instead of creating a second competing specification.

Modes

Resolve one mode before acting, and load only that mode's files.

Mode Dispatch when the user asks for Load
Direction visual direction, palettes, fonts, tokens, a brand kit, "pick a style"; deliverable is a spec, not code the Direction section below
Extract recording what an existing codebase already decided: "what design system does this use", "document our tokens", "inventory our components and scales" references/design-system-extract.md only
Build the target does not exist yet: "build a landing page", "create a dashboard", "add a pricing section" direction/aesthetic-direction.md, design-guidelines.md, then the applicable files from its index
Audit the target exists and no change was named: "audit this component", "check my UI", "is this accessible", "design QA this page", "is this ready to ship". Deslop scope on "remove AI slop", "looks vibe coded", "simplify this UI" references/feature-playbooks.md and rules/ only
Break adversarial stress-testing with worst-case data: "stress-test this", "break this UI", "find the worst case", "what happens with a huge/empty/weird value" references/break-catalog.md only
Options variants to compare in the browser: "show me 3 hero layouts" ideas.md plus the guidelines per variant
Scaffold semantic, unstyled markup from a screenshot, Figma export, mockup, or wireframe markup-from-image.md only; the scaffold stays unstyled
Retrofit one dimension added to existing UI: "add dark mode", "make this responsive", "fix this on mobile" add-dark-mode.md, make-responsive.md; for raster images also dark-mode-image.md (requires the imagegen skill, Codex)
Componentize extracting components or cleaning up classes: "componentize this page", "clean up the Tailwind" componentize.md; for cleanup also canonicalize-tailwind.md

Read the full file on GitHub · 251 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago Changed · +26 lines · +27 tokens per session 77fdfd2ca8f8
  2. 15d ago Changed · -23 lines · -21 tokens per session 8fe5eaba85da
  3. 26d ago Changed c0e9d81552ce
  4. 28d ago Changed 3eb66a35f700
  5. 1mo ago Changed · +17 lines 344895949c06
  6. 1mo ago Changed 9598f15c5dee
  7. 1mo ago Changed 6309db8d8b53
  8. 1mo ago Changed · +4 lines 4a49e8abf4ac
  9. 1mo ago Changed · -24 lines · -161 tokens per session a0456b3ebf78
  10. 1mo ago First seen · 251 lines · 241 tokens per session scan A 498c1beabcd3

Subscribe to this mod's changes

ui-design is a skill published in the GitHub repository mblode/agent-skills (151 stars, last pushed 4d ago), licensed MIT. It adds 86 tokens to every session and 5,689 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.