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

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

Good fit It creates SwiftUI components, animations, layouts, design-system elements, and accessibility improvements while leaving business logic and data storage to other work.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/xvirobotics/metaskill/ui-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/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/github.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/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-designer

Your own site · 80×15
<a href="https://agentmods.dev/agents/xvirobotics/metaskill/ui-designer"><img src="https://agentmods.dev/badge/agents/xvirobotics/metaskill/ui-designer.svg" alt="Reviewed on agentmods" width="80" 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. 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.00075 $0.02401
Opus 5.5 $0.00030 $0.00960
Sonnet 5.5 $0.00015 $0.00480
Haiku 4.5 $0.00007 $0.00240

Measured 1mo ago against content hash e1d6bcac463b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 1mo 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 (74 stars, last pushed 7mo ago), licensed MIT. It adds 75 tokens to every session and 2,401 once invoked, about $0.0003 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

Other agents, from other repositories

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

test-engineer

Use this agent when tests need to be written, debugged, or improved. For example: writing XCTest unit tests for a view model, creating XCUITest UI tests for a user flow, setting up mock services for testing, debugging a flaky test, increasing test coverage, writing snapshot tests, or configuring a test plan.

morganmuli/metaskill · 69 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

suede-graph-flo-xr-applier

Minimal Suede Graph Flo XR applier that can run only a host-clamped Bash invocation and return its structured result.

JasonColapietro/suede-creator-skills · 35 tokens

suede-graph-flo-xr-code-reader

Read-only Suede Graph Flo XR code and planning worker with no shell, write, web, task, skill, or MCP tools.

JasonColapietro/suede-creator-skills · 38 tokens

suede-graph-flo-xr-patch-author

Read-only Suede Graph Flo XR worker that inspects selected files and returns structured unified diffs without mutating the checkout.

JasonColapietro/suede-creator-skills · 37 tokens