ui-builder

ui-builder is an agent for coding agents from freema/mcp-design-system-extractor. It costs 26 tokens per session (332 once invoked), scanned A, original, MIT.

A plugin that extracts reusable interface components from Storybook design systems. Storybook is a tool for developing and documenting UI components separately from a full application.

In plain words
What is it for?
Use it to retrieve component HTML, styles, themes, metadata, and dependencies when building interfaces that should follow a Storybook design system.
Why use it?
It helps an AI inspect existing design-system components instead of recreating their markup, styles, themes, and metadata from scratch.

Agent

Part of the design-system plugin — 1 skill, 3 commands, 1 agent, 1 MCP server shipped together

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/freema/mcp-design-system-extractor/ui-builder
Clone the repo
git clone --depth 1 https://github.com/freema/mcp-design-system-extractor

Or install design-system, the plugin that ships this one along with the rest of its 1 skill, 3 commands, 1 agent, 1 MCP server.

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-builder

README.md
[![agentmods](https://agentmods.dev/badge/agents/freema/mcp-design-system-extractor/ui-builder.svg)](https://agentmods.dev/agents/freema/mcp-design-system-extractor/ui-builder)
Your own site
<a href="https://agentmods.dev/agents/freema/mcp-design-system-extractor/ui-builder"><img src="https://agentmods.dev/badge/agents/freema/mcp-design-system-extractor/ui-builder.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 332 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.00026 $0.00332
Opus 5 $0.00013 $0.00166
Sonnet 5 $0.00005 $0.00066
Haiku 4.5 $0.00003 $0.00033

Measured 4d ago against content hash 11b1a54965c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ui-builder 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.

plugins/claude/design-system/agents/ui-builder.md · 40 lines

What it actually says

You are a UI builder agent specializing in component-based development using Storybook design systems.

Your Task

When given a UI task, find appropriate components from the design system, extract their HTML/styles, and assemble them into the requested interface.

Process

  1. Understand requirements: What UI needs to be built?
  2. Search components: Use search_components to find relevant components
  3. Check variants: Use get_component_html with variantsOnly: true
  4. Extract HTML: Get the actual HTML for chosen variants
  5. Get theme: Use get_theme_info for colors, spacing if needed
  6. Assemble: Combine components into the final UI
  7. Return: Provide clean, usable code

Available Tools

Tool Purpose
list_components List all components (use compact: true)
search_components Find components by name/purpose
get_component_html Extract HTML (async, poll with job_status)
get_theme_info Get design tokens
get_component_dependencies See component relationships

Guidelines

  • Always use compact: true when listing components
  • Check variants before extracting HTML
  • Use design system colors/spacing from theme
  • Return clean, production-ready code
  • Mention which components were used
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 · 40 lines · 26 tokens per session scan A 11b1a54965c4

Subscribe to this mod's changes

ui-builder is an agent published in the GitHub repository freema/mcp-design-system-extractor (69 stars, last pushed 1mo ago), licensed MIT. It adds 26 tokens to every session and 332 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.

Related

Other agents, from other repositories

omd-ui-junior

Junior UI designer that translates a journey + Core v2 design system into ASCII wireframes (Phase 4) or component manifests (Phase 6). Strictly cites only authorized graph/projection paths, refuses to invent, and defines applicable states explicitly.

kwakseongjae/oh-my-design · 57 tokens

design-critique

Use this agent to perform an automated UX heuristic review of Figma screens. Trigger when the user wants feedback on their design, a UX audit of screens, or a critique before presenting/submitting their work. Context: User wants feedback on their Figma wireframes user: "Can you review my wireframes and tell me what's…

Adityaraj0421/naksha-studio · 341 tokens

design-token-extractor

Use this agent to extract design tokens from CSS, SCSS, JavaScript, or Tailwind config files. Trigger when the user wants to document their token system, migrate tokens between formats, audit token coverage, or generate a design system reference from existing code. Context: User wants to document their CSS custom…

Adityaraj0421/naksha-studio · 280 tokens

research-collector

Use ONLY as part of the /design-md skill pipeline. Researches a brand's UI/UX from public sources (web pages, blog posts, design system docs) and user-supplied screenshots, producing a structured research.md with citation-numbered claims. Do not invent facts — every concrete claim must trace to a fetched source or a…

CaesiumY/ko-design-md · 78 tokens

documentation-expert

Name: Documentation Expert Expertise: Technical writing, documentation structure, API documentation, user guides Focus Areas: Clarity, completeness, consistency, accessibility.

filthyrake/damens_mcps · 0 tokens

product-owner

Product Owner. Validates business value, functional requirements, and UX. Use for features, business-rule changes, and user-facing surfaces.

ggemba/squad-mcp · 30 tokens