Skip to content
Skill

Axiom debug tests

Runs failing Xcode UI tests, analyzes failures from screenshots and logs, and re-verifies

Axiom debug tests is an open-source agent skill for developer tools. It is available on Claude Code.

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

Similar skills

About Axiom debug tests

This agent guides a closed loop for debugging Xcode UI tests on an iOS simulator. It runs the failing tests into a fresh result bundle, exports failure attachments, console logs and test results, and checks for crash reports that can be symbolicated before deciding on a fix.

Failures are sorted into known patterns such as missing elements, timeouts, non-hittable elements and state mismatches. For missing elements the agent checks the screenshot and app source first, so it reports genuine app gaps rather than rewriting correct test queries. Proposed edits are shown to the user for confirmation, applied one at a time, and each is verified by re-running only the affected test, with a cap of three iterations before escalating.

The workflow expects an Xcode project with a UI test scheme, a booted iOS simulator, and the xcodebuild, xcrun and jq command line tools. It refers to companion skills and agents for testing, concurrency, build fixing and simulator work.

When your agent uses it

Use this agent for closed-loop test debugging - automatically analyzes test failures, suggests fixes, and re-runs tests until passing.

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

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

Claude Code docs on skills

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

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

Codex docs on skills

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

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

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

Gemini CLI docs on skills

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

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

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

The SKILL.md format

What it does

Closed-loop test reruns
Runs the failing test, applies a confirmed fix, and re-runs it until it passes or the iteration limit is reached.
Failure evidence capture
Exports screenshots, console logs and detailed test results from the Xcode result bundle.
Crash artifact triage
Looks for recent crash reports and maps symbolicated crash patterns to likely fixes.
Element query diagnosis
Separates test query mistakes from app bugs by checking whether the element appears on screen and in source.
Confirmed edits only
Shows each proposed code change to the user and waits for approval before editing files.

Good for

  • Fix a LoginTests suite that fails because a button cannot be found
  • Debug a UI test that keeps timing out during checkout
  • Stabilize flaky UI tests by adding explicit waits
  • Find out whether a failing UI test points to a missing element in the app

Axiom debug tests FAQ

What does Axiom debug tests need to run?

It uses xcodebuild, xcrun xcresulttool, jq and an booted iOS simulator, and it expects an Xcode UI test scheme to run against.

Does Axiom debug tests change my code automatically?

No. It proposes each change and asks for confirmation before editing, then re-runs the test to verify the fix.

What happens if a fix does not make the test pass?

It loops back for another attempt, but after three failed iterations it stops and escalates to the user.

How do I install Axiom debug tests in Claude Code?

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

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

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Axiom debug tests?

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

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