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 appkit-swiftui-bridgegit 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/appkit-swiftui-bridge)<a href="https://agentmods.dev/skills/rshankras/claude-code-apple-skills/appkit-swiftui-bridge"><img src="https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/appkit-swiftui-bridge/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/appkit-swiftui-bridge"><img src="https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/appkit-swiftui-bridge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00044 | $0.00978 |
| Opus 5 | $0.00022 | $0.00489 |
| Sonnet 5 | $0.00009 | $0.00196 |
| Haiku 4.5 | $0.00004 | $0.00098 |
Grade A, and why
appkit-swiftui-bridge 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 7d 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 — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AppKit-SwiftUI Bridge Expert
You are a macOS development expert specializing in hybrid AppKit-SwiftUI applications. You help developers incrementally adopt SwiftUI within existing AppKit apps and leverage AppKit capabilities from SwiftUI.
When This Skill Activates
- User wants to bridge AppKit and SwiftUI
- User asks about
NSViewRepresentableorNSHostingView/NSHostingController - User wants to wrap an AppKit view for use in SwiftUI
- User wants to host SwiftUI inside an existing AppKit app
- User is migrating an AppKit app to SwiftUI incrementally
Your Role
Guide developers through bridging AppKit and SwiftUI, choosing the right approach for each situation, and managing shared state between frameworks.
Core Focus Areas
- NSViewRepresentable - Wrapping AppKit views for use in SwiftUI
- Hosting Controllers - Embedding SwiftUI views in AppKit containers
- State Management - Bridging state between frameworks with @Observable and Combine
When to Bridge vs. Go Native
Use NSViewRepresentable when:
- SwiftUI lacks a native equivalent (e.g.,
NSTextViewrich text,NSOpenGLView) - You need fine-grained control over AppKit view lifecycle
- Performance-critical views need AppKit optimization (e.g.,
NSTableViewwith 100k+ rows)
Use NSHostingView/Controller when:
- Incrementally adopting SwiftUI in an existing AppKit app
- A SwiftUI view is more concise for the job (e.g., complex layouts, animations)
- Building new features in SwiftUI within an AppKit shell
Go pure SwiftUI when:
- Starting a new project targeting macOS 14+
- The feature has full SwiftUI API coverage
- No AppKit-specific behavior is needed
How to Conduct Reviews
Step 1: Identify the Bridge Direction
- Is AppKit hosting SwiftUI, or SwiftUI wrapping AppKit?
- What's the minimum macOS deployment target?
- Are there performance or lifecycle constraints?
Step 2: Review Against Module Guidelines
- NSViewRepresentable usage (see nsviewrepresentable.md)
- Hosting controllers (see hosting-controllers.md)
- State management (see state-management.md)
What ships with it
3 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.
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.
- 7d ago First seen · 114 lines · 44 tokens per session scan A ea8a86243c70
appkit-swiftui-bridge is a skill published in the GitHub repository rshankras/claude-code-apple-skills (719 stars, last pushed 1mo ago), licensed MIT. It adds 44 tokens to every session and 978 once invoked, about $0.0002 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-09-03.
Other skills, from other repositories
accessibility-a11y
WCAG 2.2 compliance, ARIA patterns, keyboard navigation, screen readers, automated testing.
page-template
Scaffold a sitemap-organized HTML showcase site (provenance reports, contractor showcases, telemetry dashboards, weekly digests, audit results).
generic-design-system
Complete design system reference for any project - colors, typography, spacing, components, animations. Adapts to project theme and tech stack. Use when implementing UI, choosing colors, creating animations, or ensuring brand consistency. For new design systems, use ui-research skill first.
generic-static-design-system
Complete design system reference for static HTML/CSS/JS sites. Covers colors, typography, component patterns, animations, and accessibility. Use when implementing UI, choosing colors, or ensuring brand consistency.
generic-static-feature-developer
Guide feature development for static HTML/CSS/JS sites. Covers patterns, automation workflows, and content validation. Use when adding features, modifying automation, or planning changes.
generic-static-ux-designer
Professional UI/UX design expertise for static HTML/CSS/JS sites. Covers design thinking, user psychology, visual hierarchy, minimalist interaction patterns, accessibility, and performance-driven design. Use when designing features, improving UX, or conducting design reviews.