# Axiom profile performance

> Axiom profile performance is an open-source agent skill for developer tools. Headless Instruments profiling of running iOS and macOS apps with honest, structured. It is available on Claude Code and Codex.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex
- **Website:** https://github.com/CharlesWiltgen/Axiom/tree/main/axiom-codex/skills/axiom-profile-performance
- **Repository:** https://github.com/charleswiltgen/axiom
- **GitHub stars:** 1,278
- **License:** MIT
- **Skill name:** axiom-profile-performance
- **Collection:** https://github.com/CharlesWiltgen/Axiom
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/CharlesWiltgen/Axiom/tree/HEAD/axiom-codex/skills/axiom-profile-performance)
- [License: MIT](https://github.com/CharlesWiltgen/Axiom/tree/HEAD/axiom-codex/skills/axiom-profile-performance)

## Features

- **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

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/axiom-profile-performance` to use it in all your projects:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/axiom-profile-performance` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/axiom-profile-performance` to use it in every project:

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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, Axiom test simulator, Performance, Axiom analyze swift performance and Axiom run tests.

## Where this comes from

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

## Alternatives

- [Axiom performance](https://ai-powered.com/skills/axiom-performance-charleswiltgen-2): Axiom performance is an open-source agent skill for developer tools.
- [Axiom test simulator](https://ai-powered.com/skills/axiom-test-simulator): Axiom test simulator is an open-source agent skill for developer tools.
- [Performance](https://ai-powered.com/skills/performance-daveebbelaar): Performance is an open-source agent skill for developer tools.
- [Axiom analyze swift performance](https://ai-powered.com/skills/axiom-analyze-swift-performance): Axiom analyze swift performance is an open-source agent skill for developer tools.
- [Axiom run tests](https://ai-powered.com/skills/axiom-run-tests): Axiom run tests is an open-source agent skill for developer tools.
- [Axiom analyze swiftui performance](https://ai-powered.com/skills/axiom-analyze-swiftui-performance): Axiom analyze swiftui performance is an open-source agent skill for developer tools.
- [Axiom analyze test failures](https://ai-powered.com/skills/axiom-analyze-test-failures): Axiom analyze test failures is an open-source agent skill for developer tools.
- [Axiom analyze crash](https://ai-powered.com/skills/axiom-analyze-crash): Axiom analyze crash is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/axiom-profile-performance
