axiom-screenshot

axiom-screenshot is a command for Claude Code, Cursor from CharlesWiltgen/Axiom. It costs 13 tokens per session (495 once invoked), scanned A, a copy of screenshot, MIT.

A command that captures and displays a screenshot from a running iOS Simulator. The Simulator is a computer-based iPhone or iPad environment for checking an app without a physical device.

In plain words
What is it for?
Use it to check layout problems, verify a visual fix, or document the current app screen for analysis.
Why use it?
It makes it quick to inspect the current screen instead of describing or reproducing the visible state by hand. It can also start a simulator when none is running.

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 check layout problems, verify a visual fix, or document the current app screen for analysis.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/charleswiltgen/axiom/axiom-screenshot"><img src="https://agentmods.dev/badge/commands/charleswiltgen/axiom/axiom-screenshot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 495 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 94% copy Near-identical to another mod 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.00013 $0.00495
Opus 5 $0.00006 $0.00247
Sonnet 5 $0.00003 $0.00099
Haiku 4.5 $0.00001 $0.00049

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

Security

Grade A, and why

axiom-screenshot 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 5d 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.

Origin

This is a copy

94% identical to screenshot — 14 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

axiom-cursor/commands/axiom-screenshot.md · 76 lines

What it actually says

Capture Simulator Screenshot

Take a screenshot of the currently booted iOS Simulator and display it for analysis.

What This Does

  1. Checks if a simulator is booted
  2. Captures screenshot to timestamped file
  3. Displays the screenshot (Claude is multimodal!)
  4. Returns the file path for reference

Usage

Simply run this command and Claude will:

  • Execute: xcrun simctl io booted screenshot /tmp/axiom-screenshot-<timestamp>.png
  • Read and display the screenshot
  • Analyze what's visible in the screenshot

Prerequisites

  • An iOS Simulator must be booted
  • If no simulator is running, Claude will boot one first

Common Use Cases

Debug Visual Issues:

/axiom-screenshot

Then ask: "Does the login button look centered?"

Verify Fixes:

/axiom-screenshot

Then ask: "Is the text still clipped?"

Document Current State:

/axiom-screenshot

Claude will capture and describe the current UI state.

Physical devices & scriptable recording

This command shoots a simulator screenshot via simctl. To capture a physical device, or to record video with a clean auto-stop (no Ctrl+C), use the unified devicectl device capture path — one -d <udid> selector works for both sim and device (Xcode 26.6+):

xcrun devicectl device capture screenshot   -d <udid> --destination shot.png    # .png required
xcrun devicectl device capture screen-record -d <udid> --destination clip.mp4 --duration 5

See the axiom-tools device-control reference (Screen capture) for codecs, mask policy, and the simctl/axe fallbacks.

For More Control

For advanced simulator testing (location, push notifications, video recording, etc.), use:

/axiom-test-simulator

Or invoke the full simulator-tester agent with natural language:

  • "Test my app with location simulation"
  • "Send a test push notification"
  • "Record a video of the app"
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. 5d ago First seen · 76 lines · 13 tokens per session scan A fb7b79ebf6e3

Subscribe to this mod's changes

axiom-screenshot is a command published in the GitHub repository CharlesWiltgen/Axiom (1,155 stars, last pushed 2d ago), licensed MIT. It adds 13 tokens to every session and 495 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to screenshot, differing in 14 lines, and is treated as a copy.