Skip to content
Skill

Xcode build benchmark

Measures Xcode clean and incremental build times and saves timestamped results

Xcode build benchmark is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
7
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Xcode build benchmark

This skill sets up a repeatable timing baseline for an Xcode project before any build optimization starts. It runs clean builds, zero-change builds that expose fixed per-build overhead, and optionally incremental builds after touching a source file, then reports medians, minimums, maximums and the biggest timing-summary categories.

The workflow keeps the scheme, configuration, destination and warm-up rules consistent across runs and captures clean and incremental builds separately. When the project has compilation caching enabled, it also measures cached clean builds. Raw results and a summary are written as a JSON artifact into a .build-benchmark folder. The skill is instructed not to modify project files during measurement.

It expects an Xcode workspace or project, a scheme, a configuration and a simulator or device destination, and it runs through a Python helper script that calls xcodebuild with timing summaries. It also notes a worktree issue where missing gitignored directories can break package resolution. Related analysis skills are referenced for follow-up optimization work.

When your agent uses it

Benchmark Xcode clean and incremental builds with repeatable inputs, timing summaries, and timestamped `.build-benchmark/` artifacts. Use when a developer wants a baseline, wants to compare before and after changes, asks to measure build performance, mentions build times, build duration, how long builds take, or wants to know if builds got faster or slower.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 3 files (8 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the xcode-build-suite plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add carloshpdoc/ios-workflow-claude
/plugin install xcode-build-suite@carloshpdoc-plugins

Or copy only this skill to ~/.claude/skills/xcode-build-benchmark:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/carloshpdoc/ios-workflow-claude.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/xcode-build-benchmark &&
cp -R "$tmp/plugins/xcode-build-suite/skills/xcode-build-benchmark" ~/.claude/skills/xcode-build-benchmark &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/xcode-build-benchmark inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/xcode-build-benchmark to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/carloshpdoc/ios-workflow-claude.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/xcode-build-benchmark &&
cp -R "$tmp/plugins/xcode-build-suite/skills/xcode-build-benchmark" ~/.agents/skills/xcode-build-benchmark &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/xcode-build-benchmark inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/xcode-build-benchmark to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/carloshpdoc/ios-workflow-claude.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/xcode-build-benchmark &&
cp -R "$tmp/plugins/xcode-build-suite/skills/xcode-build-benchmark" ~/.cursor/skills/xcode-build-benchmark &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/xcode-build-benchmark inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/carloshpdoc/ios-workflow-claude.git --path plugins/xcode-build-suite/skills/xcode-build-benchmark

Or copy the folder to ~/.gemini/skills/xcode-build-benchmark yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/xcode-build-benchmark:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/carloshpdoc/ios-workflow-claude.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/xcode-build-benchmark &&
cp -R "$tmp/plugins/xcode-build-suite/skills/xcode-build-benchmark" ~/.copilot/skills/xcode-build-benchmark &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/xcode-build-benchmark inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/carloshpdoc/ios-workflow-claude.git

Then copy ios-workflow-claude/plugins/xcode-build-suite/skills/xcode-build-benchmark into your agent's skills folder as xcode-build-benchmark. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Clean build timing
Runs repeated clean builds and reports median, minimum and maximum durations.
Zero-change overhead floor
Measures builds with no edits to expose fixed per-build overhead.
Incremental edit loop
Optionally touches a chosen source file before each build to time a real edit-rebuild cycle.
Cached clean builds
Measures clean builds with a warm compilation cache when caching is enabled.
Timestamped artifacts
Saves raw results and summaries as JSON in a dedicated benchmark folder.
Timing category breakdown
Surfaces the largest categories from Xcode's build timing summary.

Good for

  • Measure how long a clean build of my iOS app takes
  • Compare build times before and after a refactor
  • Check whether incremental builds got slower after a dependency change
  • Find out how much overhead a zero-change build has in my project
  • Save a build time baseline for my team to track over time

Xcode build benchmark FAQ

What does Xcode build benchmark need to run?

It needs an Xcode workspace or project path, a scheme, a configuration and a destination, and it uses a Python helper script that calls xcodebuild with timing summaries.

Does Xcode build benchmark change my project files?

No. The skill instructs the agent not to change project files as part of benchmarking.

Where are the results saved?

A timestamped JSON artifact is written to a .build-benchmark/ folder in the project.

Does Xcode build benchmark measure cached clean builds?

Yes, when COMPILATION_CACHING is detected as enabled, unless the --no-cached-clean flag is passed to skip it.

How do I install Xcode build benchmark in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/xcode-build-benchmark to use it in all your projects, or to .claude/skills/xcode-build-benchmark in one project. Or install the xcode-build-suite plugin, which includes it: /plugin marketplace add carloshpdoc/ios-workflow-claude, then /plugin install xcode-build-suite@carloshpdoc-plugins.

Does Xcode build benchmark run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Xcode build benchmark?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Xcode build benchmark?

The closest alternatives to Xcode build benchmark are Xcode build orchestrator, Xcode build fixer, Xcode project analyzer, Axiom optimize build and Benchmark.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from carloshpdoc/ios-workflow-claude

  1. Finds Swift Package Manager and module graph issues slowing Xcode builds

    • Open source
    • 7 GitHub stars
    • Developer tools
  2. Audits Xcode project settings and build phases to find slow-build causes

    • Open source
    • 7 GitHub stars
    • Developer tools
  3. Turns recent technical work into social and article drafts for manual review

    • Open source
    • 7 GitHub stars
    • Marketing and SEO
  4. Turns meeting notes or specs into planned, estimated Jira task tickets

    • Open source
    • 7 GitHub stars
    • Productivity
  5. Indexes, searches and maintains a personal collection of Markdown docs for Claude

    • Open source
    • 7 GitHub stars
    • Knowledge and memory
  6. Applies approved Xcode build fixes one at a time and re-benchmarks the results

    • Open source
    • 7 GitHub stars
    • Developer tools