Skip to content
Development
Command

/axiom-screenshot

Capture screenshot from booted iOS Simulator

From plugin
axiom
1.2k17 skills42 agents17 commands1 MCP
Install
> /plugin marketplace add charleswiltgen/axiom
> /plugin install axiom@axiom-marketplace

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/axiom-screenshot

Context preview

What this command does when you run it.

Capture screenshot from booted iOS Simulator

Command definition

axiom-screenshot.md
name: axiom-screenshot
description: "Capture screenshot from booted iOS Simulator"

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"
Read more
Ships withaxiom

Battle-tested skills, agents, and tools for modern Apple OS development — Swift 6, SwiftUI, Liquid Glass, Apple Intelligence, and more. Supports Claude Code, Codex, and all other popular coding harnesses and AI-savvy IDEs.

Get the whole plugin

Other commands on axiom.