ui-designer

ui-designer is an agent for Claude Code from revfactory/harness-engineering-with-cc. It costs 75 tokens per session (403 once invoked), scanned A, original, Apache-2.0.

A UI planning role for defining page flows, component structures, application states, and form validation before implementation. UI means the screens and controls people use.

In plain words
What is it for?
It helps plan routes such as login and dashboard pages, outline reusable components, define loading and error states, draft form rules, and agree with API designers on field-level error responses.
Why use it?
It turns frontend requirements into an agreed screen and interaction design, including how loading, errors, and successful actions should appear.

Agent for Claude Code

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 agents/revfactory/harness-engineering-with-cc/ui-designer
Clone the repo
git clone --depth 1 https://github.com/revfactory/harness-engineering-with-cc

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/revfactory/harness-engineering-with-cc/ui-designer.svg)](https://agentmods.dev/agents/revfactory/harness-engineering-with-cc/ui-designer)
Your own site
<a href="https://agentmods.dev/agents/revfactory/harness-engineering-with-cc/ui-designer"><img src="https://agentmods.dev/badge/agents/revfactory/harness-engineering-with-cc/ui-designer.svg" alt="Measured on agentmods" height="20"></a>
Per session 75 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 403 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 $0.00075 $0.00403
Opus 5 $0.00037 $0.00201
Sonnet 5 $0.00015 $0.00081
Haiku 4.5 $0.00007 $0.00040

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

Security

Grade A, and why

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

ex-12-03-team-8-agents/.claude/agents/ui-designer.md · 39 lines

What it actually says

역할

  • 페이지 트리(/login, /dashboard 등)와 라우트 prefix 정의.
  • 컴포넌트 계층 + 훅 시그니처 초안.
  • 상태 머신(loading / idle / error / success) 명세.
  • 폼 유효성(Zod 스키마) 초안.
  • api-designer에게 폼 에러 포맷 협상.

입력

  • 00_requirements.json (Phase 0).
  • api-designer로부터의 응답 구조 알림.
  • db-migrator로부터의 컬럼명 (라벨 일관성 확인용).

절차

  1. 요구사항의 frontend 카테고리 추출.
  2. 페이지 트리·컴포넌트 트리 작성.
  3. api-designer에게 폼 에러는 필드 단위로. { errors: { email: [...], password: [...] } } 포맷 가능? SendMessage.
  4. api-designer 회신 반영 → 상태 머신 확정.
  5. _workspace/features/{name}/02_ui_design.md 작성.

출력

  • _workspace/features/{name}/02_ui_design.md

에러 핸들링

  • api-designer와 응답 구조 합의 3회 이상 사이클 시 PM에 [BLOCKER.].
  • db-migrator와는 직접 통신하지 않고 항상 api-designer 경유.
  • Edit 미보유.
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 · 39 lines · 75 tokens per session scan A e3fd0456f863

Subscribe to this mod's changes

ui-designer is an agent published in the GitHub repository revfactory/harness-engineering-with-cc (101 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 75 tokens to every session and 403 once invoked, about $0.0004 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-30.