ui-designer

ui-designer is a skill for Claude Code, Codex from majiayu000/spellbook. It costs 47 tokens per session (1,435 once invoked), scanned A, a copy of design-system-builder, MIT.

A workflow for examining UI screenshots or mockups and turning their visual patterns into a documented design system and build-ready prompts.

In plain words
What is it for?
Use it to study reference interfaces, document their design rules, write a product brief, and plan an MVP UI that follows the same style.
Why use it?
It helps developers reproduce an existing visual style consistently instead of guessing at colors, typography, spacing, and layout.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to study reference interfaces, document their design rules, write a product brief, and plan an MVP UI that follows the same style.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/majiayu000/spellbook/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.

Any agent
npx skills add majiayu000/spellbook --skill ui-designer
Clone the repo
git clone --depth 1 https://github.com/majiayu000/spellbook

Made for: Claude Code, Codex.

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/skills/majiayu000/spellbook/ui-designer/github.svg)](https://agentmods.dev/skills/majiayu000/spellbook/ui-designer)
Your own site
<a href="https://agentmods.dev/skills/majiayu000/spellbook/ui-designer"><img src="https://agentmods.dev/badge/skills/majiayu000/spellbook/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/skills/majiayu000/spellbook/ui-designer"><img src="https://agentmods.dev/badge/skills/majiayu000/spellbook/ui-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,435 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.00047 $0.01435
Opus 5 $0.00023 $0.00718
Sonnet 5 $0.00009 $0.00287
Haiku 4.5 $0.00005 $0.00144

Measured 7d ago against content hash f6a8eb5e20c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 7d 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 design-system-builder — 2 lines 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.

skills/ui-designer/SKILL.md · 192 lines

How it starts

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

UI Designer

Overview

This skill enables systematic extraction of design systems from reference UI images through a multi-step workflow: analyze visual patterns → generate design system documentation → create PRD → produce implementation-ready UI prompts.

When to Use

  • User provides UI screenshots, mockups, or design references
  • Need to extract color palettes, typography, spacing from existing designs
  • Want to generate design system documentation from visual examples
  • Building MVP UI that should match reference aesthetics
  • Creating multiple UI variations following consistent design principles

Workflow

Step 1: Gather Inputs

Request from user:

  • Reference images directory: Path to folder containing UI screenshots/mockups
  • Project idea file: Document describing the product concept and goals
  • Existing PRD (optional): If PRD already exists, skip Step 3

Step 2: Extract Design System from Images

Use Task tool with general-purpose subagent, providing:

Prompt template from assets/design-system.md:

  • Analyze color palettes (primary, secondary, accent, functional colors)
  • Extract typography (font families, sizes, weights, line heights)
  • Identify component styles (buttons, cards, inputs, icons)
  • Document spacing system
  • Note animations/transitions patterns
  • Include dark mode variants if present

Attach reference images to the subagent context.

Output: Complete design system markdown following the template format

Save to: documents/designs/{image_dir_name}_design_system.md

Step 3: Generate MVP PRD (if not provided)

Use Task tool with general-purpose subagent, providing:

Prompt template from assets/app-overview-generator.md:

  • Replace {项目背景} with content from project idea file
  • The template guides through: elevator pitch, problem statement, target audience, USP, features list, UX/UI considerations

Interact with user to refine and clarify product requirements

Output: Structured PRD markdown

Read the full file on GitHub · 192 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 192 lines · 47 tokens per session scan A f6a8eb5e20c9

Subscribe to this mod's changes

ui-designer is a skill published in the GitHub repository majiayu000/spellbook (278 stars, last pushed yesterday), licensed MIT. It adds 47 tokens to every session and 1,435 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 design-system-builder, differing in 2 lines, and is treated as a copy.

Related

Other skills, from other repositories

Tailwind CSS Patterns

Use this skill when styling UI with Tailwind and you want consistent design tokens, maintainable class composition, and good accessibility defaults.

AmariahAK/atlarix-skills · 4 tokens

Create Design System

You are an expert design systems architect. You create comprehensive, production-ready CSS design systems from requirements or existing designs. Your output is immediately usable in any modern web project.

AmariahAK/atlarix-skills · 3 tokens

web-design-reviewer

This skill enables visual inspection of websites running locally or remotely to identify and fix design issues. Triggers on requests like "review website design", "check the UI", "fix the layout", "find design problems". Detects issues with responsive design, accessibility, visual consistency, and layout breakage…

Galaxy-Dawn/claude-scholar · 74 tokens

ui-web

Web UI - glassmorphism, Tailwind, dark mode, accessibility.

alinaqi/maggy · 17 tokens

mulmoterminal-theme

Build a colour scheme of your own for MulmoTerminal — one that joins Midnight, Nord, Daylight and Solarized in Settings' theme picker and can then be pinned per project. Writes themes in /.mulmoterminal/config.json, the whole-app palette (panels, borders, accent, text), which has no UI for creating one — Settings only…

receptron/mulmoterminal · 168 tokens

ijfw-ui-spec

Use when the user says: 'ui spec', 'design contract', 'ui audit setup', 'lock the design', 'visual contract', 'ui review setup', or '/ijfw-ui-spec'. Produces UI-SPEC.md as the visual design contract before any frontend or visual-artifact build, and dispatches ijfw-ui-auditor as the final 6-pillar gate.

FerroxLabs/ijfw · 83 tokens