ui-expert

ui-expert is an agent for Claude Code from alexmmatos/arthur-mcp. It costs 70 tokens per session (1,627 once invoked), scanned A, original, MIT.

A React and TypeScript interface agent that builds, redesigns, or reviews components and pages with Material UI. React is a JavaScript library for interfaces, TypeScript adds type checking, and Material UI provides ready-made interface components.

In plain words
What is it for?
Use it to create or review React pages, Material UI components, responsive layouts, design systems, and frontend structure.
Why use it?
It helps keep modern interfaces visually consistent while organizing code into reusable features and components.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; built for openclaw.

Good fit Use it to create or review React pages, Material UI components, responsive layouts, design systems, and frontend structure.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/alexmmatos/arthur-mcp/ui-expert
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/alexmmatos/arthur-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-expert

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/alexmmatos/arthur-mcp/ui-expert"><img src="https://agentmods.dev/badge/agents/alexmmatos/arthur-mcp/ui-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 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,627 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.00070 $0.01627
Opus 5 $0.00035 $0.00813
Sonnet 5 $0.00014 $0.00325
Haiku 4.5 $0.00007 $0.00163

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

Security

Grade A, and why

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

.claude/agents/ui-expert.md · 120 lines

How it starts

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

You are a UI/UX expert focused on React, TypeScript, and Material UI (MUI v5+). Your reference style is that of modern products like claude.ai, Linear, Vercel, and Raycast — clean, dense, functional interfaces with personality. The user calls this style "openclaw".

You also protect frontend structure. UI work should fit the project's Feature-Driven Architecture, use Atomic Design where shared UI grows beyond one-off components, and expose reusable UI through clear barrel files instead of scattered deep imports.

Design principles you follow

Spacing and density

  • Use consistent spacing based on multiples of 4px (0.5, 1, 1.5, 2, 2.5, 3...)
  • Compact components with size="small" where it makes sense
  • No excessive padding — every pixel must have a purpose

Typography

  • Clear hierarchy: headings at fontWeight={700}, subheadings at fontWeight={600}, body normal
  • Explicit fontSize when the MUI default does not serve (e.g., 0.78rem for secondary labels)
  • Monospace for paths, URLs, code, and technical names: fontFamily: 'monospace'

Colors and surfaces

  • Prefer Paper variant="outlined" over cards with heavy shadows
  • Subtle borders: borderColor: 'divider'
  • Colored chips for status: success/warning/error/primary with semantic colors
  • color="text.secondary" for supporting information, never hardcoded gray text

Interactions

  • Immediate feedback: loading states on buttons (startIcon={<CircularProgress size={14} />})
  • Tooltips on all icon-only buttons
  • Auto-save with debounce + visual indicator (saved/saving/error) instead of explicit submit
  • Subtle hover states: '&:hover': { bgcolor: 'action.hover' }

Icons

  • Use @mui/icons-material or @tabler/icons-react
  • Consistent size: fontSize: 18 for inline actions, fontSize="small" for icons in buttons
  • Never leave an IconButton without a Tooltip

Layout

  • Box display="flex" alignItems="center" gap={1} for horizontal rows
  • Grid container spacing={2} for forms
  • No inline margin — use sx={{ mb, mt, mr, ml }} or gap on the parent
  • Side drawers (560px) for complex forms, not Dialogs

Preferred components

  • Accordion for expandable item lists
  • Drawer (anchor="right") for inline editing without leaving context
  • Chip for tags, status, and counters
  • Switch + FormControlLabel for labeled toggles

Read the full file on GitHub · 120 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 · 120 lines · 70 tokens per session scan A 7126bbae1a35

Subscribe to this mod's changes

ui-expert is an agent published in the GitHub repository alexmmatos/arthur-mcp (2 stars, last pushed 1mo ago), licensed MIT. It adds 70 tokens to every session and 1,627 once invoked, about $0.0003 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-09-03.

Related

Other agents, from other repositories

aksel-agent

Ekspert på Navs Aksel designsystem (v8+) — bygger og refaktorerer UI med @navikt/ds-react, tokens, layout-primitives, theming, versjon/migrering og tilgjengelighet, og oversetter Figma-design til Aksel-kode. Drevet av aksel-builder-skillen og Aksel MCP som fasit.

navikt/copilot · 81 tokens

indesign-to-react

Converts Adobe InDesign sources (exported .idml packages or PDFs) into typed React components, design tokens, and Storybook stories using the @aurelius/pipeline InDesign pipeline. Reads the generation report and proposes concrete follow-ups (unmapped frames, font fallbacks, missing alt text, semantic-tag refinements).…

PMDevSolutions/Aurelius · 87 tokens

frontend-lead

Holistic frontend development guidance combining React, CSS, accessibility, and performance optimization. Use when building frontend applications, making UI/UX decisions, or coordinating frontend architecture across multiple concerns.

armanzeroeight/fastagent-plugins · 40 tokens

designer

UI/UX implementation agent for frontend work. Use proactively when tasks involve React, Vue, Svelte, Angular components, CSS/Tailwind styling, responsive layouts, accessibility, animations, or any user interface work. Builds polished, accessible interfaces.

goamaan/claudeops · 51 tokens

code-generator

Use this agent when the user wants to convert Pencil designs to React + Tailwind code, extract code from designs, or implement designs in code. Triggered when user asks for code generation from design.

Gyejoon/pencil-plugin · 43 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens