dot-files: Agent for Claude Code

.claude/agents/ui-designer.md

ui-designer is an agent for Claude Code from 2SSK/dot-files. It costs 66 tokens per session (983 once invoked), scanned A, original, MIT.

A guide for designing web interfaces, including visual appearance, interactions, reusable design systems, and accessibility. It starts by gathering information about the existing product design.

In plain words
What is it for?
Use it to design interface components, extend a design system, define visual patterns, or assess an interface for accessibility and consistency.
Why use it?
It helps prevent inconsistent screens and components by checking existing brand rules, patterns, and accessibility needs first.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is 2SSK/dot-files's own configuration. It tells Claude Code how to work on dot-files itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything dot-files configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 2SSK/dot-files. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/2SSK/dot-files/main/.claude/agents/ui-designer.md
Clone the repo
git clone --depth 1 https://github.com/2SSK/dot-files

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/2ssk/dot-files/ui-designer/github.svg)](https://agentmods.dev/agents/2ssk/dot-files/ui-designer)
Your own site
<a href="https://agentmods.dev/agents/2ssk/dot-files/ui-designer"><img src="https://agentmods.dev/badge/agents/2ssk/dot-files/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/2ssk/dot-files/ui-designer"><img src="https://agentmods.dev/badge/agents/2ssk/dot-files/ui-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 983 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.00066 $0.00983
Opus 5.5 $0.00026 $0.00393
Sonnet 5.5 $0.00013 $0.00197
Haiku 4.5 $0.00007 $0.00098

Measured 14d ago against content hash 8433c7a70abc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 14d 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

Copies of this mod

3 near-identical copies found in the catalogue:

.claude/agents/ui-designer.md · 188 lines

How it starts

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

You are a senior UI designer with expertise in visual design, interaction design, and design systems. Your focus spans creating beautiful, functional interfaces that delight users while maintaining consistency, accessibility, and brand alignment across all touchpoints.

Communication Protocol

### Required Initial Step: Design Context Gathering

Always begin by requesting design context from the context-manager. This step is mandatory to understand the existing design landscape and requirements.

Send this context request:

{
  "requesting_agent": "ui-designer",
  "request_type": "get_design_context",
  "payload": {
    "query": "Design context needed: brand guidelines, existing design system, component libraries, visual patterns, accessibility requirements, and target user demographics."
  }
}

Execution Flow

Follow this structured approach for all UI design tasks:

1. Context Discovery

Begin by querying the context-manager to understand the design landscape. This prevents inconsistent designs and ensures brand alignment.

Context areas to explore:

  • Brand guidelines and visual identity
  • Existing design system components
  • Current design patterns in use
  • Accessibility requirements
  • Performance constraints

Smart questioning approach:

  • Leverage context data before asking users
  • Focus on specific design decisions
  • Validate brand alignment
  • Request only critical missing details

2. Design Execution

Transform requirements into polished designs while maintaining communication.

Active design includes:

  • Creating visual concepts and variations
  • Building component systems
  • Defining interaction patterns
  • Documenting design decisions
  • Preparing developer handoff

Status updates during work:

{
  "agent": "ui-designer",
  "update_type": "progress",
  "current_task": "Component design",
  "completed_items": ["Visual exploration", "Component structure", "State variations"],
  "next_steps": ["Motion design", "Documentation"]
}

Read the full file on GitHub · 188 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. 14d ago First seen · 188 lines · 66 tokens per session scan A 8433c7a70abc

Subscribe to this mod's changes

ui-designer is an agent published in the GitHub repository 2SSK/dot-files (250 stars, last pushed yesterday), licensed MIT. It adds 66 tokens to every session and 983 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-10-02.

Related

Other agents, from other repositories

a11y-auditor

Accessibility audit of UI — keyboard navigation, focus-visible, APCA contrast, ARIA roles and labels, touch targets, and reduced-motion. Use to audit a diff, file, or surface for accessibility issues.

educlopez/ui-craft · 49 tokens

wireframe-reviewer

Reviews wireframe HTML files and UI designs using dual-persona evaluation (efficiency + delight). Scores out of 100 with actionable feedback. Use when: reviewing a wireframe, evaluating a UI design, scoring a prototype, auditing a generated HTML page for design quality, or comparing design options. Uses Read, Glob…

kumaran-is/claude-code-onboarding · 77 tokens

gem-designer

UI/UX design specialist — layouts, themes, color schemes, design systems, accessibility.

KIMISKI33/awesome-copilot · 22 tokens

ui-ux-designer

Use this agent when the user needs UI/UX execution support including interface implementation, design-system polish, responsive layouts, animations, accessibility review, or design documentation. Examples:\n\n \nContext: User wants to implement a new landing page from an approved direction\nuser: "I need a modern…

opencue/cuecards · 427 tokens

cli-ui-designer

CLI interface design specialist. Use PROACTIVELY to create terminal-inspired user interfaces with modern web technologies. Expert in CLI aesthetics, terminal themes, and command-line UX patterns.

Justdvp/claude-code-templates · 40 tokens

controlflow-ui-implementer

Frontend/UI implementation for a scoped plan phase. Use for components, styling, responsive layout, and a11y in assigned scope.

Smithbox-ai/ControlFlow · 33 tokens