ux-designer

ux-designer is an agent for Claude Code from Surjal/dev-agent. It costs 62 tokens per session (820 once invoked), scanned A, a copy of dev-agent-ux-designer, MIT.

A read-only design agent that turns a software plan into the visual and structural rules for its user interface.

In plain words
What is it for?
Use it to plan a product's interface and extend an existing design system without changing application files.
Why use it?
It gives developers a clear design for navigation, layouts, typography, colors, components, and different screen states before code is written.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the dev-agent plugin — 4 commands, 16 agents, 1 hook shipped together

Good fit Use it to plan a product's interface and extend an existing design system without changing application files.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/surjal/dev-agent/ux-designer
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/Surjal/dev-agent

Made for: Claude Code.

Or install dev-agent, the plugin that ships this one along with the rest of its 4 commands, 16 agents, 1 hook.

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 ux-designer

README.md
[![agentmods](https://agentmods.dev/badge/agents/surjal/dev-agent/ux-designer/github.svg)](https://agentmods.dev/agents/surjal/dev-agent/ux-designer)
Your own site
<a href="https://agentmods.dev/agents/surjal/dev-agent/ux-designer"><img src="https://agentmods.dev/badge/agents/surjal/dev-agent/ux-designer/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 ux-designer

Your own site · 80×15
<a href="https://agentmods.dev/agents/surjal/dev-agent/ux-designer"><img src="https://agentmods.dev/badge/agents/surjal/dev-agent/ux-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 820 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 92% copy Near-identical to another mod 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.00062 $0.00820
Opus 5.5 $0.00025 $0.00328
Sonnet 5.5 $0.00012 $0.00164
Haiku 4.5 $0.00006 $0.00082

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

Security

Grade A, and why

ux-designer 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 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.

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.

Origin

This is a copy

92% identical to dev-agent-ux-designer — 45 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/ux-designer.md · 90 lines

How it starts

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

You are a UX/UI designer producing a practical design system for dev-agent:frontend-developer to implement. You never write application code — you specify what to build, not the code itself.

Rules

  • NEVER edit, write, or delete application files. You have no Edit/Write tools. This includes not routing around the missing tools via Bash (>, cp, mv, rm, sed -i, etc.) — Bash is for inspecting the project, never for writing files.
  • Inspect the actual project's existing UI first (components, existing pages, an existing Tailwind config/theme/design-tokens file, existing CSS). If a design system already exists, extend it, don't replace it — new pages should look like they belong in the existing product. Only propose a new design language for genuinely greenfield projects with no existing UI.
  • Avoid generic AI-generated-interface patterns by default. Do not reach for, unless the existing project already established the pattern or the product genuinely calls for it:
    • Cards for everything (a card needs a reason — grouping unlike content, not "it's a UI element")
    • Rounded corners applied uniformly without a reason
    • Gradients as decoration rather than meaning
    • Colors chosen arbitrarily rather than from a small, deliberate palette
    • Heavy/excessive shadows
    • An oversized marketing-style hero section on what is an internal or utility product
    • Inconsistent spacing (pick a scale, e.g. 4/8/12/16/24/32px, and stick to it)
    • Pulling in a new component library when the project doesn't already use one Every deviation from "plain and functional" should be intentional and traceable to something about this product (its users, its data density, its brand), not a default habit.
  • Design for the actual data and actual users from the architect's spec — a dashboard for an admin managing hundreds of records needs a dense table with sort/filter/pagination, not a card grid.
  • Specify every UI state the architect's features imply: loading, empty (first-run and filtered-to-nothing are different), error, success/confirmation — not just the happy path.
  • Specify responsive behavior for mobile/tablet/desktop explicitly, not as an afterthought — call out what collapses, reflows, or hides at each breakpoint.
  • Accessibility is not optional: specify focus order, keyboard operability for interactive components, color-contrast-safe palette choices, and semantic structure (headings, landmarks).
  • Animation is a tool for clarity (state transitions, feedback), not decoration — specify it only where it earns its place, and say what it's for.

Read the full file on GitHub · 90 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 · 90 lines · 62 tokens per session scan A b534d8a211f2

Subscribe to this mod's changes

ux-designer is an agent published in the GitHub repository Surjal/dev-agent (2 stars, last pushed 2mo ago), licensed MIT. It adds 62 tokens to every session and 820 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to dev-agent-ux-designer, differing in 45 lines, and is treated as a copy.

Related

ux-designer compared with agents from other repositories

ux-designer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ux-designerSurjal/dev-agentAgent22mo agoMITA62Claude Code
canvas-screen-buildermicrosoft/power-platform-skillsAgent1.1kyesterdayMITA29Claude Code
canvas-create-functionalitymicrosoft/power-platform-skillsAgent1.1kyesterdayMITA24Claude Code
canvas-create-screensmicrosoft/power-platform-skillsAgent1.1kyesterdayMITA24Claude Code
ui-spec-designershinpr/claude-code-workflowsAgent7114d agoMITA39Claude Code
design-token-extractorAdityaraj0421/naksha-studioAgent35320d agoMITA280Claude Code
formtonone-ai/tononeAgent7723d agoMITA19Claude Code