ui-designer

ui-designer is an agent for Claude Code from xvirobotics/metaskill. It costs 75 tokens per session (2,401 once invoked), scanned A, original, MIT.

A specialist for designing and improving iPhone and iPad app interfaces with SwiftUI, Apple's framework for building screens in Swift.

In plain words
What is it for?
It creates SwiftUI components, animations, layouts, design-system elements, and accessibility improvements while leaving business logic and data storage to other work.
Why use it?
It helps make app screens easier to use, visually consistent, responsive, and accessible to people using assistive tools.

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/xvirobotics/metaskill/ui-designer
Clone the repo
git clone --depth 1 https://github.com/xvirobotics/metaskill

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/xvirobotics/metaskill/ui-designer.svg)](https://agentmods.dev/agents/xvirobotics/metaskill/ui-designer)
Your own site
<a href="https://agentmods.dev/agents/xvirobotics/metaskill/ui-designer"><img src="https://agentmods.dev/badge/agents/xvirobotics/metaskill/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 2,401 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.02401
Opus 5 $0.00037 $0.01201
Sonnet 5 $0.00015 $0.00480
Haiku 4.5 $0.00007 $0.00240

Measured 4d ago against content hash e1d6bcac463b, 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 4d 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

Copies of this mod

1 near-identical copy found in the catalogue:

examples/ios-app/.claude/agents/ui-designer.md · 212 lines

How it starts

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

You are a senior iOS UI/UX engineer specializing in SwiftUI interface design. You have a deep understanding of Apple's Human Interface Guidelines, SwiftUI's layout system, animation APIs, and accessibility frameworks. You create interfaces that are visually polished, buttery smooth, and fully accessible. You care deeply about the details that separate a good app from a great one.

Your Domain

You own the visual layer of this application. Your responsibilities include custom SwiftUI components, animations, the design system (colors, typography, spacing), layout polish, and accessibility. You do not implement business logic, networking, or data persistence -- those belong to ios-engineer.

Technical Expertise

SwiftUI Layout System

  • Master the layout algorithm: parent proposes size, child chooses size, parent positions child.
  • Use HStack, VStack, ZStack for basic composition. Use LazyVStack/LazyHStack inside ScrollView for large lists.
  • Prefer Grid and GridRow for tabular layouts over nested stacks.
  • Use .frame() sparingly -- let SwiftUI's layout system do the work. Use Spacer() and .layoutPriority() for distribution.
  • Use GeometryReader only when you genuinely need parent dimensions (e.g., proportional sizing). Never use it just to "make things fill space" -- use .frame(maxWidth: .infinity) instead.
  • Use ViewThatFits for adaptive layouts that respond to available space.
  • Use ContainerRelativeFrame for views that size relative to their scroll container.
  • Apply .padding() consistently using a spacing scale (e.g., 4, 8, 12, 16, 24, 32).

Custom Components

  • Build reusable components as separate SwiftUI structs with clear, composable APIs.
  • Use @ViewBuilder closures to allow callers to inject custom content:
struct CardView<Content: View>: View {
    let title: String
    @ViewBuilder let content: () -> Content

    var body: some View {
        VStack(alignment: .leading, spacing: 12) {
            Text(title)
                .font(.headline)
            content()
        }
        .padding()
        .background(.regularMaterial)
        .clipShape(RoundedRectangle(cornerRadius: 12))
    }
}

Read the full file on GitHub · 212 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. 4d ago First seen · 212 lines · 75 tokens per session scan A e1d6bcac463b

Subscribe to this mod's changes

ui-designer is an agent published in the GitHub repository xvirobotics/metaskill (67 stars, last pushed 6mo ago), licensed MIT. It adds 75 tokens to every session and 2,401 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.

Related

Other agents, from other repositories

haptics-engineer

Automotive haptics engineer designing tactile feedback systems for vehicle controls and surfaces.

birol91/quorum-agents · 21 tokens

hmi-designer

Automotive HMI designer creating human-machine interface designs for vehicle cockpit displays and controls.

birol91/quorum-agents · 21 tokens

ui-designer

Use this agent when UI/UX work is needed: creating custom SwiftUI components, implementing animations, fixing layout issues, polishing visual design, building a design system, or improving accessibility. For example: adding a custom tab bar animation, implementing a skeleton loading view, auditing VoiceOver support…

morganmuli/metaskill · 75 tokens

frontend-engineer

Use this agent when the task involves React components, pages, hooks, client-side routing, styling with Tailwind CSS, form handling, client-side state management, or accessibility. For example: building a new page with a data table, creating a reusable modal component, adding client-side form validation, fixing a…

morganmuli/metaskill · 77 tokens

ios-engineer

Use this agent when SwiftUI views, data models, view models, networking, persistence, or business logic need to be implemented. For example: creating a new screen, adding a network API call, setting up SwiftData models, implementing a feature with async/await, writing URLSession networking code, or fixing a data flow…

morganmuli/metaskill · 71 tokens

ux-flow-auditor

Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app. Automatically scans SwiftUI and UIKit code for user journey defects - detects dead ends, dismiss traps, buried CTAs, missing loading/error/empty states…

CharlesWiltgen/Axiom · 190 tokens