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 MartinPuli/createAnApp --skill apple-agent-toolchaingit clone --depth 1 https://github.com/MartinPuli/createAnAppWrote 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/martinpuli/createanapp/apple-agent-toolchain)<a href="https://agentmods.dev/skills/martinpuli/createanapp/apple-agent-toolchain"><img src="https://agentmods.dev/badge/skills/martinpuli/createanapp/apple-agent-toolchain.svg" alt="Measured on agentmods" 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.00076 | $0.00651 |
| Opus 5 | $0.00038 | $0.00326 |
| Sonnet 5 | $0.00015 | $0.00130 |
| Haiku 4.5 | $0.00008 | $0.00065 |
Grade A, and why
apple-agent-toolchain 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 7d 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 — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Apple Agent Toolchain
Choose the least-privilege purpose-built tool, verify it, and preserve an independent fallback. Read ../../docs/toolchain.md and ../../docs/security-and-secrets.md when available.
Discover before installing
- Inventory macOS, Xcode/SDK, command-line tools, runtimes, simulators, package managers, existing MCP servers, App Store tooling, and authentication state without printing secrets.
- Inspect the project type, workspace/project, schemes, packages, deployment targets, and device families.
- Prefer an existing verified tool over cloning or installing another copy.
- Check upstream requirements and release notes before installation.
Configure XcodeBuildMCP
Use the upstream package from getsentry/XcodeBuildMCP. Prefer Homebrew or ephemeral npx according to environment policy. Verify xcodebuildmcp --help and xcodebuildmcp tools. Configure the MCP client using current upstream instructions; do not invent server arguments.
Use it for discovery, simulator build/test/run, UI interaction, logs, screenshots, debugging, and supported device actions. Device tools still require legitimate code signing.
Review upstream telemetry documentation and apply the project's privacy policy. Do not confuse development-tool telemetry with app telemetry, but document both.
Maintain native fallbacks
Keep working knowledge of:
xcodebuild -list,-showBuildSettings,build,test,archive,-exportArchive;xcrun simctlruntime/device/app/container/log/screenshot operations;xcresulttoolfor durable test evidence;plutil,codesign, and archive inspection;- App Store Connect API/Transporter for authorized metadata and build delivery.
Never erase simulator/device/project data as a first diagnostic step. Resolve exact targets and preserve user state.
Isolate concurrent work
Use unique DerivedData, result-bundle, archive, test-products, log, and simulator resources per active build agent. Serialize operations that share signing, the same simulator, or the same app container.
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.
- 7d ago First seen · 59 lines · 76 tokens per session scan A bfec36367fa6
apple-agent-toolchain is a skill published in the GitHub repository MartinPuli/createAnApp (14 stars, last pushed 17d ago), licensed MIT. It adds 76 tokens to every session and 651 once invoked, about $0.0004 per session on Opus 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-30.
Other skills, from other repositories
iOS SwiftUI Accessibility
Enforces WCAG 2.2 accessible coding patterns when writing SwiftUI — labels, traits, Dynamic Type, contrast, touch targets, focus management, orientation, and more. Based on the ios-swiftui-accessibility-techniques project with 41 static analysis rules across 23 WCAG criteria.
ios-marketing-capture
Use when the user wants to automate capture of marketing screenshots for a SwiftUI iOS app across multiple locales, devices, or appearances. Covers full-screen shots, isolated element renders (carousel cards, widgets), and reproducible output naming. Triggers on marketing screenshots, locale screenshots, widget…
workflow-audit
Systematic UI workflow auditing for SwiftUI applications. Discovers entry points, traces user flows, detects dead ends and broken promises, audits data wiring, evaluates from user perspective. Triggers: "workflow audit", "audit flows", "find dead ends", "check navigation".
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.
ios-expert
Expert in iOS development with SwiftUI, UIKit, Combine, and Apple ecosystem integration. Use when the user mentions mobile, Swift, SwiftUI, UIKit, Apple platforms, or Xcode, or when the task involves iOS App Architecture, SwiftUI Fundamentals, UIKit Essentials, or Combine Framework.
gingiris-aso-growth
A broad guide to growing mobile apps through App Store Optimization, launch planning, creator-made content, and marketing on platforms such as TikTok, Instagram, and YouTube Shorts.