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 skills add troyjthomas/ios-agent-skills --skill design-systemgit clone --depth 1 https://github.com/troyjthomas/ios-agent-skillsWrote 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/troyjthomas/ios-agent-skills/design-system)<a href="https://agentmods.dev/skills/troyjthomas/ios-agent-skills/design-system"><img src="https://agentmods.dev/badge/skills/troyjthomas/ios-agent-skills/design-system/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.
<a href="https://agentmods.dev/skills/troyjthomas/ios-agent-skills/design-system"><img src="https://agentmods.dev/badge/skills/troyjthomas/ios-agent-skills/design-system.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00079 | $0.01248 |
| Opus 5 | $0.00039 | $0.00624 |
| Sonnet 5 | $0.00016 | $0.00250 |
| Haiku 4.5 | $0.00008 | $0.00125 |
Grade A, and why
design-system 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 9d 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 — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Design System
Capture your app's visual identity in a Claude Code-readable format. This is optional. If your app uses default iOS styling with just a tint color, you don't need this. If you have brand colors, custom typography, or specific visual treatments, this keeps Claude Code consistent.
When to Use
- Your app has a specific color palette beyond a single tint
- You're using non-system fonts
- You have custom illustrations, icons, or assets
- Your Figma designs establish a visual language you want preserved
- You want consistent spacing, radius, or shadow values across screens
When to Skip
- You're using system fonts, a single tint color, and default iOS styling
- Your CLAUDE.md already covers the minimal theming needs
- You're building an MVP where aesthetics will be refined later
The Design System Document
Create DESIGN_SYSTEM.md in your project root alongside CLAUDE.md.
Colors
## Colors
### Primary Palette
- Tint: #3A7D5C (Clover) - used for buttons, links, active states
- Tint Dark: #2D5F47 (Moss) - used for dark mode tint adjustment
- Background: system default (do not override)
- Surface: system default (do not override)
### Semantic Usage
- Success: system green (do not customize)
- Warning: system orange (do not customize)
- Error: system red (do not customize)
- Use Color.primary and Color.secondary for all text unless specified
### Rule
If a color is not listed here, use the iOS system default. Do not invent colors.
Key principle: Only define what diverges from iOS defaults. Everything undefined inherits system behavior. This prevents Claude Code from generating arbitrary color values.
Typography
## Typography
### Font Stack
- Primary: SF Pro (system default) OR [Custom Font Name]
- Monospace: SF Mono (system default)
### If Using a Custom Font:
- Ensure .otf/.ttf files are in /Resources/Fonts
- Register in Info.plist under "Fonts provided by application"
- Define a FontManager or extension for consistent access:
- .heading: [Font]-Bold, 28pt
- .subheading: [Font]-Medium, 20pt
- .body: [Font]-Regular, 17pt
- .caption: [Font]-Regular, 13pt
### Rule
Use SwiftUI's native text styles (.title, .headline, .body, .caption)
as the foundation. Custom fonts should map to these roles, not replace
the hierarchy.
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.
- 9d ago First seen · 157 lines · 79 tokens per session scan A 5c41818c220e
design-system is a skill published in the GitHub repository troyjthomas/ios-agent-skills (2 stars, last pushed 3mo ago), licensed MIT. It adds 79 tokens to every session and 1,248 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-31.
Other skills, from other repositories
ios-accessibility
Build and audit SwiftUI, UIKit, and AppKit accessibility for VoiceOver, Voice Control, Switch Control, Full Keyboard Access, Dynamic Type, focus restoration, labels/traits/actions, traversal, custom rotors, NSAccessibility, XCTest checks, adaptive system preferences, and App Store accessibility declarations. Use when…
pencilkit
Add Apple Pencil drawing with PKCanvasView, PKToolPicker, PKDrawing serialization/export, stroke inspection, and PencilKit/PaperKit handoffs. Use when building drawing apps, annotation features, handwriting capture, signature fields, content-version-safe ink workflows, or Apple Pencil-powered experiences on…
scenekit
Maintain and extend existing SceneKit 3D scenes and visualizations. Use when working with SCNView, SCNScene, SCNNode scene graphs, SceneKit geometry/materials/lights/cameras, SCNAction animation, SCNPhysicsBody physics, SCNParticleSystem effects, .scn/.dae/.abc SceneKit assets, shader modifiers, or SwiftUI SceneView.…
swiftui-liquid-glass
Implement, review, or improve SwiftUI Liquid Glass effects for iOS 26+. Covers glassEffect modifier, GlassEffectContainer, glass button styles, glass toolbar/tab bar, static status badges vs interactive controls, morphing transitions, tinting, interactive glass, ToolbarSpacer, scrollEdgeEffectStyle…
apple-design
Apple's fluid-interface craft on the web: spring damping and response, velocity handoff, momentum projection on a flick, rubber-banding at a boundary, interruptible motion the user can grab mid-flight, translucent materials and backdrop blur, letter-spacing and leading by size. Use for iOS-grade feel, sheets and drag.
swiftui-design-principles
Design principles for building polished, native-feeling SwiftUI apps and widgets. Use this skill when creating or modifying SwiftUI views, iOS widgets (WidgetKit), or any native Apple UI. Ensures proper spacing, typography, colors, and widget implementations that look and feel like quality apps rather than…