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 spatial-designgit 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/spatial-design)<a href="https://agentmods.dev/skills/rshankras/claude-code-apple-skills/spatial-design"><img src="https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/spatial-design/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/spatial-design"><img src="https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/spatial-design.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.00090 | $0.02277 |
| Opus 5.5 | $0.00036 | $0.00911 |
| Sonnet 5.5 | $0.00018 | $0.00455 |
| Haiku 4.5 | $0.00009 | $0.00228 |
Grade A, and why
spatial-design 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 — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Spatial Design (visionOS)
The design rules that make a visionOS app comfortable instead of exhausting — distilled from
Apple's spatial-design sessions (WWDC23–26). Widget-specific rules live in visionos/widgets;
custom immersive-environment production and budgets live in immersive-environments.md.
When This Skill Activates
- Designing or reviewing a visionOS app, window, volume, or immersive space
- "Users say it's tiring / uncomfortable / hard to hit controls"
- Porting an iPad app and deciding what should become spatial
- Adding hover effects, custom gestures, environments, or spatial audio
- Choosing a video experience format (spatial, 180°, 360°, wide-FOV, Apple Immersive)
The prime directive: find the key moment
Don't window a 2D app. Identify the one thing only possible on visionOS — the "key moment" — and build around it. Immersion has three approaches, and full immersion is not mandatory: full environments · integration with real surroundings (scene sensing) · meaningful audio.
Layout & ergonomics
- Wide beats tall — layouts match the human field of view; turning the head left/right is easier than up/down. Center = primary content; edges = secondary, infrequent actions.
- Default placement sits along the natural line of sight, a bit further than arm's reach; extended reading goes farther out, centered and slightly below eye line.
- Design in points, not meters — dynamic scale keeps windows legible at any distance (they scale up as they move away). Never fixed scale for UI; keep custom UI facing the viewer.
- Depth is hierarchy, used sparingly — "prefer subtle depth" (a modal pushes its parent back). Keep text flat; 3D text is hard to read at an angle.
- Glass, never solid window backgrounds — solid colors block the world, don't adapt to lighting, and "can feel constricting." Elements on glass use vibrancy + white text/symbols; system colors over custom (they're calibrated for legibility). Brand color goes in backgrounds or whole buttons, not glyphs.
- Typography runs heavier than iOS: body = medium (vs regular), titles = bold (vs semibold), slightly increased tracking. Avoid small/lightweight custom fonts.
- Component specs: vertical tab bar fixed left, ≤6 items, expands on gaze · ornaments overlap the window's bottom edge by 20pt, borderless buttons inside · sheets appear centered at the parent's Z while the parent dims and pushes back · nested corners concentric (outer radius = inner + padding).
- SwiftUI spatial layout: stacks default to
.backdepth alignment — switch to.frontwhen content should read toward the viewer;rotation3DLayout(notrotation3DEffect) when rotation must affect layout;SpatialContainer/spatialOverlayfor shared 3D space;scaledToFit3D()for models.
What ships with it
1 file 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.
- yesterday First seen · 161 lines · 90 tokens per session scan A 17631b1cbb68
spatial-design is a skill published in the GitHub repository rshankras/claude-code-apple-skills (864 stars, last pushed 2d ago), licensed MIT. It adds 90 tokens to every session and 2,277 once invoked, about $0.0004 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.
spatial-design compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| spatial-designrshankras/claude-code-apple-skills | Skill | 864 | 2d ago | MIT | A | 90 | 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 |