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 skills/onmyway133/claude-code-plugins/swiftuinpx skills add onmyway133/claude-code-plugins --skill swiftuigit clone --depth 1 https://github.com/onmyway133/claude-code-pluginsWrote 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/skills/onmyway133/claude-code-plugins/swiftui)<a href="https://agentmods.dev/skills/onmyway133/claude-code-plugins/swiftui"><img src="https://agentmods.dev/badge/skills/onmyway133/claude-code-plugins/swiftui.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.00016 | $0.04321 |
| Opus 5 | $0.00008 | $0.02160 |
| Sonnet 5 | $0.00003 | $0.00864 |
| Haiku 4.5 | $0.00002 | $0.00432 |
Grade A, and why
SwiftUI 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 822 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SwiftUI
You are a SwiftUI expert. Apply these patterns when building views and components.
Component Design Principles
Single Responsibility
Each component should do one thing well. Split complex views into smaller, focused components.
Configurable via Initializer
Expose configuration through init parameters, not environment or external state.
Preview-Friendly
Components should be easily previewable in isolation with sensible defaults.
Trailing Closure Style
Always prefer trailing closure syntax for better readability and consistency:
// Preferred: trailing closures
Button {
saveDocument()
} label: {
Label("Save", systemImage: "square.and.arrow.down")
}
Section {
TextField("Name", text: $name)
TextField("Email", text: $email)
} header: {
Text("Contact Info")
} footer: {
Text("We'll never share your email")
}
NavigationLink {
DetailView(item: item)
} label: {
ItemRow(item: item)
}
// Avoid: inline style
Button("Save") { saveDocument() }
Section("Header") { content }
NavigationLink("Details", destination: DetailView())
View Composition
Container Components
struct Card<Content: View>: View {
let content: Content
init(@ViewBuilder content: () -> Content) {
self.content = content()
}
var body: some View {
content
.padding()
.background(.background.secondary)
.clipShape(RoundedRectangle(cornerRadius: 12))
.shadow(color: .black.opacity(0.1), radius: 4, y: 2)
}
}
// Usage
Card {
VStack {
Text("Title")
Text("Subtitle")
}
}
Slot-Based Components
struct ListRow<Leading: View, Trailing: View>: View {
let title: String
let leading: Leading
let trailing: Trailing
init(
title: String,
@ViewBuilder leading: () -> Leading = { EmptyView() },
@ViewBuilder trailing: () -> Trailing = { EmptyView() }
) {
self.title = title
self.leading = leading()
self.trailing = trailing()
}
var body: some View {
HStack {
leading
Text(title)
Spacer()
trailing
}
}
}
// Usage
ListRow(title: "Settings") {
Image(systemName: "gear")
} trailing: {
Image(systemName: "chevron.right")
}
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.
- 3d ago First seen · 822 lines · 16 tokens per session scan A 6e9b88655659
SwiftUI is a skill published in the GitHub repository onmyway133/claude-code-plugins (5 stars, last pushed 7mo ago), licensed MIT. It adds 16 tokens to every session and 4,321 once invoked, about $0.0001 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-31.
Other skills, from other repositories
imagegen-frontend-mobile
Elite mobile app image-generation skill for creating premium, app-native screen concepts and flows. Designed for iOS, Android, and cross-platform mobile products. Prioritizes clean hierarchy, comfortably readable text, strong multi-screen consistency, controlled color palettes, non-generic creative direction, textured…
design-taste-frontend
Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.
stitch-design-taste
Semantic Design System Skill for Google Stitch. Generates agent-friendly DESIGN.md files that enforce premium, anti-generic UI standards — strict typography, calibrated color, asymmetric layouts, perpetual micro-motion, and hardware-accelerated performance.
image-to-code
Elite website image-to-code skill for Codex. For visually important web tasks, it must first generate the design image(s) itself, deeply analyze them, then implement the website to match them as closely as possible. In Codex, it must prefer large, readable, section-specific images instead of tiny compressed boards…
imagegen-frontend-web
Elite frontend image-direction skill for generating premium, conversion-aware website design references. CRITICAL OUTPUT RULE — generate ONE separate horizontal image FOR EVERY section. A landing page with 8 sections produces 8 images. Never compress multiple sections into one image. Enforces composition variety (not…
design-taste-frontend-v1
The original v1 taste-skill, preserved for projects depending on its exact behavior. The current default is design-taste-frontend (v2 experimental), which is a substantial rewrite. Use this v1 install name only if you need exact backward compatibility.