xcode-build-tuner

xcode-build-tuner is a skill for Claude Code, Codex from Xopoko/build-swift-apps. It costs 39 tokens per session (881 once invoked), scanned A, original, MIT.

A method for applying approved Xcode build-speed changes and measuring their effect afterward.

In plain words
What is it for?
It helps update approved build settings, script phases, Swift compilation options, or Swift Package Manager dependencies, then re-run benchmarks.
Why use it?
It keeps optimization changes reviewable and ties each change to evidence about whether wall-clock build time improved.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the build-swift-apps plugin — 61 skills, 3 commands, 3 MCP servers shipped together

Good fit It helps update approved build settings, script phases, Swift compilation options, or Swift Package Manager dependencies, then re-run benchmarks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xopoko/build-swift-apps/xcode-build-tuner
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 Xopoko/build-swift-apps --skill xcode-build-tuner
Clone the repo
git clone --depth 1 https://github.com/Xopoko/build-swift-apps

Made for: Claude Code, Codex.

Or install build-swift-apps, the plugin that ships this one along with the rest of its 61 skills, 3 commands, 3 MCP servers.

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 xcode-build-tuner

README.md
[![agentmods](https://agentmods.dev/badge/skills/xopoko/build-swift-apps/xcode-build-tuner.svg)](https://agentmods.dev/skills/xopoko/build-swift-apps/xcode-build-tuner)
Your own site
<a href="https://agentmods.dev/skills/xopoko/build-swift-apps/xcode-build-tuner"><img src="https://agentmods.dev/badge/skills/xopoko/build-swift-apps/xcode-build-tuner.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 881 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00039 $0.00881
Opus 5 $0.00019 $0.00441
Sonnet 5 $0.00008 $0.00176
Haiku 4.5 $0.00004 $0.00088

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

Security

Grade A, and why

xcode-build-tuner 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.

skills/xcode-build-tuner/SKILL.md · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Xcode Build Tuner

Before invoking Apple-only binaries, confirm the execution context is macOS. From Windows or Linux, run those steps in a Mac SSH project or through an already configured remote transport; do not retry missing Apple binaries locally.

Bundled commands use $PLUGIN_ROOT for the plugin root. Use the host's plugin-root variable when defined; otherwise set it to the absolute path of this plugin before running a helper from the app repository.

Implement only approved build optimization changes, verify compilation, and prove the result with the same benchmark contract.

Rules

  • Require either checked items in .build-benchmark/optimization-plan.md or an explicit user instruction.
  • Apply one logical fix at a time; keep edits reviewable and reversible.
  • Re-benchmark after changes and report wall-clock deltas.
  • If a speculative change regresses or shows no useful benefit, flag it and recommend revert when appropriate.
  • Do not revert recommended build settings only because one noisy benchmark failed to improve.

Fix Types

  • Build settings: DEBUG_INFORMATION_FORMAT=dwarf for Debug, SWIFT_COMPILATION_MODE=singlefile, COMPILATION_CACHE_ENABLE_CACHING=YES, EAGER_LINKING=YES, SWIFT_USE_INTEGRATED_DRIVER=YES, ONLY_ACTIVE_ARCH=YES, and cross-target setting alignment. Verify with xcodebuild -showBuildSettings.
  • Script phases: declare inputs/outputs, add configuration guards, move long lists to .xcfilelist, and enable dependency analysis when possible.
  • Source compilation: add types, break generic/chained expressions, mark non-subclassed classes final, tighten access control, extract huge SwiftUI builders, and add explicit closure return types. Read references/fix-patterns.md for examples.
  • SwiftPM graph: split oversized modules, remove upward/circular dependencies, extract interface modules, remove unnecessary @_exported import, align options, and pin branch dependencies to tags or revisions. Confirm tags with git ls-remote --tags; verify with xcodebuild -resolvePackageDependencies.

Read the full file on GitHub · 68 lines

Files

What ships with it

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

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 · 68 lines · 39 tokens per session scan A 53d5c98ee3c8

Subscribe to this mod's changes

xcode-build-tuner is a skill published in the GitHub repository Xopoko/build-swift-apps (45 stars, last pushed 11d ago), licensed MIT. It adds 39 tokens to every session and 881 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

swift-ci-scaffold

Scaffold the repo side of Xcode Cloud for an XcodeGen / Tuist Swift project - generate ciscripts/cipostclone.sh (regen + guarded CIBUILDNUMBER stamping), propose a unit-test-only CI scheme, print the exact App Store Connect workflow checklist, and optionally install an opt-in .githooks/pre-push gate. Shows diffs and…

charlesjones-dev/claude-code-plugins-dev · 82 tokens

flutter-codestyle

Custom Instructions: Senior Flutter & Dart Engineer.

GulajavaMinistudio/awesome-copilot-id · 13 tokens

ios-agent-skill

Expert iOS/Swift developer behavior for AI coding agents. Use when writing, reviewing, or refactoring Swift, SwiftUI, UIKit, or SwiftData code; when designing iOS app architecture (MVVM, Clean Architecture, coordinators, routing); when building UI that must meet Apple's Human Interface Guidelines, contrast, dark-mode…

Nagarjuna2997/ios-agent-skill · 167 tokens

bootstrap-ios

Bootstrap agents for iOS, iPadOS, macOS, Swift, SwiftUI, SwiftData/Core Data, Swift Testing, Xcode build/test/debug, Simulator, App Intents, or XcodeBuildMCP work. Use before building, fixing, refactoring, QAing, or setting up Apple-platform repos, and when asked to load/install Ray's iOS skills or bootstrap iOS.

RayFernando1337/rayfernando-skills · 84 tokens

gradle-build-expert

Expert en configuration et optimisation Gradle pour Android Kotlin. Gère build.gradle, Kotlin DSL, dépendances, flavours, variants, performance, CI/CD et troubleshooting avancé. Se déclenche avec "gradle", "build error", "dépendance", "build config". Also triggers on "Gradle build", "Kotlin DSL build script", "speed…

khalilbenaz/claude-skills-collection · 83 tokens

swiftui-skills

Apple-authored SwiftUI and platform guidance extracted from Xcode. Helps AI agents write idiomatic, Apple-native SwiftUI with reduced hallucinations.

ameyalambat128/swiftui-skills · 34 tokens