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 widgetsgit 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/widgets)<a href="https://agentmods.dev/skills/rshankras/claude-code-apple-skills/widgets"><img src="https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/widgets/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/widgets"><img src="https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/widgets.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.00037 | $0.02533 |
| Opus 5.5 | $0.00015 | $0.01013 |
| Sonnet 5.5 | $0.00007 | $0.00507 |
| Haiku 4.5 | $0.00004 | $0.00253 |
Grade A, and why
visionos-widgets 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 yesterday.
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 — 288 lines — stays where its author put it; the contents beside it link to each section on GitHub.
visionOS Widgets
Patterns for building widgets that live in physical space on visionOS. Covers mounting styles, textures, proximity-aware detail levels, spatial widget families, and rendering modes.
When This Skill Activates
Use this skill when the user:
- Asks to create or adapt a widget for visionOS
- Mentions mounting styles (elevated, recessed)
- Wants glass or paper texture on a widget
- Asks about proximity awareness or level of detail in widgets
- Mentions spatial widget families or
.systemExtraLargePortrait - Wants to control container backgrounds or rendering modes (full color vs accented)
- Is porting an existing iOS/iPadOS widget to visionOS
Decision Tree
What do you need for your visionOS widget?
|
+- Where should the widget appear?
| +- On a surface (table, shelf) -> .elevated (default)
| +- Embedded in a wall -> .recessed
| +- Both -> .supportedMountingStyles([.elevated, .recessed])
|
+- What visual treatment?
| +- Transparent, blends with environment -> .glass (default)
| +- Opaque, poster-like appearance -> .paper
|
+- How should it respond to user distance?
| +- Full detail when close -> @Environment(\.levelOfDetail) == .default
| +- Simplified when far -> @Environment(\.levelOfDetail) == .simplified
|
+- What size families?
| +- Standard -> .systemSmall, .systemMedium, .systemLarge, .systemExtraLarge
| +- Tall portrait -> .systemExtraLargePortrait (visionOS only)
|
+- How should colors render?
| +- Full color (default) -> No extra work
| +- System-tinted monochrome -> Mark backgrounds with .containerBackground(for:)
API Availability
| API | Minimum Version | Notes |
|---|---|---|
| WidgetKit on visionOS | visionOS 1.0 | Basic widget support |
.containerBackground(for: .widget) |
visionOS 1.0 | Removable background marking |
@Environment(\.showsWidgetContainerBackground) |
visionOS 1.0 | Background visibility check |
.supportedMountingStyles() |
visionOS 2.0 | Elevated and recessed placement |
.widgetTexture(.glass / .paper) |
visionOS 2.0 | Widget surface material |
@Environment(\.levelOfDetail) |
visionOS 2.0 | Proximity-aware layouts |
.systemExtraLargePortrait |
visionOS 2.0 | Tall portrait widget family |
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.
- yesterday First seen · 288 lines · 37 tokens per session scan A e92eb43848e4
visionos-widgets is a skill published in the GitHub repository rshankras/claude-code-apple-skills (864 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 2,533 once invoked, about $0.0001 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.
visionos-widgets compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| visionos-widgetsrshankras/claude-code-apple-skills | Skill | 864 | 2d ago | MIT | A | 37 | Claude Code |
| apple-hig-uxDev869/swift-tothemax | Skill | 7 | 4mo ago | MIT | A | 164 | Claude Code |
| app-icon-optimizationEronred/aso-skills | Skill | 2.2k | 1mo ago | MIT | A | 103 | Claude Code |
| apple-higjustinwetch/HIGAgentSkills | Skill | 804 | 20d ago | MIT | A | 158 | Claude Code, Codex |
| flame-harness-admobtjdrhs90/flutter-flame-harness | Skill | 61 | 10d ago | MIT | A | 41 | Claude Code |
| flame-harness-submittjdrhs90/flutter-flame-harness | Skill | 61 | 10d ago | MIT | A | 38 | Claude Code |
| flame-harness-designtjdrhs90/flutter-flame-harness | Skill | 61 | 10d ago | MIT | A | 38 | Claude Code |