axiom-optimize-build

axiom-optimize-build is a skill for Codex from CharlesWiltgen/Axiom. It costs 22 tokens per session (2,388 once invoked), scanned A, original, MIT.

A guide for finding and fixing slow Xcode builds, where Xcode is Apple's tool for building Apple-platform apps.

In plain words
What is it for?
It checks debug and release build settings, compilation modes, architecture choices, optimization levels, and other build-performance issues.
Why use it?
It helps identify build settings, scripts, compiler checks, or flags that make code take too long to compile.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Claude Code; mentions Codex.

Good fit It checks debug and release build settings, compilation modes, architecture choices, optimization levels, and other build-performance issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/charleswiltgen/axiom/axiom-optimize-build
About the project

Axiom is a toolkit of instructions, agents, commands, and development tools that give coding assistants specialized guidance for Apple operating-system development. It covers Swift, SwiftUI, interface design, data, concurrency, performance, networking, accessibility, logging, crash analysis, simulator testing, and profiling for iOS, iPadOS, watchOS, and tvOS. The catalogue contains 42 agents, 16 commands, and one plugin from this toolkit.

CharlesWiltgen/Axiom · 1,280 stars · on GitHub · charleswiltgen.github.io

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 CharlesWiltgen/Axiom --skill axiom-optimize-build
Clone the repo
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom

Made for: Codex.

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 axiom-optimize-build

README.md
[![agentmods](https://agentmods.dev/badge/skills/charleswiltgen/axiom/axiom-optimize-build/github.svg)](https://agentmods.dev/skills/charleswiltgen/axiom/axiom-optimize-build)
Your own site
<a href="https://agentmods.dev/skills/charleswiltgen/axiom/axiom-optimize-build"><img src="https://agentmods.dev/badge/skills/charleswiltgen/axiom/axiom-optimize-build/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for axiom-optimize-build

Your own site · 80×15
<a href="https://agentmods.dev/skills/charleswiltgen/axiom/axiom-optimize-build"><img src="https://agentmods.dev/badge/skills/charleswiltgen/axiom/axiom-optimize-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,388 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.00022 $0.02388
Opus 5.5 $0.00009 $0.00955
Sonnet 5.5 $0.00004 $0.00478
Haiku 4.5 $0.00002 $0.00239

Measured 1mo ago against content hash b93c4a0f5327, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

axiom-optimize-build 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 1mo 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.

axiom-codex/skills/axiom-optimize-build/SKILL.md · 222 lines

How it starts

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

Note: This audit may use Bash commands to run builds, tests, or CLI tools.

Build Optimizer Agent

You are an expert at identifying and fixing Xcode build performance bottlenecks. Your mission is to scan the project and find quick wins that can reduce build times by 30-50%.

Before State-Changing Actions

Before recommending edits to a .pbxproj or .xcproj file, warn: "Modifying Xcode project file. Ensure backup exists". This agent analyzes and recommends changes; apply them only through a separately authorized editing workflow. These are explicit agent instructions, not automated permission checks.

Your Mission

Scan the Xcode project and identify optimization opportunities in these categories:

  1. Build Settings (HIGH IMPACT)
  2. Build Phase Scripts (MEDIUM-HIGH IMPACT)
  3. Type Checking Performance (MEDIUM IMPACT)
  4. Compiler Flags (LOW-MEDIUM IMPACT)

What You Check

1. Build Settings (HIGH IMPACT)

Check Debug configuration:

Follow axiom-build (skills/build-performance.md), "Project selection and effective settings": discover both inner filenames at any depth, select the project/target/configuration/SDK explicitly, and distinguish declarations from a fresh Xcode effective-settings capture. Check command -v xcproject. If that finds nothing, use <plugin-root>/tools/xcproject wherever this file says xcproject: on Claude Code, <plugin-root> is two levels above the Base directory for this skill: path of your preloaded Axiom skill; on Codex, it is the plugin root named in Axiom's startup context. Failing that, use npx -y -p axiom-mcp xcproject wherever this file says xcproject. xcproject inspect is read-only; an Xcode query needs authorized scope because it can resolve packages or write state. If no effective capture is permitted, label values declared/unverified. Never report the first grep hit as the selected Debug setting.

Scan for these settings in Debug configuration:

  • SWIFT_COMPILATION_MODE should be singlefile (incremental)
  • ONLY_ACTIVE_ARCH should be YES (debug only)
  • DEBUG_INFORMATION_FORMAT should be dwarf (not dwarf-with-dsym)
  • SWIFT_OPTIMIZATION_LEVEL should be -Onone

Read the full file on GitHub · 222 lines

Files

What ships with it

1 file 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. 1mo ago Changed · +4 lines b93c4a0f5327
  2. 1mo ago Changed 19c2061bbe6d
  3. 1mo ago Changed · +1 lines 9ab66a0afbc4
  4. 2mo ago Changed · -3 lines fda7d27c4f33
  5. 2mo ago Changed · +20 lines 11131303ad40
  6. 2mo ago First seen · 200 lines · 22 tokens per session scan A 45b962c44d5e

Subscribe to this mod's changes

axiom-optimize-build is a skill published in the GitHub repository CharlesWiltgen/Axiom (1,280 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 2,388 once invoked, about $0.0001 per session on Opus 5.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-06.

Related

axiom-optimize-build compared with skills from other repositories

axiom-optimize-build next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
axiom-optimize-buildCharlesWiltgen/AxiomSkill1.3kyesterdayMITA22Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill343todayApache-2.0A112Claude Code
performance-verificationvalkor-ai/loomSkill1.6k2d agoApache-2.0A45Claude Code, Codex
ci-fixersipyourdrink-ltd/bernsteinSkill1.2kyesterdayApache-2.0A15Claude Code, Codex