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/morganmuli/metaskill/ui-designergit clone --depth 1 https://github.com/morganmuli/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/morganmuli/metaskill/ui-designer)<a href="https://agentmods.dev/agents/morganmuli/metaskill/ui-designer"><img src="https://agentmods.dev/badge/agents/morganmuli/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.
This is a copy
100% identical to ui-designer — 0 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.
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 morganmuli/metaskill (1 stars, last pushed 2d 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. It is 100% identical to ui-designer, differing in 0 lines, and is treated as a copy.
Other agents, from other repositories
inspiration-scout
Use this agent to find aesthetic references, interaction examples, and visual inspiration that match the project brief and the user's taste profile. Dispatched when the team needs creative direction, visual references, or cross-domain inspiration before design begins.
artistic-visionary
Panel judge for art direction and emotional resonance. Judges whether the product reads as a crafted artifact with a point of view, not a templated default.
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…
visuals
You are a visualization & UI specialist. You create plots, diagrams, web components, and animations.
image-designer
Thin Claude adapter for image-designer; canonical brief is authoritative.
spatial-audio-engineer
Automotive spatial audio engineer designing immersive sound systems and alert spatialization for vehicles.