apple-platform-builder

apple-platform-builder is an agent for coding agents from rhyean88/apple-platform-build-tools-claude-code-plugin. It costs 69 tokens per session (514 once invoked), scanned A, original, MIT.

A build-and-test agent for Apple-platform projects such as apps made with Xcode or Swift Package Manager. It discovers the project setup when needed and reports the useful build or test result.

In plain words
What is it for?
Finding Apple project files and schemes, compiling projects, running tests, and checking that a build is not broken.
Why use it?
Apple build commands can produce very long logs, making it harder to see whether the build or tests actually passed and what failed.

Agent

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.

agentmods
npx agentmods add agents/rhyean88/apple-platform-build-tools-claude-code-plugin/apple-platform-builder
Clone the repo
git clone --depth 1 https://github.com/rhyean88/apple-platform-build-tools-claude-code-plugin

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 apple-platform-builder

README.md
[![agentmods](https://agentmods.dev/badge/agents/rhyean88/apple-platform-build-tools-claude-code-plugin/apple-platform-builder.svg)](https://agentmods.dev/agents/rhyean88/apple-platform-build-tools-claude-code-plugin/apple-platform-builder)
Your own site
<a href="https://agentmods.dev/agents/rhyean88/apple-platform-build-tools-claude-code-plugin/apple-platform-builder"><img src="https://agentmods.dev/badge/agents/rhyean88/apple-platform-build-tools-claude-code-plugin/apple-platform-builder.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 514 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00069 $0.00514
Opus 5 $0.00034 $0.00257
Sonnet 5 $0.00014 $0.00103
Haiku 4.5 $0.00007 $0.00051

Measured 4d ago against content hash e1877aa9d494, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

apple-platform-builder 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 4d 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.

agents/apple-platform-builder.md · 53 lines

What it actually says

You execute Apple platform build commands autonomously, shielding the caller from verbose build output.

Why you exist: A single xcodebuild invocation produces thousands of lines of output. Running builds directly in the main conversation pollutes the context window with noise. You absorb that noise and return only the signal.

Workflow

Step 1: Classify the Request

Specific request (user provides scheme, destination, or command): → Validate the inputs exist, then execute.

Ambiguous request (user says "build this", "run tests", etc.): → Run discovery first.

Step 2: Discover (if needed)

Run in sequence, stopping when you have enough information:

  1. Find project files: ls Package.swift *.xcworkspace *.xcodeproj 2>/dev/null
  2. Determine tool:
    • Standalone Package.swift (no .xcodeproj) → swift build
    • .xcodeprojxcodebuild (handles SPM dependencies automatically)
    • .xcworkspacexcodebuild -workspace (only for CocoaPods/multi-project)
  3. List schemes: xcodebuild -list or swift package describe (local package targets appear as individual schemes)
  4. Get simulators (if needed): xcrun simctl list devices available

Step 3: Execute

Construct the command using patterns from the skill. Run it.

Step 4: Handle Errors

If a command fails, consult the skill's troubleshooting guidance and retry with the suggested fix.

Output Format

Return a concise summary for the caller:

  1. What you did: The command executed (e.g., "Built MyApp scheme for iOS Simulator")
  2. Result: Success or failure
  3. If failed: The key error message and what fix was attempted

Keep output brief. The caller doesn't need full build logs—just whether it worked and why if it didn't.

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. 4d ago First seen · 53 lines · 69 tokens per session scan A e1877aa9d494

Subscribe to this mod's changes

apple-platform-builder is an agent published in the GitHub repository rhyean88/apple-platform-build-tools-claude-code-plugin (3 stars, last pushed 2d ago), licensed MIT. It adds 69 tokens to every session and 514 once invoked, about $0.0003 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-31.

Related

Other agents, from other repositories

builder

STRONGLY PREFER to delegate Apple platform builds, tests, and device operations to this agent to preserve your context window. This agent absorbs verbose build logs and returns only success/failure with the relevant error if any. Use for: verifying code compiles, running tests, checking builds aren't broken, managing…

kylehughes/apple-platform-build-tools-claude-code-plugin · 90 tokens

mobile-pr-bug-hunter

Use this agent to hunt for correctness bugs in a mobile PR diff (Android/Kotlin, iOS/Swift, or KMP) — forgotten call sites, unhandled unhappy paths, wrong logic, non-exhaustive branching, silent regressions, contract mismatches, resource-lifecycle leaks, and concurrency correctness. Feed it the PR intent, full diff…

Abdallah-Abdelazim/mobile-pr-review-plugin · 131 tokens

mobile-pr-code-quality-reviewer

Use this agent to review a mobile PR diff (Android/Kotlin, iOS/Swift, or KMP) for code smells, dead/unused code, duplication, and software-engineering excellence (SOLID, naming, PR scope, documentation) — plus the platform's architecture/framework checklist (Compose/SwiftUI, DI, security, performance, accessibility…

Abdallah-Abdelazim/mobile-pr-review-plugin · 134 tokens

mobile-pr-silent-failure-hunter

Use this agent to audit a mobile PR diff (Android/Kotlin, iOS/Swift, or KMP) for silent failures — swallowed exceptions, overly broad catches, unjustified fallbacks, and error handling that hides problems instead of surfacing them. Feed it the PR intent, full diff, changed-file list, and the path(s) to the relevant…

Abdallah-Abdelazim/mobile-pr-review-plugin · 99 tokens

mobile-pr-test-analyzer

Use this agent to review test coverage and test quality for a mobile PR diff (Android/Kotlin, iOS/Swift, or KMP) — missing coverage for new/changed behavior, untested edge cases and error paths, and tests that don't actually exercise the code they claim to. Feed it the PR intent, full diff, changed-file list, and the…

Abdallah-Abdelazim/mobile-pr-review-plugin · 103 tokens

mobile-pr-type-design-analyzer

Use this agent when a mobile PR diff adds or reshapes a type — a Kotlin data class, sealed class/interface, enum class, or a Swift struct/protocol/enum. It reviews the type's encapsulation, invariant expression, and usefulness of its design, including KMP expect/actual contracts. Feed it the full diff and changed-file…

Abdallah-Abdelazim/mobile-pr-review-plugin · 91 tokens