Xcode Build Optimization Agent Skill
A skill that speeds up Xcode builds: benchmarks clean and incremental builds, finds bottlenecks and tunes project settings
Medium risk
We rate an entry medium when the tool runs code, makes network calls or reads project files. Check what exactly it does before installing.
Why this level
- The skill runs builds and reads project files
- It changes build settings, which need review
Install
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/xcode-build-optimization-agent-skillDetects the agents on your machine, checks the risk and pins the version.
Other ways to install
Assembled automatically, review before installing.
Run in a terminal in the project folder
npx skills add avdlee/xcode-build-optimization-agent-skill --skill xcode-build-benchmark xcode-compilation-analyzer xcode-project-analyzer spm-build-analysis xcode-build-fixer xcode-build-orchestrator -a claude-code -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit 6bd7b59
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/avdlee/xcode-build-optimization-agent-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/xcode-build-benchmark/ /skills/xcode-compilation-analyzer/ /skills/xcode-project-analyzer/ /skills/spm-build-analysis/ /skills/xcode-build-fixer/ /skills/xcode-build-orchestrator/
git -C "$tmp" checkout 6bd7b596cd688b1127ded00e812b1b6937ec35d6
mkdir -p .claude/skills
cp -R "$tmp/skills/xcode-build-benchmark" .claude/skills/xcode-build-benchmark
cp -R "$tmp/skills/xcode-compilation-analyzer" .claude/skills/xcode-compilation-analyzer
cp -R "$tmp/skills/xcode-project-analyzer" .claude/skills/xcode-project-analyzer
cp -R "$tmp/skills/spm-build-analysis" .claude/skills/spm-build-analysis
cp -R "$tmp/skills/xcode-build-fixer" .claude/skills/xcode-build-fixer
cp -R "$tmp/skills/xcode-build-orchestrator" .claude/skills/xcode-build-orchestratorCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
npx skills add avdlee/xcode-build-optimization-agent-skill --skill xcode-build-benchmark xcode-compilation-analyzer xcode-project-analyzer spm-build-analysis xcode-build-fixer xcode-build-orchestrator -a cursor -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit 6bd7b59
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/avdlee/xcode-build-optimization-agent-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/xcode-build-benchmark/ /skills/xcode-compilation-analyzer/ /skills/xcode-project-analyzer/ /skills/spm-build-analysis/ /skills/xcode-build-fixer/ /skills/xcode-build-orchestrator/
git -C "$tmp" checkout 6bd7b596cd688b1127ded00e812b1b6937ec35d6
mkdir -p .agents/skills
cp -R "$tmp/skills/xcode-build-benchmark" .agents/skills/xcode-build-benchmark
cp -R "$tmp/skills/xcode-compilation-analyzer" .agents/skills/xcode-compilation-analyzer
cp -R "$tmp/skills/xcode-project-analyzer" .agents/skills/xcode-project-analyzer
cp -R "$tmp/skills/spm-build-analysis" .agents/skills/spm-build-analysis
cp -R "$tmp/skills/xcode-build-fixer" .agents/skills/xcode-build-fixer
cp -R "$tmp/skills/xcode-build-orchestrator" .agents/skills/xcode-build-orchestratorCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
npx skills add avdlee/xcode-build-optimization-agent-skill --skill xcode-build-benchmark xcode-compilation-analyzer xcode-project-analyzer spm-build-analysis xcode-build-fixer xcode-build-orchestrator -a github-copilot -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit 6bd7b59
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/avdlee/xcode-build-optimization-agent-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/xcode-build-benchmark/ /skills/xcode-compilation-analyzer/ /skills/xcode-project-analyzer/ /skills/spm-build-analysis/ /skills/xcode-build-fixer/ /skills/xcode-build-orchestrator/
git -C "$tmp" checkout 6bd7b596cd688b1127ded00e812b1b6937ec35d6
mkdir -p .github/skills
cp -R "$tmp/skills/xcode-build-benchmark" .github/skills/xcode-build-benchmark
cp -R "$tmp/skills/xcode-compilation-analyzer" .github/skills/xcode-compilation-analyzer
cp -R "$tmp/skills/xcode-project-analyzer" .github/skills/xcode-project-analyzer
cp -R "$tmp/skills/spm-build-analysis" .github/skills/spm-build-analysis
cp -R "$tmp/skills/xcode-build-fixer" .github/skills/xcode-build-fixer
cp -R "$tmp/skills/xcode-build-orchestrator" .github/skills/xcode-build-orchestratorCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
npx skills add avdlee/xcode-build-optimization-agent-skill --skill xcode-build-benchmark xcode-compilation-analyzer xcode-project-analyzer spm-build-analysis xcode-build-fixer xcode-build-orchestrator -a codex -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit 6bd7b59
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/avdlee/xcode-build-optimization-agent-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/xcode-build-benchmark/ /skills/xcode-compilation-analyzer/ /skills/xcode-project-analyzer/ /skills/spm-build-analysis/ /skills/xcode-build-fixer/ /skills/xcode-build-orchestrator/
git -C "$tmp" checkout 6bd7b596cd688b1127ded00e812b1b6937ec35d6
mkdir -p .agents/skills
cp -R "$tmp/skills/xcode-build-benchmark" .agents/skills/xcode-build-benchmark
cp -R "$tmp/skills/xcode-compilation-analyzer" .agents/skills/xcode-compilation-analyzer
cp -R "$tmp/skills/xcode-project-analyzer" .agents/skills/xcode-project-analyzer
cp -R "$tmp/skills/spm-build-analysis" .agents/skills/spm-build-analysis
cp -R "$tmp/skills/xcode-build-fixer" .agents/skills/xcode-build-fixer
cp -R "$tmp/skills/xcode-build-orchestrator" .agents/skills/xcode-build-orchestratorCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
npx skills add avdlee/xcode-build-optimization-agent-skill --skill xcode-build-benchmark xcode-compilation-analyzer xcode-project-analyzer spm-build-analysis xcode-build-fixer xcode-build-orchestrator -a gemini-cli -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit 6bd7b59
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/avdlee/xcode-build-optimization-agent-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/xcode-build-benchmark/ /skills/xcode-compilation-analyzer/ /skills/xcode-project-analyzer/ /skills/spm-build-analysis/ /skills/xcode-build-fixer/ /skills/xcode-build-orchestrator/
git -C "$tmp" checkout 6bd7b596cd688b1127ded00e812b1b6937ec35d6
mkdir -p .agents/skills
cp -R "$tmp/skills/xcode-build-benchmark" .agents/skills/xcode-build-benchmark
cp -R "$tmp/skills/xcode-compilation-analyzer" .agents/skills/xcode-compilation-analyzer
cp -R "$tmp/skills/xcode-project-analyzer" .agents/skills/xcode-project-analyzer
cp -R "$tmp/skills/spm-build-analysis" .agents/skills/spm-build-analysis
cp -R "$tmp/skills/xcode-build-fixer" .agents/skills/xcode-build-fixer
cp -R "$tmp/skills/xcode-build-orchestrator" .agents/skills/xcode-build-orchestratorCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/avdlee/xcode-build-optimization-agent-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/xcode-build-benchmark/ /skills/xcode-compilation-analyzer/ /skills/xcode-project-analyzer/ /skills/spm-build-analysis/ /skills/xcode-build-fixer/ /skills/xcode-build-orchestrator/
git -C "$tmp" checkout 6bd7b596cd688b1127ded00e812b1b6937ec35d6
mkdir -p .devin/skills
cp -R "$tmp/skills/xcode-build-benchmark" .devin/skills/xcode-build-benchmark
cp -R "$tmp/skills/xcode-compilation-analyzer" .devin/skills/xcode-compilation-analyzer
cp -R "$tmp/skills/xcode-project-analyzer" .devin/skills/xcode-project-analyzer
cp -R "$tmp/skills/spm-build-analysis" .devin/skills/spm-build-analysis
cp -R "$tmp/skills/xcode-build-fixer" .devin/skills/xcode-build-fixer
cp -R "$tmp/skills/xcode-build-orchestrator" .devin/skills/xcode-build-orchestratorCommands for macOS and Linux, on Windows run them in Git Bash.
Formerly Windsurf.
Run in a terminal in the project folder
npx skills add avdlee/xcode-build-optimization-agent-skill --skill xcode-build-benchmark xcode-compilation-analyzer xcode-project-analyzer spm-build-analysis xcode-build-fixer xcode-build-orchestrator -a cline -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit 6bd7b59
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/avdlee/xcode-build-optimization-agent-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/xcode-build-benchmark/ /skills/xcode-compilation-analyzer/ /skills/xcode-project-analyzer/ /skills/spm-build-analysis/ /skills/xcode-build-fixer/ /skills/xcode-build-orchestrator/
git -C "$tmp" checkout 6bd7b596cd688b1127ded00e812b1b6937ec35d6
mkdir -p .cline/skills
cp -R "$tmp/skills/xcode-build-benchmark" .cline/skills/xcode-build-benchmark
cp -R "$tmp/skills/xcode-compilation-analyzer" .cline/skills/xcode-compilation-analyzer
cp -R "$tmp/skills/xcode-project-analyzer" .cline/skills/xcode-project-analyzer
cp -R "$tmp/skills/spm-build-analysis" .cline/skills/spm-build-analysis
cp -R "$tmp/skills/xcode-build-fixer" .cline/skills/xcode-build-fixer
cp -R "$tmp/skills/xcode-build-orchestrator" .cline/skills/xcode-build-orchestratorCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
npx skills add avdlee/xcode-build-optimization-agent-skill --skill xcode-build-benchmark xcode-compilation-analyzer xcode-project-analyzer spm-build-analysis xcode-build-fixer xcode-build-orchestrator -a roo -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit 6bd7b59
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/avdlee/xcode-build-optimization-agent-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/xcode-build-benchmark/ /skills/xcode-compilation-analyzer/ /skills/xcode-project-analyzer/ /skills/spm-build-analysis/ /skills/xcode-build-fixer/ /skills/xcode-build-orchestrator/
git -C "$tmp" checkout 6bd7b596cd688b1127ded00e812b1b6937ec35d6
mkdir -p .roo/skills
cp -R "$tmp/skills/xcode-build-benchmark" .roo/skills/xcode-build-benchmark
cp -R "$tmp/skills/xcode-compilation-analyzer" .roo/skills/xcode-compilation-analyzer
cp -R "$tmp/skills/xcode-project-analyzer" .roo/skills/xcode-project-analyzer
cp -R "$tmp/skills/spm-build-analysis" .roo/skills/spm-build-analysis
cp -R "$tmp/skills/xcode-build-fixer" .roo/skills/xcode-build-fixer
cp -R "$tmp/skills/xcode-build-orchestrator" .roo/skills/xcode-build-orchestratorCommands for macOS and Linux, on Windows run them in Git Bash.
A fork of Roo Code, same .roo folders.
Run in a terminal in the project folder
npx skills add avdlee/xcode-build-optimization-agent-skill --skill xcode-build-benchmark xcode-compilation-analyzer xcode-project-analyzer spm-build-analysis xcode-build-fixer xcode-build-orchestrator -a opencode -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit 6bd7b59
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/avdlee/xcode-build-optimization-agent-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/xcode-build-benchmark/ /skills/xcode-compilation-analyzer/ /skills/xcode-project-analyzer/ /skills/spm-build-analysis/ /skills/xcode-build-fixer/ /skills/xcode-build-orchestrator/
git -C "$tmp" checkout 6bd7b596cd688b1127ded00e812b1b6937ec35d6
mkdir -p .agents/skills
cp -R "$tmp/skills/xcode-build-benchmark" .agents/skills/xcode-build-benchmark
cp -R "$tmp/skills/xcode-compilation-analyzer" .agents/skills/xcode-compilation-analyzer
cp -R "$tmp/skills/xcode-project-analyzer" .agents/skills/xcode-project-analyzer
cp -R "$tmp/skills/spm-build-analysis" .agents/skills/spm-build-analysis
cp -R "$tmp/skills/xcode-build-fixer" .agents/skills/xcode-build-fixer
cp -R "$tmp/skills/xcode-build-orchestrator" .agents/skills/xcode-build-orchestratorCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/avdlee/xcode-build-optimization-agent-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/xcode-build-benchmark/ /skills/xcode-compilation-analyzer/ /skills/xcode-project-analyzer/ /skills/spm-build-analysis/ /skills/xcode-build-fixer/ /skills/xcode-build-orchestrator/
git -C "$tmp" checkout 6bd7b596cd688b1127ded00e812b1b6937ec35d6
mkdir -p .agents/skills
cp -R "$tmp/skills/xcode-build-benchmark" .agents/skills/xcode-build-benchmark
cp -R "$tmp/skills/xcode-compilation-analyzer" .agents/skills/xcode-compilation-analyzer
cp -R "$tmp/skills/xcode-project-analyzer" .agents/skills/xcode-project-analyzer
cp -R "$tmp/skills/spm-build-analysis" .agents/skills/spm-build-analysis
cp -R "$tmp/skills/xcode-build-fixer" .agents/skills/xcode-build-fixer
cp -R "$tmp/skills/xcode-build-orchestrator" .agents/skills/xcode-build-orchestratorCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/avdlee/xcode-build-optimization-agent-skill.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/xcode-build-benchmark/ /skills/xcode-compilation-analyzer/ /skills/xcode-project-analyzer/ /skills/spm-build-analysis/ /skills/xcode-build-fixer/ /skills/xcode-build-orchestrator/
git -C "$tmp" checkout 6bd7b596cd688b1127ded00e812b1b6937ec35d6
mkdir -p .agents/skills
cp -R "$tmp/skills/xcode-build-benchmark" .agents/skills/xcode-build-benchmark
cp -R "$tmp/skills/xcode-compilation-analyzer" .agents/skills/xcode-compilation-analyzer
cp -R "$tmp/skills/xcode-project-analyzer" .agents/skills/xcode-project-analyzer
cp -R "$tmp/skills/spm-build-analysis" .agents/skills/spm-build-analysis
cp -R "$tmp/skills/xcode-build-fixer" .agents/skills/xcode-build-fixer
cp -R "$tmp/skills/xcode-build-orchestrator" .agents/skills/xcode-build-orchestratorCommands for macOS and Linux, on Windows run them in Git Bash.
Install the skill: npx skills add https://github.com/avdlee/xcode-build-optimization-agent-skill, or in Claude Code /plugin marketplace add AvdLee/Xcode-Build-Optimization-Agent-Skill and /plugin install xcode-build-skills@xcode-build-skills.
Other ways from the author
npx skills add https://github.com/avdlee/xcode-build-optimization-agent-skillUniversal install via the skills installer.
This is third-party code. Review the repository files before installing.
What it does
The skill helps the agent understand why an Xcode project builds slowly and what to change. It runs benchmarks of clean and incremental builds, analyzes the results and suggests changes to settings and project structure. A separate project analyzer inspects the current configuration. The skill installs as a Claude Code plugin, via the skills installer, or by copying folders for Codex.
Who it is for. For iOS and macOS developers who want to cut Xcode build time.
Good fit when
- Your Xcode project build has become slow and gets in the way
- You need to benchmark and compare clean and incremental build time
- You need to see which project settings slow the build
Not a fit when
- The project is not on Xcode or the Apple stack
- You need app logic changes rather than build optimization
Example request
Benchmark my Xcode project build time and suggest how to cut itLimitations
The skill targets Xcode projects and needs a local Apple build environment. Benchmarks take time and depend on hardware, and some recommendations need verification on the specific project. Cursor installation is listed as coming soon.
How to disable. Uninstall via /plugin or remove the skill folders from the agent's skills directory.
Security check
- The skill runs builds and reads project files
- It changes build settings, which need review
README in short
The README introduces a set of agent skills for Xcode build optimization: clean and incremental build benchmarks, settings tuning and project structure analysis. The skill installs via the skills installer, as a Claude Code plugin, or by copying folders into the Codex skills directory. A separate project analyzer is available. Authored by Antoine van der Lee of RocketSim, MIT licensed.
FAQ
What exactly does the skill measure?
Clean and incremental build times, to find bottlenecks and compare the effect of settings changes.
Can I install only the project analyzer?
Yes, the skills installer lets you add the separate xcode-project-analyzer skill.
Related
A skills library that gives coding agents a development process: brainstorming, planning, TDD, subagents and code review
Skills for real engineers by Matt Pocock
Skills For Real Engineers
Small composable skills for engineering with agents: plan grilling, TDD, bug diagnosis, code review and architecture
GitHub toolkit for spec-driven development: the specify CLI adds agent commands and skills to a project, from principles to implementation
Reference MCP servers
Model Context Protocol servers
Official reference MCP servers: Filesystem, Fetch, Git, Memory, Sequential Thinking, Time and Everything