
Axiom optimize build
Finds Xcode build bottlenecks and recommends settings and script fixes to speed up builds
Axiom optimize build is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 1.3K
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Axiom optimize build
This skill acts as a build performance auditor for Xcode projects. It scans build settings for Debug and Release configurations, checks whether compilation mode, optimization level, debug symbol format and link-time optimization are set sensibly, and reviews build phase scripts for expensive steps that run in every configuration.
The workflow also covers Swift type-checking cost, suggesting temporary compiler flags that report slow function bodies and expressions, and points out Swift package prebuilt plugins that can invalidate caches. It includes a guide to reading Xcode's build timeline and a check of available CPU cores for parallelism. Findings are grouped by impact with current values, fixes and verification commands.
It expects an Xcode workspace or project and relies on the Axiom xcproject helper for reading settings, with an npx fallback. The skill treats any change to project files as something to recommend rather than apply on its own, and it asks for a backup before any project file is edited.
When your agent uses it
Use when the user mentions slow builds, build performance, or build time optimization.
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 2 files (10 KB) on GitHub on 2 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
Copy the skill folder to ~/.claude/skills/axiom-optimize-build to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/axiom-optimize-build &&
cp -R "$tmp/axiom-codex/skills/axiom-optimize-build" ~/.claude/skills/axiom-optimize-build &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/axiom-optimize-build inside it instead.
Copy the skill folder to ~/.agents/skills/axiom-optimize-build to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/axiom-optimize-build &&
cp -R "$tmp/axiom-codex/skills/axiom-optimize-build" ~/.agents/skills/axiom-optimize-build &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/axiom-optimize-build inside it instead.
Copy the skill folder to ~/.cursor/skills/axiom-optimize-build to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/axiom-optimize-build &&
cp -R "$tmp/axiom-codex/skills/axiom-optimize-build" ~/.cursor/skills/axiom-optimize-build &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/axiom-optimize-build inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/CharlesWiltgen/Axiom.git --path axiom-codex/skills/axiom-optimize-buildOr copy the folder to ~/.gemini/skills/axiom-optimize-build yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/axiom-optimize-build:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/axiom-optimize-build &&
cp -R "$tmp/axiom-codex/skills/axiom-optimize-build" ~/.copilot/skills/axiom-optimize-build &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/axiom-optimize-build inside it instead.
Get the folder:
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.gitThen copy Axiom/axiom-codex/skills/axiom-optimize-build into your agent's skills folder as axiom-optimize-build. Agents that support SKILL.md read one folder per skill.
What it does
- Build settings review
- Compares Debug and Release compilation mode, optimization level, architecture and debug format settings against recommended values.
- Build phase script audit
- Flags expensive scripts such as symbol uploads and signing that run in every configuration when they could be conditional.
- Type checking diagnostics
- Suggests compiler flags that report slow Swift function bodies and expressions, and how to read the resulting timing output.
- Package plugin check
- Looks for Swift package prebuilt plugins that can cause cache invalidation on every build.
- Build timeline guidance
- Explains how to read Xcode's build timeline to find long tasks and sequential work that could run in parallel.
Good for
- Why are my Xcode builds so slow and how do I fix them?
- Check my Debug and Release build settings for performance problems
- Find which Swift files take the longest to type-check
- Review my build phase scripts for steps that slow down every build
- Audit whether my Swift package plugins are invalidating the build cache
Axiom optimize build FAQ
What does Axiom optimize build need to run?
It targets Xcode projects and workspaces and uses the Axiom xcproject helper to read settings, with an npx fallback. Some checks need an authorized Xcode capture to confirm effective values.
Does Axiom optimize build change my project files automatically?
No. It analyzes and recommends changes, and it warns to confirm a backup exists before any edit to a project file.
When does Axiom optimize build trigger?
It is meant for requests that mention slow builds, build performance or build time optimization.
How do I install Axiom optimize build in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/axiom-optimize-build to use it in all your projects, or to .claude/skills/axiom-optimize-build in one project.
Does Axiom optimize build 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 Axiom optimize build?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Axiom optimize build?
The closest alternatives to Axiom optimize build are Axiom fix build, Axiom health check, Axiom build, Axiom analyze swift performance and Axiom audit testing.
Where this comes from
- Description: from the skill's own SKILL.md.
More from CharlesWiltgen/Axiom

Finds the code patterns behind flaky Swift Testing failures and explains each root cause
- Open source
- 1.3K GitHub stars
- Developer tools

Audits Swift test suites for flaky patterns, slow setups and Swift Testing migration gaps
- Open source
- 1.3K GitHub stars
- Developer tools

Drives iOS Simulator tests: UI input, screenshots, location, push and accessibility checks
- Open source
- 1.3K GitHub stars
- Developer tools

Guides an agent through Swift unit, UI and async tests, flaky-test fixes and test speed
- Open source
- 1.3K GitHub stars
- Developer tools

Interprets iOS and macOS crash logs and points the agent to the likely fix
- Open source
- 1.3K GitHub stars
- Developer tools

Audits Swift code for ARC, copy, generic and actor performance overhead
- Open source
- 1.3K GitHub stars
- Developer tools

