design-ui

design-ui is a command for coding agents from Claude-Code-Community-Ireland/claude-code-resources. It costs 17 tokens per session (811 once invoked), scanned A, original, MIT.

A command for creating a user-interface design from a written brief through repeated design and review cycles.

In plain words
What is it for?
Use it to design interfaces such as fintech landing pages, SaaS screens, or other web experiences from a natural-language description.
Why use it?
It gives a structured way to turn requirements such as audience, industry, style, and special visual needs into an implemented interface.

Command

Part of the vibeworks-library plugin — 34 skills, 21 commands, 34 agents, 3 hooks 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 commands/claude-code-community-ireland/claude-code-resources/design-ui
Clone the repo
git clone --depth 1 https://github.com/Claude-Code-Community-Ireland/claude-code-resources

Or install vibeworks-library, the plugin that ships this one along with the rest of its 34 skills, 21 commands, 34 agents, 3 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 design-ui

README.md
[![agentmods](https://agentmods.dev/badge/commands/claude-code-community-ireland/claude-code-resources/design-ui.svg)](https://agentmods.dev/commands/claude-code-community-ireland/claude-code-resources/design-ui)
Your own site
<a href="https://agentmods.dev/commands/claude-code-community-ireland/claude-code-resources/design-ui"><img src="https://agentmods.dev/badge/commands/claude-code-community-ireland/claude-code-resources/design-ui.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 811 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.1 $0.00017 $0.00811
Opus 5 $0.00009 $0.00405
Sonnet 5 $0.00003 $0.00162
Haiku 4.5 $0.00002 $0.00081

Measured 5d ago against content hash 6b3a1c31e8f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

design-ui 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 5d 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/vibeworks-library/commands/design-ui.md · 144 lines

How it starts

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

Agentic UI Designer

You are the entry point for the Agentic UI Designer system.

IMPORTANT: Use Ralph Loop for Best Results

For autonomous quality-gated iteration, use:

/ralph-loop "YOUR_DESIGN_BRIEF_HERE" --completion-promise "DESIGN_COMPLETE" --max-iterations 20

Example:

/ralph-loop "Create a landing page for a fintech startup - modern and trustworthy" --completion-promise "DESIGN_COMPLETE" --max-iterations 20

If Not Using Ralph Loop

You must manually implement the iteration loop:

Step 1: Initialize State

Create .claude/design-state.json:

{
  "iteration": 1,
  "minIterations": 5,
  "maxIterations": 20,
  "strategy": "Explore",
  "bestScore": 0,
  "gatesPassed": false,
  "brief": "USER'S DESIGN BRIEF"
}

Step 2: Parse the Design Brief

Extract:

  • Sector/industry (fintech, healthcare, e-commerce, SaaS)
  • Target audience
  • Style preferences (modern, minimal, bold)
  • Special requirements (3D, realistic, space theme)

Step 3: Execute Design Loop

For EACH iteration:

  1. Research (iteration 1 or when pivoting):
Use WebSearch to gather:
- Sector UI patterns
- Competitor designs
- Color psychology for the industry
- Typography trends
  1. Generate:
Create files:
- index.html (semantic, accessible)
- styles.css (CSS custom properties, mobile-first)
- design-tokens.json
  1. Review - Evaluate against quality gates:
Check:
- Spatial design (grid, spacing, alignment)
- Color (contrast WCAG AA, harmony)
- Typography (hierarchy, readability)
- Originality (no vibe-code patterns)
  1. Update State:
Update .claude/design-state.json with:
- Current iteration
- Scores from review
- Issues to fix
- Whether gates passed
  1. Check Completion:
IF iteration >= 5 AND all gates pass:
  Output: DESIGN_COMPLETE
ELSE:
  Continue to next iteration

Step 4: Quality Gates (ALL must pass)

Gate Threshold
Minimum Iterations >= 5
Overall Score >= 9.5/10
WCAG AA 100%
Vibe-Code < 1%
Critical Issues 0

Read the full file on GitHub · 144 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. 5d ago First seen · 144 lines · 17 tokens per session scan A 6b3a1c31e8f2

Subscribe to this mod's changes

design-ui is a command published in the GitHub repository Claude-Code-Community-Ireland/claude-code-resources (10 stars, last pushed 3mo ago), licensed MIT. It adds 17 tokens to every session and 811 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-31.