Skip to content
Skill

Axiom profile performance

Headless Instruments profiling of running iOS and macOS apps with honest, structured

Axiom profile performance is an open-source agent skill for developer tools. It is available on Claude Code and Codex.

Scripts
None
Platforms
Claude Code, Codex
GitHub stars
1.3K
Last commit
License
MIT
Listing updated

Similar skills

About Axiom profile performance

This skill has the agent record performance traces from a running app or simulator through the xcprof command-line tool, then analyze them and write a report. Recordings are bounded by a time limit and use presets for CPU, memory, network, energy, SwiftUI, and concurrency, or explicit instrument lists. The agent reads structured JSON from the analysis rather than grepping exported XML, and it reports which instrument families were actually measured so unmeasured areas are not presented as clean.

The workflow starts by checking that xcprof and xctrace are available, finding a booted simulator and running app, and choosing a recording mode. Launching an arbitrary program or capturing system-wide activity requires explicit user consent. The report covers the recording details, a support matrix, top user-code frames, measured hangs, and recommended next steps. Comparing a before and after trace is also supported through an xcprof compare command.

The skill expects Xcode command-line tools on a Mac, with xctrace available. It targets Apple platform apps and produces traces that can be opened in Instruments for views the CLI does not parse.

When your agent uses it

Use when the user wants automated performance profiling, headless Instruments analysis, or CLI-based trace collection.

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 (13 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-profile-performance 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-profile-performance &&
cp -R "$tmp/axiom-codex/skills/axiom-profile-performance" ~/.claude/skills/axiom-profile-performance &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/axiom-profile-performance inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/axiom-profile-performance 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-profile-performance &&
cp -R "$tmp/axiom-codex/skills/axiom-profile-performance" ~/.agents/skills/axiom-profile-performance &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/axiom-profile-performance inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/axiom-profile-performance 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-profile-performance &&
cp -R "$tmp/axiom-codex/skills/axiom-profile-performance" ~/.cursor/skills/axiom-profile-performance &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/axiom-profile-performance 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/CharlesWiltgen/Axiom.git --path axiom-codex/skills/axiom-profile-performance

Or copy the folder to ~/.gemini/skills/axiom-profile-performance yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/axiom-profile-performance:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/axiom-profile-performance &&
cp -R "$tmp/axiom-codex/skills/axiom-profile-performance" ~/.copilot/skills/axiom-profile-performance &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/axiom-profile-performance inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git

Then copy Axiom/axiom-codex/skills/axiom-profile-performance into your agent's skills folder as axiom-profile-performance. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Headless trace recording
Records bounded Instruments traces from an attached app, simulator or device using xcprof presets or explicit instruments.
Support matrix checks
Reports per instrument family whether results were measured, partial, not exportable or absent.
User-code frame attribution
Lists hot frames from app code first, with inclusive and self time percentages.
Hang analysis
Summarizes measured hangs with counts, severity and the longest events when the Hangs instrument was recorded.
Before and after comparison
Diffs two traces recorded under the same workload to flag function-level regressions.
Consent-gated capture
Requires explicit user approval before launching programs or recording all processes.

Good for

  • Profile my app's CPU usage without opening Instruments
  • Check my app for memory leaks from the command line
  • Find which functions in my code take the most time
  • Investigate UI hangs and their start times in a trace
  • Compare a performance trace before and after a code change

Axiom profile performance FAQ

What does Axiom profile performance need installed?

It needs xcprof available, with xcrun xctrace present; xcprof doctor checks this and exits 2 if xctrace is missing, in which case Xcode command-line tools need installing.

Does Axiom profile performance record other apps or launch programs on its own?

No. Launching a program or recording all processes requires explicit user consent first; otherwise it attaches to the running app.

What happens when an instrument family is not measured?

The report names it as not measured or not measurable headlessly and does not present the results as a complete clean bill of health.

Are recordings bounded?

Yes. Every capture has a time limit, with a default maximum of 60 seconds that should not be raised without a stated reason.

How do I install Axiom profile performance in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/axiom-profile-performance to use it in all your projects, or to .claude/skills/axiom-profile-performance in one project.

Does Axiom profile performance 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 profile performance?

Claude Code and Codex. 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 profile performance?

The closest alternatives to Axiom profile performance are Axiom performance, Performance, Axiom test simulator, Axiom analyze swift performance and Axiom run tests.

Where this comes from

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

More from CharlesWiltgen/Axiom

  1. Interprets iOS and macOS crash logs and points the agent to the likely fix

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

    • Open source
    • 1.3K GitHub stars
    • Developer tools
  3. Groups and ranks production crashes and hangs from Sentry or App Store Connect

    • Open source
    • 1.3K GitHub stars
    • Developer tools
  4. Scans Swift and SwiftUI/UIKit code for accessibility violations and WCAG gaps

    • Open source
    • 1.3K GitHub stars
    • Developer tools