ui-design

ui-design is a skill for Claude Code, Codex from mblode/agent-skills. It costs 80 tokens per session (4,807 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 CodeCodex

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

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.

agentmods
npx agentmods add skills/mblode/agent-skills/ui-design
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, Codex.

Or install agent-skills, the plugin that ships this one along with the rest of its 27 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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,807 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00080 $0.04807
Opus 5 $0.00040 $0.02403
Sonnet 5 $0.00016 $0.00961
Haiku 4.5 $0.00008 $0.00481

Measured today against content hash a0456b3ebf78, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 today.

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 · 227 lines

How it starts

The opening of the file, as written. The whole thing — 227 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 pr-reviewer); agentic-app review (use ax-audit); deep typography or motion passes (use typography-audit, ui-animation); the wording of a string (use copywriting).

Contents

Routing boundary

product-design owns action semantics, scope, reversibility, and contested state choices. ui-design builds and styles those states. ui-animation owns timing, gestures, and measured motion. A routine missing loading or error state stays with the UI build; a gesture replacing a control needs a product decision and an accessible alternative before its physics.

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
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 · 227 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. today Changed · -24 lines · -161 tokens per session a0456b3ebf78
  2. 6d 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 (102 stars, last pushed today), licensed MIT. It adds 80 tokens to every session and 4,807 once invoked, about $0.0004 per session on Opus 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.

Related

Other skills, from other repositories

frontend-design

Guidance for distinctive, intentional visual design when building or reshaping UI, HTML/React artifacts, dashboards, charts, and visual reports. Use before implementation to choose a content-specific structure, typography, and visual system that does not read as a templated default.

spytensor/openmozi · 56 tokens

taste-skill

Use this skill when the task involves building or improving any web UI, frontend component, dashboard, or landing page. Enforces high-end design standards and eliminates generic AI-generated interface patterns.

aaronnat23/disp8ch · 0 tokens

tailwind-v4-shadcn

Production-tested setup for Tailwind CSS v4 with shadcn/ui, Vite, and React. Use when: initializing React projects with Tailwind v4, setting up shadcn/ui, implementing dark mode, debugging CSS variable issues, fixing theme switching, migrating from Tailwind v3, or encountering color/theming problems. Covers: @theme…

NikitaDmitrieff/auto-co-meta · 198 tokens

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

UnicomAI/wanwu · 64 tokens

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

spytensor/openmozi · 64 tokens

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

MRWillisT/PullNexus · 64 tokens