Skip to content
Skill

Axiom run tests

Runs Xcode UI tests and analyzes xcresult bundles for failures and attachments

Axiom run tests 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 run tests

This skill guides an agent through running XCUITests with xcodebuild, using a fresh result bundle for each run so earlier results are preserved. It first checks the project for schemes and targets, looks for a booted iOS simulator, and inspects any running xcodebuild processes before starting a build.

Once a run finishes, the agent reads the outcome through xcresulttool: a pass/fail summary, per-test details and console logs. It can export failure screenshots and videos, or all attachments, and pull code coverage data. It also works through common UI test failure patterns such as missing elements, timeouts and state mismatches, and reports results with suggested fixes and rerun commands.

The skill expects a macOS machine with Xcode, command-line tools, jq and an Xcode project or workspace with a UI test target. The optional axbuild wrapper is used when available, with a saved-log fallback otherwise.

When your agent uses it

Use when the user wants to run XCUITests, parse test results, view test failures, or export test attachments.

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

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

Claude Code docs on skills

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

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

Codex docs on skills

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

For one project only, put the folder in .cursor/skills/axiom-run-tests 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-run-tests

Or copy the folder to ~/.gemini/skills/axiom-run-tests yourself.

Gemini CLI docs on skills

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

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

For one project only, put the folder in .github/skills/axiom-run-tests 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-run-tests into your agent's skills folder as axiom-run-tests. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Scheme and target discovery
Lists the project's schemes and test targets and checks simulator availability before running tests.
Scoped test execution
Runs a whole test target, a single test class or method, or skips selected tests using xcodebuild.
Result bundle parsing
Reads pass and fail counts, per-test status and details from xcresult bundles with xcresulttool.
Failure attachment export
Exports screenshots and videos from failed tests, or all attachments, with a manifest listing them.
Code coverage export
Exports coverage data from a result bundle to a chosen output directory.
Failure pattern analysis
Categorizes common UI test failures such as missing elements, timeouts and state mismatches with suggested fixes.

Good for

  • Run my UI tests and tell me which ones failed
  • Run only the LoginTests class on the booted simulator
  • Export the failure screenshots from my last test run
  • Show the console log from a failed XCUITest
  • Export code coverage from the latest test results

Axiom run tests FAQ

What does Axiom run tests need to run?

It needs Xcode with xcrun, xcodebuild and xcresulttool, jq, an Xcode project or workspace with a UI test target, and a booted iOS simulator. It also works with the optional axbuild wrapper or a saved-log fallback.

Does Axiom run tests delete test results?

It asks the agent to warn before deleting .xcresult bundles with rm -rf, and the guidelines say not to delete them without user permission.

Does Axiom run tests rerun builds automatically?

No. The wrapper never rebuilds automatically, and the instructions tell the agent to read an existing log before considering another build.

How do I install Axiom run tests in Claude Code?

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

Does Axiom run tests 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 run tests?

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 run tests?

The closest alternatives to Axiom run tests are Axiom debug tests, Axiom testing, Axiom analyze test failures, Axiom test simulator and Axiom build.

Where this comes from

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

More from CharlesWiltgen/Axiom

  1. Finds the code patterns behind flaky Swift Testing failures and explains each root cause

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

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

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

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

    • Open source
    • 1.3K GitHub stars
    • Developer tools