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 markdavidgan/apple-dev-skills --skill apple-architecture-diagramgit clone --depth 1 https://github.com/markdavidgan/apple-dev-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/markdavidgan/apple-dev-skills/apple-architecture-diagram)<a href="https://agentmods.dev/skills/markdavidgan/apple-dev-skills/apple-architecture-diagram"><img src="https://agentmods.dev/badge/skills/markdavidgan/apple-dev-skills/apple-architecture-diagram/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/markdavidgan/apple-dev-skills/apple-architecture-diagram"><img src="https://agentmods.dev/badge/skills/markdavidgan/apple-dev-skills/apple-architecture-diagram.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.00080 | $0.05601 |
| Opus 5.5 | $0.00032 | $0.02240 |
| Sonnet 5.5 | $0.00016 | $0.01120 |
| Haiku 4.5 | $0.00008 | $0.00560 |
Grade A, and why
apple-architecture-diagram 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 2mo 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 — 514 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Apple Architecture Diagram
Create WWDC-Keynote-ready architecture diagrams for Apple platform apps. Self-contained HTML+SVG, dark cinematic aesthetic, interactive drill-down across four architectural layers.
Embody a WWDC presenter. Your diagrams are shown on a 40-foot screen to thousands of developers. Every pixel earns its place. No filler. No generic tech aesthetics.
When to Use
- "Draw the architecture of this app" / "Show me how this is structured"
- "Document our iOS app architecture" / "Create a system diagram"
- "What's the data flow?" / "How do the modules interact?"
- "Show me the MVVM structure" / "SwiftData architecture"
- "Keynote-ready diagram" / "WWDC-style architecture doc"
- Comparing before/after refactoring architectures
Core Philosophy
1. Apple Design Language, Not Generic Tech
Anti-AI-slop rules specific to Apple diagrams:
| Avoid | Use Instead |
|---|---|
| Purple gradients | Apple system colors on true black |
| JetBrains Mono | SF Mono or ui-monospace |
| Material Design cards | Apple glass material with purposeful blur |
| Generic server icons | Apple device frames (iPhone, Mac, Vision Pro) |
| Flat color fills | Subtle depth, 1px borders, ambient glow |
| Cluttered boxes everywhere | Progressive disclosure — show layers on demand |
| Random hex colors | Apple semantic palette (see below) |
2. Four-Layer Drill-Down
Every architecture diagram supports four zoom levels. Default to Logical, let user drill:
| Layer | Question Answered | Detail Level |
|---|---|---|
| Conceptual | What problem does this solve? | User flows, business value, metrics |
| Logical | What are the major parts? | MVVM/TCA layers, modules, boundaries |
| Physical | Where does it run? | Devices, processes, threads, Darwin layers |
| Implementation | What are the actual files? | Xcode groups, specific classes, frameworks |
3. Cinematic Reveal
WWDC keynotes don't show everything at once. They build. Your diagrams should:
- Load with the Conceptual layer visible, others dimmed
- Animate elements in with staggered CSS transitions (0.3s ease-out)
- Use opacity + translateY for entrance, never jarring pops
- Reserve "hero moments" for the most important connection or boundary
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.
- 2mo ago First seen · 514 lines · 80 tokens per session scan A 664437d4041f
apple-architecture-diagram is a skill published in the GitHub repository markdavidgan/apple-dev-skills (5 stars, last pushed 2mo ago), licensed MIT. It adds 80 tokens to every session and 5,601 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-08-31.
apple-architecture-diagram compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| apple-architecture-diagrammarkdavidgan/apple-dev-skills | Skill | 5 | 2mo ago | MIT | A | 80 | Claude Code |
| asc-revenuecat-catalog-syncrorkai/app-store-connect-cli-skills | Skill | 1.1k | yesterday | MIT | A | 51 | Claude Code |
| asc-shots-pipelinerorkai/app-store-connect-cli-skills | Skill | 1.1k | yesterday | MIT | A | 79 | Claude Code |
| asc-localize-metadatarorkai/app-store-connect-cli-skills | Skill | 1.1k | yesterday | MIT | A | 60 | Claude Code |
| asc-metadata-syncrorkai/app-store-connect-cli-skills | Skill | 1.1k | yesterday | MIT | A | 47 | Claude Code |
| asc-submission-healthrorkai/app-store-connect-cli-skills | Skill | 1.1k | yesterday | MIT | A | 82 | Claude Code |
| asc-release-flowrorkai/app-store-connect-cli-skills | Skill | 1.1k | yesterday | MIT | A | 71 | Claude Code |