xcode-build-fixer

xcode-build-fixer is a skill for Claude Code from carloshpdoc/ios-workflow-claude. It costs 58 tokens per session (938 once invoked), scanned A, original, Apache-2.0.

A procedure for applying approved changes that may make Xcode builds faster. Xcode is Apple’s tool for building apps.

In plain words
What is it for?
Use it to change build settings, improve build scripts, or adjust source code after an optimization plan has been approved.
Why use it?
It keeps optimization work controlled by requiring approval, compilation checks, and a new benchmark after the changes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the xcode-build-suite plugin — 6 skills shipped together

Good fit Use it to change build settings, improve build scripts, or adjust source code after an optimization plan has been approved.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/carloshpdoc/ios-workflow-claude/xcode-build-fixer
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 carloshpdoc/ios-workflow-claude --skill xcode-build-fixer
Clone the repo
git clone --depth 1 https://github.com/carloshpdoc/ios-workflow-claude

Made for: Claude Code.

Or install xcode-build-suite, the plugin that ships this one along with the rest of its 6 skills.

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-fixer

README.md
[![agentmods](https://agentmods.dev/badge/skills/carloshpdoc/ios-workflow-claude/xcode-build-fixer.svg)](https://agentmods.dev/skills/carloshpdoc/ios-workflow-claude/xcode-build-fixer)
Your own site
<a href="https://agentmods.dev/skills/carloshpdoc/ios-workflow-claude/xcode-build-fixer"><img src="https://agentmods.dev/badge/skills/carloshpdoc/ios-workflow-claude/xcode-build-fixer.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 938 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.
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.00058 $0.00938
Opus 5 $0.00029 $0.00469
Sonnet 5 $0.00012 $0.00188
Haiku 4.5 $0.00006 $0.00094

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

Security

Grade A, and why

xcode-build-fixer 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 8d 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.

plugins/xcode-build-suite/skills/xcode-build-fixer/SKILL.md · 92 lines

How it starts

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

Xcode Build Fixer

Use this skill to apply approved build optimization changes and re-benchmark to verify improvements.

Non-Negotiable Rules

  • Only apply changes that have explicit developer approval.
  • Apply one logical fix at a time so changes are reviewable and reversible.
  • Verify compilation succeeds after each change.
  • Re-benchmark after all changes using the same baseline parameters.
  • Do not revert best-practice settings based on single benchmark runs.

Fix Categories

1. Build Settings

Modify project.pbxproj values directly. Common examples:

  • DEBUG_INFORMATION_FORMAT = dwarf (Debug)
  • COMPILATION_CACHING = YES
  • EAGER_LINKING = YES
  • ONLY_ACTIVE_ARCH = YES (Debug)
  • SWIFT_COMPILATION_MODE = singlefile (Debug)

2. Script Phases

  • Add input/output file declarations to prevent unnecessary re-execution.
  • Add configuration guards (if [ "$CONFIGURATION" != "Debug" ]; then exit 0; fi).
  • Convert alwaysOutOfDate scripts to properly declared dependencies.

3. Source-Level Fixes

Code changes that reduce compiler overhead:

  • Add explicit type annotations to complex expressions.
  • Mark classes final when not subclassed.
  • Narrow access control (private, fileprivate).
  • Decompose large SwiftUI body properties into subviews.
  • Break long method chains with typed intermediates.

4. SPM Restructuring

  • Pin branch-tracked dependencies to version tags or revision hashes.
  • Extract shared contracts to break circular dependencies.
  • Separate interface from implementation modules.

Execution Workflow

  1. Read the approved items from .build-benchmark/optimization-plan.md.
  2. For each approved item: a. Identify the exact file(s) and location(s) to change. b. Apply the change. c. Verify compilation: xcodebuild build. d. If compilation fails, revert and note the issue.
  3. After all changes are applied and compiling, re-benchmark using the original baseline parameters.
  4. Compare results and generate the execution report.

Read the full file on GitHub · 92 lines

Files

What ships with it

3 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. 8d ago First seen · 92 lines · 58 tokens per session scan A bddd5d6223fb

Subscribe to this mod's changes

xcode-build-fixer is a skill published in the GitHub repository carloshpdoc/ios-workflow-claude (7 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 58 tokens to every session and 938 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 skills, from other repositories

skillnote-doctor

A diagnostic tool for OpenClaw agents -- checks skill registry connectivity, AGENTS.md setup, config file validity, and installed skill health. Use when your setup seems broken, skills aren't loading, or you want to audit your agent's configuration.

luna-prompts/skillnote · 54 tokens

rubber-ducky

Use when you've planned a non-trivial change and are about to implement it, finished a complex or multi-file piece of work, just wrote tests, or are stuck on repeated failures — and any time the user says "rubber duck this", "rubber ducky", "get a second opinion", "sanity-check my plan", "poke holes in this", "what am…

harnessprotocol/harness-kit · 186 tokens

mobile-app-testing

Record real-device (iOS Simulator / Android emulator) test flows for your app (web or native) via tapflow's MCP server, replay them with tapflow's own CLI, and stream results into an installed e2e-dashboard.

FaisalNoman/playwright-skills · 52 tokens

rider-search

Routing rules for code search in JetBrains Rider projects — use the Rider MCP symbol/reference/file tools instead of Bash grep. Use whenever searching for a symbol, definition, function, variable, type, or finding usages/references in a C#/.NET or Unreal C++ codebase open in Rider.

JSungMin/rider-mcp-enforcer · 60 tokens

superdev

A service-management and debugging guide for projects connected to SuperDev, a tool that controls local or remote development services.

Xsxdot/super-dev · 250 tokens

swift-performance-pro

Use when diagnosing or fixing performance — SwiftUI render cost, memory and retain cycles, slow lists, launch time, and using Instruments.

laxrajpurohit/swift-skills-pro · 31 tokens