building-apple-platform-products

building-apple-platform-products is a skill for Claude Code, Codex from kylehughes/apple-platform-build-tools-claude-code-plugin. It costs 82 tokens per session (2,808 once invoked), scanned B, original, MIT.

A set of instructions for building, testing, packaging, signing, and deploying Swift packages and Xcode projects for Apple platforms. It covers iPhone, Mac, Apple TV, Apple Watch, and Vision Pro development.

In plain words
What is it for?
Use it to run Swift builds and tests, manage simulators, install apps on devices, create release archives, inspect binaries, profile performance, or notarize and distribute Apple software.
Why use it?
It gives an agent a consistent process for discovering Apple project settings and using the correct Xcode developer tools. This reduces errors when working with simulators, devices, archives, or code signing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to run Swift builds and tests, manage simulators, install apps on devices, create release archives, inspect binaries, profile performance, or notarize and distribute Apple software.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kylehughes/apple-platform-build-tools-claude-code-plugin/building-apple-platform-products
Install

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.

Any agent
npx skills add kylehughes/apple-platform-build-tools-claude-code-plugin --skill building-apple-platform-products
Clone the repo
git clone --depth 1 https://github.com/kylehughes/apple-platform-build-tools-claude-code-plugin

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin apple-platform-build-tools/plugin install apple-platform-build-tools after adding the marketplace above.

Wrote 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.

agentmods badge for building-apple-platform-products

README.md
[![agentmods](https://agentmods.dev/badge/skills/kylehughes/apple-platform-build-tools-claude-code-plugin/building-apple-platform-products/github.svg)](https://agentmods.dev/skills/kylehughes/apple-platform-build-tools-claude-code-plugin/building-apple-platform-products)
Your own site
<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.

agentmods 80×15 button for building-apple-platform-products

Your own site · 80×15
<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>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,808 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 11d ago against content hash f8632268b87c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

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` |
skills/building-apple-platform-products/SKILL.md · 208 lines

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.

Read the full file on GitHub · 208 lines

Changes

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.

  1. 11d ago First seen · 208 lines · 82 tokens per session scan B f8632268b87c

Subscribe to this mod's changes

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.

Related

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.

rhyean88/apple-platform-build-tools-claude-code-plugin · 64 tokens

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.

personamanagmentlayer/pcl · 76 tokens

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.

AmariahAK/atlarix-skills · 2 tokens

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…

Dev869/swift-tothemax · 271 tokens

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 …

Dev869/swift-tothemax · 156 tokens

swift

Swift programming patterns for iOS and macOS.

miles990/claude-software-skills · 11 tokens