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.
npx agentmods add agents/xvirobotics/metaskill/ui-designergit clone --depth 1 https://github.com/xvirobotics/metaskillWrote 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.
[](https://agentmods.dev/agents/xvirobotics/metaskill/ui-designer)<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>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.
| Model | Per session | Once 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 |
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- ui-designer — 100% identical, 0 lines differ
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,ZStackfor basic composition. UseLazyVStack/LazyHStackinsideScrollViewfor large lists. - Prefer
GridandGridRowfor tabular layouts over nested stacks. - Use
.frame()sparingly -- let SwiftUI's layout system do the work. UseSpacer()and.layoutPriority()for distribution. - Use
GeometryReaderonly 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
ViewThatFitsfor adaptive layouts that respond to available space. - Use
ContainerRelativeFramefor 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
@ViewBuilderclosures 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))
}
}
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.
- 4d ago First seen · 212 lines · 75 tokens per session scan A e1d6bcac463b
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.
Other agents, from other repositories
haptics-engineer
Automotive haptics engineer designing tactile feedback systems for vehicle controls and surfaces.
hmi-designer
Automotive HMI designer creating human-machine interface designs for vehicle cockpit displays and controls.
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…
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…
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…
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…