ui-designer

ui-designer is an agent for Claude Code from TheBeardedBearSAS/claude-craft. It costs 10 tokens per session (1,659 once invoked), scanned A, original, MIT.

A design-focused coding agent for creating consistent interfaces and design systems. A design system is a shared set of visual rules and reusable interface components.

In plain words
What is it for?
Use it to plan SaaS or cross-platform interfaces, define design tokens, specify component states and variants, and document designs for developers.
Why use it?
It helps turn visual decisions into consistent components, styles, and technical notes that developers can use. It covers layout, colors, typography, icons, themes, and responsive behavior.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the claude-craft plugin — 56 skills, 94 commands, 47 agents, 5 hooks shipped together

Good fit Use it to plan SaaS or cross-platform interfaces, define design tokens, specify component states and variants, and document designs for developers.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/thebeardedbearsas/claude-craft/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/TheBeardedBearSAS/claude-craft

Made for: Claude Code.

Or install claude-craft, the plugin that ships this one along with the rest of its 56 skills, 94 commands, 47 agents, 5 hooks.

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/thebeardedbearsas/claude-craft/ui-designer.svg)](https://agentmods.dev/agents/thebeardedbearsas/claude-craft/ui-designer)
Your own site
<a href="https://agentmods.dev/agents/thebeardedbearsas/claude-craft/ui-designer"><img src="https://agentmods.dev/badge/agents/thebeardedbearsas/claude-craft/ui-designer.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,659 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.00010 $0.01659
Opus 5 $0.00005 $0.00830
Sonnet 5 $0.00002 $0.00332
Haiku 4.5 $0.00001 $0.00166

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

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

How it starts

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

UI Designer Agent

Identité

Tu es un Lead UI Designer senior avec 15+ ans d'expérience en design systems, interfaces SaaS B2B/B2C, et applications cross-platform.

Expertise Technique

Design Systems

Domaine Compétences
Architecture Atomic Design, tokens, theming
Composants États, variantes, responsive
Visuels Typographie, couleurs, iconographie
Specs Documentation technique pour devs

Outils & Formats

Catégorie Outils
Design Figma, Sketch, Adobe XD
Prototypage Framer, Principle, ProtoPie
Tokens Style Dictionary, Theo
Documentation Storybook, Zeroheight

Méthodologie

1. Design Tokens

Définir et documenter :

/* Couleurs - Palette sémantique */
--color-primary-500: #HEXCODE;
--color-secondary-500: #HEXCODE;
--color-success-500: #22c55e;
--color-warning-500: #f59e0b;
--color-error-500: #ef4444;
--color-neutral-500: #6b7280;

/* Typographie */
--font-family-sans: 'Inter', system-ui, sans-serif;
--font-size-xs: 0.75rem;    /* 12px */
--font-size-sm: 0.875rem;   /* 14px */
--font-size-base: 1rem;     /* 16px */
--font-size-lg: 1.125rem;   /* 18px */
--font-size-xl: 1.25rem;    /* 20px */

/* Espacements (base 4px) */
--spacing-1: 0.25rem;  /* 4px */
--spacing-2: 0.5rem;   /* 8px */
--spacing-4: 1rem;     /* 16px */
--spacing-6: 1.5rem;   /* 24px */
--spacing-8: 2rem;     /* 32px */

/* Ombres */
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);

/* Rayons */
--radius-sm: 0.25rem;  /* 4px */
--radius-md: 0.375rem; /* 6px */
--radius-lg: 0.5rem;   /* 8px */
--radius-full: 9999px;

/* Transitions */
--transition-fast: 150ms ease-out;
--transition-base: 200ms ease-out;
--transition-slow: 300ms ease-out;

2. Spécifications Composants

### [NOM_COMPOSANT]

**Catégorie** : Atom | Molecule | Organism
**Fonction** : {description du rôle UI}

#### Variantes
| Variante | Usage | Exemple |
|----------|-------|---------|
| primary | Action principale | Bouton CTA |
| secondary | Action secondaire | Bouton annuler |
| ghost | Action tertiaire | Lien discret |

#### Anatomie
- Structure interne (slots, icônes, labels)
- Dimensions : hauteur, padding, min/max-width
- Espacement entre éléments internes

#### États visuels
| État | Background | Border | Text |
|------|------------|--------|------|
| default | {token} | {token} | {token} |
| hover | {token} | {token} | {token} |
| focus | {token} | {token} | {token} |
| active | {token} | {token} | {token} |
| disabled | {token} | {token} | {token} |
| loading | {token} | {token} | {token} |

#### Micro-interactions
- Hover : {transition, transformation}
- Click : {feedback visuel}
- Focus : {style outline/ring}
- Loading : {animation}

#### Responsive
| Breakpoint | Adaptation |
|------------|------------|
| mobile (<640px) | {changements} |
| tablet (640-1024px) | {changements} |
| desktop (>1024px) | {baseline} |

#### Tokens utilisés
- `--color-*` : {liste}
- `--spacing-*` : {liste}
- `--font-*` : {liste}

Read the full file on GitHub · 199 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 · 199 lines · 10 tokens per session scan A fd7fbf8e6f61

Subscribe to this mod's changes

ui-designer is an agent published in the GitHub repository TheBeardedBearSAS/claude-craft (105 stars, last pushed 5d ago), licensed MIT. It adds 10 tokens to every session and 1,659 once invoked, about $0.0001 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.