axiom-run-tests

axiom-run-tests is a skill for Codex from CharlesWiltgen/Axiom. It costs 30 tokens per session (3,383 once invoked), scanned C, original, MIT.

A test-running guide for XCUITest, Apple's framework for testing app interfaces. It uses Xcode tools to discover test targets, run tests, inspect failures, and export attached screenshots or videos.

In plain words
What is it for?
Use it to run XCUITests, investigate failed interface tests, and retrieve screenshots or videos attached to test results.
Why use it?
It removes the manual work of finding the right scheme, checking the simulator, and digging through test result bundles after a failure.

Skill for Codex

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

Good fit Use it to run XCUITests, investigate failed interface tests, and retrieve screenshots or videos attached to test results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/charleswiltgen/axiom/axiom-run-tests
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-run-tests
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-run-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/charleswiltgen/axiom/axiom-run-tests/github.svg)](https://agentmods.dev/skills/charleswiltgen/axiom/axiom-run-tests)
Your own site
<a href="https://agentmods.dev/skills/charleswiltgen/axiom/axiom-run-tests"><img src="https://agentmods.dev/badge/skills/charleswiltgen/axiom/axiom-run-tests/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-run-tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/charleswiltgen/axiom/axiom-run-tests"><img src="https://agentmods.dev/badge/skills/charleswiltgen/axiom/axiom-run-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,383 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00030 $0.03383
Opus 5.5 $0.00012 $0.01353
Sonnet 5.5 $0.00006 $0.00677
Haiku 4.5 $0.00003 $0.00338

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

Security

Grade C, and why

axiom-run-tests scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

Before deleting `.xcresult` test results with `rm -rf`, warn: "About to delete test results". These are explicit agent instructions, not automated permission checks.
axiom-codex/skills/axiom-run-tests/SKILL.md · 379 lines

How it starts

The opening of the file, as written. The whole thing — 379 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.

Test Runner Agent

You are an expert at running XCUITests and analyzing test results using xcodebuild and xcresulttool.

Before State-Changing Actions

Before deleting .xcresult test results with rm -rf, warn: "About to delete test results". These are explicit agent instructions, not automated permission checks.

Capture Build and Test Diagnostics

Before the next necessary build or test, resolve tools/axbuild under the actual loaded package in Claude Code (command -v axbuild; if that finds nothing, tools/axbuild two levels above the Base directory for this skill: path of a loaded Axiom skill) or Codex (<plugin-root>/tools/), or discover an executable on PATH in Pi. Check executable permission and run its absolute path with --help; assign that observed path to AXBUILD. Never infer an installation path from an example.

Cursor and MCP distributions do not bundle axbuild and expose no axbuild MCP wrapper. Use the saved-log fallback below when a verified shell helper is unavailable.

Before every Xcode invocation, run pgrep -lx xcodebuild; echo "pgrep exit=$?": exit 1 means none are running, 0 lists them, and any other exit means the inventory failed. Investigate existing builds; process count and age do not establish zombie status. Never terminate unrelated processes. When interrupted or timed out, axbuild also stops build scripts and other processes descended from its build that Xcode moved into separate process groups, found by parentage when cleanup begins and on each cleanup pass. It reports cleanup-incomplete for any such descendant it could not stop or verify (another user's, unreadable, or being debugged). Jobs that had already left the build's process tree, such as daemons or launchd-started tools, are neither stopped nor reported. Inspect ownership before stopping anything it lists. Discover the actual scheme and destination before executing:

Read the full file on GitHub · 379 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 scan A → C e9d9c1e3707c
  2. 1mo ago Changed 22fb4dbdd066
  3. 1mo ago Changed · +9 lines ca0a40879471
  4. 2mo ago Changed · +24 lines fe20c931f6c5
  5. 2mo ago Changed · +30 lines 9f6e67777afa
  6. 2mo ago First seen · 312 lines · 30 tokens per session scan A e727bd80eddb

Subscribe to this mod's changes

axiom-run-tests is a skill published in the GitHub repository CharlesWiltgen/Axiom (1,280 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 3,383 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.

Related

axiom-run-tests compared with skills from other repositories

axiom-run-tests next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
axiom-run-testsCharlesWiltgen/AxiomSkill1.3kyesterdayMITC30Codex
android-ui-journey-testingsickn33/agentic-awesome-skillsSkill51ktodayMITA27Claude Code
android_ui_verificationsickn33/agentic-awesome-skillsSkill51ktodayMITA22Claude Code
solopi-aialipay/SoloPiSkill6.8kyesterdayApache-2.0A82Codex
public-transitchromium/chromiumSkill26ktodayBSD-3-ClauseA53Claude Code, Codex
eas-simulatorexpo/skillsSkill4.3ktodayMITA251Claude Code, Codex
dogfoodcallstack/agent-deviceSkill5.6ktodayMITA55Claude Code