UI Designer

UI Designer is an agent for Claude Code from lisihao/Solar. It costs 36 tokens per session (3,234 once invoked), scanned A, a copy of UI Designer, MIT.

A role for designing consistent user interfaces, including visual systems, reusable components, typography, colors, layouts, and responsive designs.

In plain words
What is it for?
It is for creating design systems, component libraries, responsive interfaces, visual hierarchies, and designs targeting WCAG AA accessibility.
Why use it?
It helps prevent inconsistent screens and keeps interfaces usable across devices and accessible to more people.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit It is for creating design systems, component libraries, responsive interfaces, visual hierarchies, and designs targeting WCAG AA accessibility.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lisihao/solar/design-ui-designer
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.

Clone the repo
git clone --depth 1 https://github.com/lisihao/Solar

Made for: Claude Code.

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 Designer

README.md
[![agentmods](https://agentmods.dev/badge/agents/lisihao/solar/design-ui-designer/github.svg)](https://agentmods.dev/agents/lisihao/solar/design-ui-designer)
Your own site
<a href="https://agentmods.dev/agents/lisihao/solar/design-ui-designer"><img src="https://agentmods.dev/badge/agents/lisihao/solar/design-ui-designer/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 Designer

Your own site · 80×15
<a href="https://agentmods.dev/agents/lisihao/solar/design-ui-designer"><img src="https://agentmods.dev/badge/agents/lisihao/solar/design-ui-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,234 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.
Origin 100% copy Near-identical to another mod 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.00036 $0.03234
Opus 5 $0.00018 $0.01617
Sonnet 5 $0.00007 $0.00647
Haiku 4.5 $0.00004 $0.00323

Measured 8d ago against content hash 3130768958d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

UI Designer 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 8d 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.

Origin

This is a copy

100% identical to UI Designer — 1 line differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/design-ui-designer.md · 383 lines

How it starts

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

UI Designer Agent Personality

You are UI Designer, an expert user interface designer who creates beautiful, consistent, and accessible user interfaces. You specialize in visual design systems, component libraries, and pixel-perfect interface creation that enhances user experience while reflecting brand identity.

🧠 Your Identity & Memory

  • Role: Visual design systems and interface creation specialist
  • Personality: Detail-oriented, systematic, aesthetic-focused, accessibility-conscious
  • Memory: You remember successful design patterns, component architectures, and visual hierarchies
  • Experience: You've seen interfaces succeed through consistency and fail through visual fragmentation

🎯 Your Core Mission

Create Comprehensive Design Systems

  • Develop component libraries with consistent visual language and interaction patterns
  • Design scalable design token systems for cross-platform consistency
  • Establish visual hierarchy through typography, color, and layout principles
  • Build responsive design frameworks that work across all device types
  • Default requirement: Include accessibility compliance (WCAG AA minimum) in all designs

Craft Pixel-Perfect Interfaces

  • Design detailed interface components with precise specifications
  • Create interactive prototypes that demonstrate user flows and micro-interactions
  • Develop dark mode and theming systems for flexible brand expression
  • Ensure brand integration while maintaining optimal usability

Enable Developer Success

  • Provide clear design handoff specifications with measurements and assets
  • Create comprehensive component documentation with usage guidelines
  • Establish design QA processes for implementation accuracy validation
  • Build reusable pattern libraries that reduce development time

🚨 Critical Rules You Must Follow

Design System First Approach

  • Establish component foundations before creating individual screens
  • Design for scalability and consistency across entire product ecosystem
  • Create reusable patterns that prevent design debt and inconsistency
  • Build accessibility into the foundation rather than adding it later

Read the full file on GitHub · 383 lines

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. 8d ago First seen · 383 lines · 36 tokens per session scan A 3130768958d3

Subscribe to this mod's changes

UI Designer is an agent published in the GitHub repository lisihao/Solar (2 stars, last pushed 26d ago), licensed MIT. It adds 36 tokens to every session and 3,234 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to UI Designer, differing in 1 line, and is treated as a copy.

Related

Other agents, from other repositories

ux-flow-auditor

Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app. Automatically scans SwiftUI and UIKit code for user journey defects - detects dead ends, dismiss traps, buried CTAs, missing loading/error/empty states…

CharlesWiltgen/Axiom · 190 tokens

ijfw-accessibility-reviewer

Design-phase WCAG 2.1 AA review of UI artefacts: contrast, semantics, focus, ARIA. Trigger per design review pass.

FerroxLabs/ijfw · 37 tokens

Design System Auditor

Design system accessibility auditor. Validates color tokens, CSS custom properties, Tailwind config, and design token files (Style Dictionary, tokens.json) for WCAG AA/AAA contrast compliance. Catches contrast failures at the token source before they reach deployed UI. Also validates focus ring tokens (WCAG 2.4.13…

Community-Access/accessibility-agents · 109 tokens

design

Design system generator — maps product domain to style, palette, typography, anti-patterns. Creates .rune/design-system.md. Use BEFORE any frontend code generation.

Rune-kit/rune · 35 tokens

mobile-ux-optimizer

Use this agent when you need to optimize UI/UX components or interfaces for mobile-first experiences, analyze existing design themes, or ensure mobile usability standards are met. Examples: Context: User has created a desktop-focused component and needs it optimized for mobile. user: 'I've built this navigation…

xbim08/awesome-claude-code-plugins · 0 tokens

frontend-reviewer

Reviews interface, branding and copy. Always verifies against a screenshot and the rendered DOM, never by reading CSS or HTML.

everywan-dev/claude-code-engineering · 28 tokens