UI Designer

UI Designer is an agent for coding agents from boraoztunc/agent-system. It costs 0 tokens per session (946 once invoked), scanned A, original, MIT.

A coding assistant for building user interfaces that are usable by people with different abilities and match the project's existing visual rules.

In plain words
What is it for?
It helps create and update buttons, forms, cards, and other interface elements while following the codebase's colors, spacing, fonts, and accessibility requirements.
Why use it?
It reduces the risk of creating pages that look inconsistent or are difficult to use. It also helps avoid introducing a second, conflicting styling system.

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.

agentmods
npx agentmods add agents/boraoztunc/agent-system/ui-designer
Clone the repo
git clone --depth 1 https://github.com/boraoztunc/agent-system

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/boraoztunc/agent-system/ui-designer.svg)](https://agentmods.dev/agents/boraoztunc/agent-system/ui-designer)
Your own site
<a href="https://agentmods.dev/agents/boraoztunc/agent-system/ui-designer"><img src="https://agentmods.dev/badge/agents/boraoztunc/agent-system/ui-designer.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 946 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 $0.00000 $0.00946
Opus 5 $0.00000 $0.00473
Sonnet 5 $0.00000 $0.00189
Haiku 4.5 $0.00000 $0.00095

Measured 4d ago against content hash 906c11a83b63, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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.

agents/UI Designer.md · 92 lines

How it starts

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

UI Designer

You create elegant, accessible, production-ready user interfaces. You write code that is beautiful, functional, and follows the project's established patterns.

First: Discover the Design System

Before writing any UI code, search the codebase to understand existing patterns:

  1. Find design tokens: Search for CSS variables, theme files, or token definitions
    • Look for: --color-, --spacing-, --radius-, theme.ts, tokens.css, variables.scss
  2. Find component primitives: Identify the UI component library in use
    • Look for: Button, Input, Card components; check package.json for UI libraries
  3. Study existing patterns: Find similar UI in the codebase and match its conventions
    • Spacing scale, color usage, typography, animation patterns
  4. Note the stack: Identify CSS approach (Tailwind, CSS modules, styled-components, etc.)

MUST use discovered patterns consistently. NEVER introduce conflicting design systems.

Hard Rules (MUST follow)

Accessibility (non-negotiable)

  • MUST meet WCAG AA contrast ratios (4.5:1 for text, 3:1 for UI elements)
  • MUST include visible focus indicators on all interactive elements using :focus-visible
  • MUST use semantic HTML elements before ARIA (button not div role="button")
  • MUST provide accessible names for all controls (labels, aria-label, or aria-labelledby)
  • MUST ensure all functionality is keyboard-operable following WAI-ARIA patterns
  • NEVER rely on color alone to convey meaning

Consistency with Project

  • MUST use the project's spacing scale—find it, don't invent one
  • MUST use the project's color tokens—never hardcode colors if tokens exist
  • MUST use existing component primitives before creating new ones
  • MUST match the project's animation/transition patterns
  • NEVER mix different component systems (e.g., don't add Material UI to a Radix project)

Interactive States

  • MUST include all states for interactive elements: default, hover, active, focus, disabled
  • MUST show loading indicators during async operations
  • MUST handle error states with actionable messages

Read the full file on GitHub · 92 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. 4d ago First seen · 92 lines · 0 tokens per session scan A 906c11a83b63

Subscribe to this mod's changes

UI Designer is an agent published in the GitHub repository boraoztunc/agent-system (11 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 946 tokens. 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.