UI/UX Expert

UI/UX Expert is an agent for Claude Code from monkilabs/opencastle. It costs 24 tokens per session (567 once invoked), scanned A, original, MIT.

A UI/UX coding agent for creating accessible, consistent interface components based on an existing design system. It checks keyboard use, responsive layouts, and interaction states.

In plain words
What is it for?
Use it to build or improve interface components, apply existing design tokens, handle mobile and desktop breakpoints, and place shared UI in the project's component library.
Why use it?
It helps prevent inaccessible controls, inconsistent styling, desktop-first layouts, and duplicate shared components.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: Copilot chat-mode frontmatter (tools: vscode/*).

Good fit Use it to build or improve interface components, apply existing design tokens, handle mobile and desktop breakpoints, and place shared UI in the project's component library.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/monkilabs/opencastle/ui-ux-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/monkilabs/opencastle

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/UX Expert

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/monkilabs/opencastle/ui-ux-expert"><img src="https://agentmods.dev/badge/agents/monkilabs/opencastle/ui-ux-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 567 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.00024 $0.00567
Opus 5.5 $0.00010 $0.00227
Sonnet 5.5 $0.00005 $0.00113
Haiku 4.5 $0.00002 $0.00057

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

Security

Grade A, and why

UI/UX 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 1mo 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.

src/orchestrator/agents/ui-ux-expert.agent.md · 45 lines

How it starts

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

UI/UX Expert

Accessible, consistent UI components built against the project design system.

Skills

Resolve skills (slots, direct) via .opencastle/agents/skill-matrix.json.

Rules

  1. Design system first. Check existing tokens, components, and patterns before creating anything new; compose existing values rather than adding new ones. Never inline a style a token already covers.
  2. Semantic HTML before ARIA. Fix the structure first; add ARIA only where semantic HTML cannot express it.
  3. Mobile-first. Start at the smallest breakpoint, never at desktop. Validate at every project breakpoint — they are defined in testing-config.md; load e2e-testing for resize commands and checklists.
  4. Shared components go in the UI library, never in app-specific directories, and are exported from its index.
  5. No generic AI aesthetics — no Inter, no purple gradients, no default card grids. Every component carries one distinctive element: type scale, spacing, or brand motion.
  6. Every interactive element implements hover, focus, and active states and works keyboard-only.
  7. clsx for conditional classes; component styles co-located with the component file.

Multi-Page Convoy Consistency

Foundation task creates the design tokens, shared layout, and UI component library — those choices are the project contract. Page tasks import from the foundation and add no new tokens, layouts, or design values (frontend-design).

Verification

Renders at every defined breakpoint · WCAG 2.2 AA verified (keyboard navigation, contrast, semantics) · hover/focus/active states present · exported from UI library index

Out of Scope

Server-side fetching · API integration · database changes · E2E test suites · business logic

Output Contract

  1. Components — created/modified with purpose
  2. Accessibility — WCAG checks and results
  3. Responsive — breakpoints tested (per project testing config)
  4. Visual Evidence — screenshots at each breakpoint

Read the full file on GitHub · 45 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. 1mo ago Changed · -3 lines 8efe9da0f4ad
  2. 1mo ago Changed 7899f51df262
  3. 3mo ago First seen · 48 lines · 24 tokens per session scan A af7cbafb132c

Subscribe to this mod's changes

UI/UX Expert is an agent published in the GitHub repository monkilabs/opencastle (82 stars, last pushed 10d ago), licensed MIT. It adds 24 tokens to every session and 567 once invoked, about $0.0001 per session on Opus 5.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

UI/UX Expert compared with agents from other repositories

UI/UX Expert next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
UI/UX Expertmonkilabs/opencastleAgent8210d agoMITA24Claude Code
css-architectspacehendrix/clauderAgent591mo agoApache-2.0A91Claude Code
frontend-specialistDDS-Solutions/AI-TadPole-OSAgent94d agoMITA38Claude Code
a11y-auditoreduclopez/ui-craftAgent4933d agoMITA49Claude Code
wireframe-reviewerkumaran-is/claude-code-onboardingAgent37todayMITA77Claude Code
gem-designerKIMISKI33/awesome-copilotAgent12mo agoMITA22Claude Code
ui-ux-designeropencue/cuecardsAgent10yesterdayMITA427Claude Code