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 rshankras/claude-code-apple-skills --skill swiftuigit clone --depth 1 https://github.com/rshankras/claude-code-apple-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/rshankras/claude-code-apple-skills/swiftui)<a href="https://agentmods.dev/skills/rshankras/claude-code-apple-skills/swiftui"><img src="https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/swiftui/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/rshankras/claude-code-apple-skills/swiftui"><img src="https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/swiftui.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.00070 | $0.00626 |
| Opus 5.5 | $0.00028 | $0.00250 |
| Sonnet 5.5 | $0.00014 | $0.00125 |
| Haiku 4.5 | $0.00007 | $0.00063 |
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 2d 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 — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SwiftUI Skills
Focused SwiftUI framework skills — each sub-skill covers one API area in depth.
When This Skill Activates
Use this skill when the user:
- Has state/rendering bugs: state resets, over-rendering, flashing lists, animation crossfades (data-flow)
- Is choosing @State vs @Bindable vs @Environment or migrating to Observation (data-flow)
- Builds custom layouts or containers, or fights lazy-stack/scroll performance (layout)
- Wants alarms or timers with AlarmKit (custom UI, Live Activities, snooze)
- Is creating 3D data visualizations with Swift Charts (Chart3D, SurfacePlot)
- Needs styled text or rich text editing (Text, AttributedString, TextEditor)
- Is implementing or customizing toolbars (customizable toolbars, search integration)
- Wants to embed web content (WebView, WebPage, JavaScript interop)
Available Skills
Paths are relative to THIS file's directory — skills run with cwd set to the user's project, so resolve each path from this SKILL.md's own location.
| Skill | Read | Covers |
|---|---|---|
| data-flow | data-flow/SKILL.md |
View identity/lifetime/dependencies, Observation, state ownership, body discipline, main-actor contract |
| layout | layout/SKILL.md |
Layout protocol, Grid decisions, custom containers, lazy-stack + scrolling performance rules |
| alarmkit | alarmkit/SKILL.md |
Alarms and timers with custom UI, Live Activities, snooze (iOS 18+) |
| charts-3d | charts-3d/SKILL.md |
Chart3D, SurfacePlot, interactive pose control, surface styling |
| text-editing | text-editing/SKILL.md |
Text, AttributedString, TextEditor with formatting controls |
| toolbars | toolbars/SKILL.md |
Customizable toolbars, search integration, transition effects, platform behavior |
| webkit | webkit/SKILL.md |
WebView and WebPage embedding, navigation, JavaScript interop |
How to Route
- Match the request to a row above.
- Read that SKILL.md (relative to this file) plus any reference files it lists.
- Apply the guidance to the user's code.
What ships with it
13 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- alarmkit/live-activities.md 5.9 KB
- alarmkit/presentation.md 5.8 KB
- alarmkit/scheduling.md 7.6 KB
- alarmkit/SKILL.md 5.1 KB
- charts-3d/SKILL.md 21 KB
- data-flow/SKILL.md 8.1 KB
- layout/SKILL.md 7.0 KB
- text-editing/SKILL.md 8.9 KB
- toolbars/SKILL.md 8.6 KB
- webkit/javascript-advanced.md 13 KB
- webkit/navigation.md 13 KB
- webkit/SKILL.md 5.9 KB
- webkit/webview-basics.md 8.2 KB
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.
- 2d ago First seen · 46 lines · 70 tokens per session scan A a78b1b2ed3a4
swiftui is a skill published in the GitHub repository rshankras/claude-code-apple-skills (864 stars, last pushed 2d ago), licensed MIT. It adds 70 tokens to every session and 626 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-11-05.
swiftui compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| swiftuirshankras/claude-code-apple-skills | Skill | 864 | 2d ago | MIT | A | 70 | Claude Code |
| swift-expertpersonamanagmentlayer/pcl | Skill | 44 | 11d ago | Apache-2.0 | A | 76 | Claude Code |
| ios-expertpersonamanagmentlayer/pcl | Skill | 44 | 11d ago | Apache-2.0 | A | 64 | Claude Code |
| ios-swiftui-productJasonColapietro/ios-app-dev-skills | Skill | 9 | 2mo ago | MIT | A | 67 | Codex |
| swiftui-maxDev869/swift-tothemax | Skill | 7 | 4mo ago | MIT | A | 271 | Claude Code |
| apple-dev-conductorDev869/swift-tothemax | Skill | 7 | 4mo ago | MIT | A | 156 | Claude Code |
| kotlin-patternssoftspark/ai-toolkit | Skill | 179 | 10d ago | Apache-2.0 | A | 51 | Claude Code |