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 kylehughes/apple-platform-build-tools-claude-code-plugin --skill building-apple-platform-productsgit clone --depth 1 https://github.com/kylehughes/apple-platform-build-tools-claude-code-pluginWrote 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/kylehughes/apple-platform-build-tools-claude-code-plugin/building-apple-platform-products)<a href="https://agentmods.dev/skills/kylehughes/apple-platform-build-tools-claude-code-plugin/building-apple-platform-products"><img src="https://agentmods.dev/badge/skills/kylehughes/apple-platform-build-tools-claude-code-plugin/building-apple-platform-products/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/kylehughes/apple-platform-build-tools-claude-code-plugin/building-apple-platform-products"><img src="https://agentmods.dev/badge/skills/kylehughes/apple-platform-build-tools-claude-code-plugin/building-apple-platform-products.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.00082 | $0.02808 |
| Opus 5 | $0.00041 | $0.01404 |
| Sonnet 5 | $0.00016 | $0.00562 |
| Haiku 4.5 | $0.00008 | $0.00281 |
Grade B, and why
building-apple-platform-products scanned grade B with 1 finding 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 11d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
| Switch Xcode (system) | `sudo xcode-select -s /Applications/Xcode.app/Contents/Developer` | How it starts
The opening of the file, as written. The whole thing — 208 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Building Apple Platform Products
Build, test, archive, deploy, and automate Swift packages and Xcode projects for Apple platforms.
When to Use This Skill
Use this skill when you need to:
- Build an iOS, macOS, tvOS, watchOS, or visionOS app
- Build a Swift package
- Run unit tests or UI tests
- Create an archive for distribution
- Discover project structure (schemes, targets, configurations)
- Manage simulators (create, boot, configure, install apps)
- Deploy to physical devices
- Automate simulator testing (permissions, push notifications, screenshots, location)
- Sign, notarize, or distribute apps
- Inspect binaries or debug symbols
- Profile app performance
- Resolve xcrun tool paths or switch Xcode versions
xcrun Tool Resolution
xcrun resolves and executes Xcode developer tools without hardcoded paths. All tools in this skill are accessed through xcrun (e.g., xcrun simctl, xcrun devicectl, xcrun xctrace).
| Goal | Command |
|---|---|
| Find tool path | xcrun --find <tool> |
| Show SDK path | xcrun --sdk iphoneos --show-sdk-path |
| Switch Xcode (per-command) | DEVELOPER_DIR=/path/to/Xcode.app/Contents/Developer xcrun <tool> |
| Switch Xcode (system) | sudo xcode-select -s /Applications/Xcode.app/Contents/Developer |
| Clear cache after upgrade | xcrun --kill-cache |
For tool resolution priority, toolchain selection, or debugging, see xcrun-basics.md.
Tool Selection
| Project Type | Primary Tool | When to Use |
|---|---|---|
Standalone Package.swift |
swift build |
Libraries, CLI tools, cross-platform Swift (no .xcodeproj) |
.xcworkspace |
xcodebuild -workspace |
CocoaPods or multi-project setups |
.xcodeproj |
xcodebuild |
Standard Xcode projects (including those with SPM dependencies) |
Important: The swift build / swift test commands only work for standalone Swift packages. If a Swift package is embedded as a submodule within an Xcode project, you must use xcodebuild with the appropriate scheme—the Swift CLI cannot orchestrate builds in that context.
What ships with it
15 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.
- references/archiving.md 4.7 KB
- references/binary-tools.md 2.7 KB
- references/ci-cd-patterns.md 4.5 KB
- references/code-signing.md 3.2 KB
- references/destinations.md 5.9 KB
- references/devicectl.md 7.1 KB
- references/distribution.md 3.7 KB
- references/profiling-and-results.md 2.9 KB
- references/project-discovery.md 4.0 KB
- references/simctl.md 11 KB
- references/swift-package-manager.md 5.7 KB
- references/testing.md 6.0 KB
- references/troubleshooting.md 4.7 KB
- references/xcodebuild-basics.md 5.3 KB
- references/xcrun-basics.md 4.0 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.
- 11d ago First seen · 208 lines · 82 tokens per session scan B f8632268b87c
building-apple-platform-products is a skill published in the GitHub repository kylehughes/apple-platform-build-tools-claude-code-plugin (59 stars, last pushed 6mo ago), licensed MIT. It adds 82 tokens to every session and 2,808 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
building-apple-platform-products
Builds, tests, and archives Swift packages and Xcode projects for Apple platforms. Use when running xcodebuild, swift build, or swift test commands, discovering schemes and targets, or selecting simulator destinations for iOS, macOS, tvOS, watchOS, or visionOS.
swift-expert
Expert-level Swift development for iOS, macOS with SwiftUI, Combine, and modern Swift 5.9+. Use when the user mentions iOS, macOS, SwiftUI, Combine, async await, or Apple platforms, or when the task involves Modern Swift Features, Basics and Optionals, Functions and Closures, or Structs and Classes.
Swift Patterns
Use this skill when working on Swift projects (SwiftPM packages, iOS/macOS apps) and you want consistent patterns for concurrency, structure, and safety.
swiftui-max
Expert SwiftUI guidance for building UI on iOS, iPadOS, macOS, watchOS, tvOS, and visionOS. Use whenever writing, reviewing, refactoring, or debugging ANY SwiftUI code — views, view modifiers, layout, navigation (NavigationStack/SplitView, deep links), lists and scrolling, animation and transitions, state management…
apple-dev-conductor
Orchestrator for the swift-tothemax plugin — routes any Apple-platform development task (building an iOS/macOS app, adding a feature, preparing a release, fixing a rejection) to the right combination of skills in the correct order. Use this skill FIRST whenever a task spans more than one facet of Apple development …
swift
Swift programming patterns for iOS and macOS.