axiom-ui

axiom-ui is a command for Claude Code, Cursor from CharlesWiltgen/Axiom. It costs 18 tokens per session (360 once invoked), scanned A, original, MIT.

A simulator UI command that uses an externally installed xcui tool, or limited AXe commands when xcui is unavailable. These tools automate taps, typing, gestures, screenshots, and related iOS Simulator actions.

In plain words
What is it for?
Use it to drive compatible simulator interactions, run the external tool's checks, and receive setup guidance when xcui or AXe is not installed.
Why use it?
The add-on does not include the UI automation tools it relies on, so it checks what is installed instead of pretending it can perform unsupported actions. It stops when a requested capability needs xcui but xcui is missing.

Command for Claude CodeCursor

Written for Cursor and Claude Code: shipped in a Cursor plugin, but also a Claude Code command (commands/*.md).

Part of the axiom plugin — 17 commands shipped together

Good fit Use it to drive compatible simulator interactions, run the external tool's checks, and receive setup guidance when xcui or AXe is not installed.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/charleswiltgen/axiom/axiom-ui
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,151 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.

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

Made for: Claude Code, Cursor.

Or install axiom, the plugin that ships this one along with the rest of its 17 commands.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/charleswiltgen/axiom/axiom-ui"><img src="https://agentmods.dev/badge/commands/charleswiltgen/axiom/axiom-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 360 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00018 $0.00360
Opus 5 $0.00009 $0.00180
Sonnet 5 $0.00004 $0.00072
Haiku 4.5 $0.00002 $0.00036

Measured 4d ago against content hash 4b524a67ca5d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

axiom-ui scanned grade A with 0 findings 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

axiom-cursor/commands/axiom-ui.md · 16 lines

What it actually says

Drive and Validate Simulator UI

xcui is not bundled with the Cursor plugin and has no Axiom MCP wrapper.

  1. Before UI automation, check command -v xcui. If present, run xcui doctor and follow its external installation's documented workflow.
  2. If xcui is absent, AXe may be used only for compatible pass-through verbs: tap, slider, type, swipe, drag, touch, gesture, button, key, key-sequence, key-combo, and screenshot. Check command -v axe before using one of those verbs, use that verb's documented AXe arguments, and handle DEVELOPER_DIR explicitly if AXe reports a SimulatorKit loading error; wrapper-only device auto-resolution is unavailable.
  3. The wait, assert, a11y, dialog, voiceover, and resize capabilities require external xcui. If xcui is unavailable for one of these capabilities, stop that UI step and report that external xcui is required; do not substitute AXe or timing guesses.
  4. If neither tool is available, stop UI automation and give the user setup guidance for an external xcui or AXe installation. Do not claim the Cursor plugin installed either tool.
  5. When UI automation is unavailable, continue with non-UI simulator and log checks that still answer the request, and label that result as degraded coverage.
  6. Treat simulator erase, delete, shutdown, and boot operations as state-changing actions and preserve the user's authorization boundary.
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. 4d ago First seen · 16 lines · 18 tokens per session scan A 4b524a67ca5d

Subscribe to this mod's changes

axiom-ui is a command published in the GitHub repository CharlesWiltgen/Axiom (1,151 stars, last pushed yesterday), licensed MIT. It adds 18 tokens to every session and 360 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.