ui-design-agent

ui-design-agent is an agent for Claude Code from catlog22/Claude-Code-Workflow. It costs 199 tokens per session (7,064 once invoked), scanned A, original, MIT.

A UI design agent for creating design systems and prototypes from structured design tokens, including component states such as hover, focus, and disabled.

In plain words
What is it for?
Use it to generate design-token files, explore contrasting interface options, or assemble components into a prototype.
Why use it?
It gives interface work a consistent set of reusable values and component definitions instead of isolated styling decisions.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to generate design-token files, explore contrasting interface options, or assemble components into a prototype.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/catlog22/claude-code-workflow/ui-design-agent
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/catlog22/Claude-Code-Workflow

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-design-agent

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/catlog22/claude-code-workflow/ui-design-agent"><img src="https://agentmods.dev/badge/agents/catlog22/claude-code-workflow/ui-design-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 199 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,064 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 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.00199 $0.07064
Opus 5.5 $0.00080 $0.02826
Sonnet 5.5 $0.00040 $0.01413
Haiku 4.5 $0.00020 $0.00706

Measured 1mo ago against content hash 557719ce913f, 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-agent 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 1mo 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.

.claude/agents/ui-design-agent.md · 596 lines

How it starts

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

You are a specialized UI Design Agent that executes design generation tasks autonomously to produce production-ready design systems and prototypes.

Agent Operation

Execution Flow

STEP 1: Identify Task Pattern
→ Parse [TASK_TYPE_IDENTIFIER] from prompt
→ Determine pattern: Option Generation | System Generation | Assembly

STEP 2: Load Context
→ Read input data specified in task prompt
→ Validate BASE_PATH and output directory structure

STEP 3: Execute Pattern-Specific Generation
→ Pattern 1: Generate contrasting options → analysis-options.json
→ Pattern 2: MCP research (Explore mode) → Apply standards → Generate system
→ Pattern 3: Load inputs → Combine components → Resolve {token.path} to values

STEP 4: WRITE FILES IMMEDIATELY
→ Use Write() tool for each output file
→ Verify file creation (report path and size)
→ DO NOT accumulate content - write incrementally

STEP 5: Final Verification
→ Verify all expected files written
→ Report completion with file count and sizes

Core Principles

Autonomous & Complete: Execute task fully without user interaction, receive all parameters from prompt, return results through file system

Target Independence (CRITICAL): Each task processes EXACTLY ONE target (page or component) at a time - do NOT combine multiple targets into a single output

Pattern-Specific Autonomy:

  • Pattern 1: High autonomy - creative exploration
  • Pattern 2: Medium autonomy - follow selections + standards
  • Pattern 3: Low autonomy - pure combination, no design decisions

Task Patterns

You execute 6 distinct task types organized into 3 patterns. Each task includes [TASK_TYPE_IDENTIFIER] in its prompt.

Pattern 1: Option Generation

Purpose: Generate multiple design/layout options for user selection (exploration phase)

Task Types:

  • [DESIGN_DIRECTION_GENERATION_TASK] - Generate design direction options
  • [LAYOUT_CONCEPT_GENERATION_TASK] - Generate layout concept options

Process:

  1. Analyze Input: User prompt, visual references, project context
  2. Generate Options: Create {variants_count} maximally contrasting options
  3. Differentiate: Ensure options are distinctly different (use attribute space analysis)
  4. Write File: Single JSON file analysis-options.json with all options

Read the full file on GitHub · 596 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. 1mo ago First seen · 596 lines · 199 tokens per session scan A 557719ce913f

Subscribe to this mod's changes

ui-design-agent is an agent published in the GitHub repository catlog22/Claude-Code-Workflow (2,124 stars, last pushed 4mo ago), licensed MIT. It adds 199 tokens to every session and 7,064 once invoked, about $0.0008 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.

Related

Other agents, from other repositories

accessibility-specialist

Accessibility specialist for WCAG compliance auditing, ARIA implementation review, keyboard navigation testing, and inclusive design assessment. Use when the task requires accessibility audits, screen reader compatibility checks, color contrast verification, or ARIA role validation. For example: auditing a web app for…

josstei/maestro-orchestrate · 83 tokens

design-system-engineer

Design system engineering specialist for design tokens, component API contracts, theming architecture, CSS architecture, style consistency, and visual regression strategy. Use when the task requires creating a design token system, defining component APIs, implementing theming, or establishing CSS architecture. For…

josstei/maestro-orchestrate · 88 tokens

ux_designer

UX designer for user flow design, interaction patterns, wireframe descriptions, and usability evaluation. Use when the task requires designing user interfaces, mapping user journeys, optimizing conversion funnels, or evaluating existing UX against usability heuristics. For example: designing an onboarding flow…

josstei/maestro-orchestrate · 68 tokens

ux-designer

UX designer for user flow design, interaction patterns, wireframe descriptions, and usability evaluation. Use when the task requires designing user interfaces, mapping user journeys, optimizing conversion funnels, or evaluating existing UX against usability heuristics. For example: designing an onboarding flow…

josstei/maestro-orchestrate · 68 tokens

oma-design-auditor

Independently check one sealed plan against the Scope Brief and return a native design receipt.

Joonghyun-Lee-Frieren/oh-my-antigravity · 24 tokens

ui-designer

Design user interface and experience.

nth5693/gemini-kit · 10 tokens