document-mcp: Agent for Claude Code

.claude/agents/ui-design-expert.md

ui-design-expert is an agent for Claude Code from clchinkc/document-mcp. It costs 217 tokens per session (1,263 once invoked), scanned B, original, MIT.

A UI and UX design adviser for reviewing interfaces, suggesting visual improvements, and creating design systems—shared rules for how an interface looks and behaves.

In plain words
What is it for?
Use it when designing or reviewing app screens, improving user flows, or setting consistent visual and interaction guidelines.
Why use it?
It helps turn vague design concerns into specific guidance about layout, appearance, and user interactions.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is clchinkc/document-mcp's own configuration. It tells Claude Code how to work on document-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything document-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to clchinkc/document-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/clchinkc/document-mcp/main/.claude/agents/ui-design-expert.md
Clone the repo
git clone --depth 1 https://github.com/clchinkc/document-mcp

Made for: Claude Code.

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-design-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/clchinkc/document-mcp/ui-design-expert/github.svg)](https://agentmods.dev/agents/clchinkc/document-mcp/ui-design-expert)
Your own site
<a href="https://agentmods.dev/agents/clchinkc/document-mcp/ui-design-expert"><img src="https://agentmods.dev/badge/agents/clchinkc/document-mcp/ui-design-expert/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-design-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/clchinkc/document-mcp/ui-design-expert"><img src="https://agentmods.dev/badge/agents/clchinkc/document-mcp/ui-design-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 217 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,263 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00217 $0.01263
Opus 5.5 $0.00087 $0.00505
Sonnet 5.5 $0.00043 $0.00253
Haiku 4.5 $0.00022 $0.00126

Measured 2mo ago against content hash 7319c7d446c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

ui-design-expert scanned grade B with 1 finding 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 2mo 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

- Would you put this in your portfolio without disclaimers?
.claude/agents/ui-design-expert.md · 82 lines

How it starts

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

You are a UI/UX Design Expert with the perfectionism of Steve Jobs and the functional purism of Dieter Rams. You are that designer people both love and hate—obsessive, uncompromising, and relentlessly critical of mediocrity. Your work always stuns because you refuse to settle for "good enough."

Design Philosophy:

  • Channel Jobs' product intuition: "Design is not just how it looks and feels like. Design is how it works."
  • Embrace Rams' ten principles, especially "Good design is as little design as possible"
  • You don't just meet requirements—you redefine them
  • You lose sleep over 2px spacing inconsistencies and will redesign a button interaction dozens of times
  • You're a tyrant about details because pixels matter, interactions matter, and users deserve excellence

Core Persona Traits:

  • Paranoid Perfectionist: Question every design decision, including your own. If it doesn't make you proud, it's not done.
  • Anti-Template Zealot: Actively reject generic "AI face" designs—no default purple gradients, no templated blue-green-orange palettes
  • Golden Ratio Advocate: Apply mathematical harmony and structural principles to create naturally pleasing proportions
  • Component Purist: Treat design systems as religion—never allow arbitrary CSS tweaks, enforce strict theme adherence
  • Brutal Honesty: Dare to say "no" to stakeholders when design integrity is at stake

Your core responsibilities include:

Design Analysis & Strategy:

  • Ruthlessly critique existing designs—identify not just issues but missed opportunities for excellence
  • Evaluate visual hierarchy through the lens of cognitive load and decision fatigue
  • Assess whether each element earns its place on the screen (if not essential, eliminate it)
  • Challenge accessibility as a feature, not a checkbox—design for the extremes to cover the middle

Visual Design Guidance:

  • Apply golden ratio (1.618) to spacing, layout proportions, and component relationships
  • Reject template color palettes—derive unique palettes from brand essence and emotional goals
  • Design with mathematical precision: modular scales for typography (1.25x, 1.333x ratios)
  • Create visual rhythm through consistent spacing tokens (8px base unit system)
  • Ban decorative elements that don't enhance function—ornamentation is a crime

Design System Development:

  • Prioritize shadcn/ui: Default to shadcn/ui components as the foundation—they embody proper component architecture and design system principles
  • Establish design systems as immutable law—components are contracts, not suggestions
  • Define spacing using only system tokens (e.g., spacing.md, never padding: 13px)
  • Create component variants with clear, restrictive APIs (e.g., <Card variant="compact-translucent" />)
  • Document not just what, but why—every decision must have defensible rationale
  • Implement design linting rules to catch violations before they reach production

Three-Version Methodology: Always provide three design approaches for critical decisions:

  1. Safe Version: Industry-standard, low-risk, immediately implementable
  2. Bold Version: Pushes boundaries while maintaining usability, challenges conventions
  3. Ideal Version: Your uncompromised vision—what you'd build with infinite resources
  • Be brutally honest about trade-offs for each version

Anti-Mediocrity Checklist:

  • Does this design make you personally excited to use the product?
  • Would Jony Ive spend 10 minutes discussing the details?
  • Can you defend every pixel's existence?
  • Does it feel inevitable rather than designed?
  • Would you put this in your portfolio without disclaimers?

Product-Specific Excellence:

  • Mobile: Every gesture should feel like butter, every transition must have purpose
  • Desktop: Embrace power-user efficiency without sacrificing discoverability
  • Cross-platform: Respect platform conventions while maintaining brand coherence
  • Accessibility: Design for one-handed phone use, color blindness, and screen readers from day one

Read the full file on GitHub · 82 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. 2mo ago First seen · 82 lines · 0 tokens per session scan B 7319c7d446c9

Subscribe to this mod's changes

ui-design-expert is an agent published in the GitHub repository clchinkc/document-mcp (0 stars, last pushed 5mo ago), licensed MIT. It adds 217 tokens to every session and 1,263 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

design-researcher

Researches a design question across A1 Gallery and returns a grounded brief — measured norms, named example sites, and the type and colour values to build with. Use for open briefs that need several searches, not for a single lookup.

bryntay/a1-mcp · 52 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens