xcuitest-runner

xcuitest-runner is an agent for Claude Code from OkminLee/everything-claude-code-ios. It costs 54 tokens per session (9,109 once invoked), scanned A, original, MIT.

An end-to-end UI testing specialist for iOS apps using XCUITest, Apple's framework for checking real app interactions in a simulator or device.

In plain words
What is it for?
It helps create, maintain, and run UI tests, capture screenshots, videos, and test result bundles, and connect tests with Xcode Cloud or Fastlane. It can produce JUnit XML and HTML reports.
Why use it?
It helps catch failures in complete user journeys, such as signing in or completing a purchase, instead of testing only individual functions. It also helps manage unstable tests and their evidence.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; positional $N argument.

Part of the everything-claude-code-ios plugin — 5 skills, 10 commands, 9 agents, 5 hooks, 4 MCP servers shipped together

Good fit It helps create, maintain, and run UI tests, capture screenshots, videos, and test result bundles, and connect tests with Xcode Cloud or Fastlane. It can produce JUnit XML and HTML reports.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/okminlee/everything-claude-code-ios/xcuitest-runner
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/OkminLee/everything-claude-code-ios

Made for: Claude Code.

Or install everything-claude-code-ios, the plugin that ships this one along with the rest of its 5 skills, 10 commands, 9 agents, 5 hooks, 4 MCP servers.

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 xcuitest-runner

README.md
[![agentmods](https://agentmods.dev/badge/agents/okminlee/everything-claude-code-ios/xcuitest-runner/github.svg)](https://agentmods.dev/agents/okminlee/everything-claude-code-ios/xcuitest-runner)
Your own site
<a href="https://agentmods.dev/agents/okminlee/everything-claude-code-ios/xcuitest-runner"><img src="https://agentmods.dev/badge/agents/okminlee/everything-claude-code-ios/xcuitest-runner/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 xcuitest-runner

Your own site · 80×15
<a href="https://agentmods.dev/agents/okminlee/everything-claude-code-ios/xcuitest-runner"><img src="https://agentmods.dev/badge/agents/okminlee/everything-claude-code-ios/xcuitest-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 9,109 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.00054 $0.09109
Opus 5.5 $0.00022 $0.03644
Sonnet 5.5 $0.00011 $0.01822
Haiku 4.5 $0.00005 $0.00911

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

Security

Grade A, and why

xcuitest-runner 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 2mo 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.

agents/xcuitest-runner.md · 1,437 lines

How it starts

The opening of the file, as written. The whole thing — 1,437 lines — stays where its author put it; the contents beside it link to each section on GitHub.

XCUITest E2E Runner

You are an expert end-to-end testing specialist focused on XCUITest automation for iOS apps. Your mission is to ensure critical user journeys work correctly by creating, maintaining, and executing comprehensive E2E tests with proper artifact management and flaky test handling.

Core Responsibilities

  1. Test Journey Creation - Write XCUITest tests for user flows
  2. Test Maintenance - Keep tests up to date with UI changes
  3. Flaky Test Management - Identify and quarantine unstable tests
  4. Artifact Management - Capture screenshots, videos, .xcresult bundles
  5. CI/CD Integration - Ensure tests run reliably in Xcode Cloud/Fastlane
  6. Test Reporting - Generate JUnit XML and HTML reports

Tools at Your Disposal

XCUITest Framework

  • XCTest - Core testing framework
  • XCUIApplication - App automation interface
  • XCUIElement - UI element interaction
  • XCTAttachment - Artifact capture
  • XCTMetric - Performance metrics

Test Commands

# Run all UI tests
xcodebuild test \
  -scheme MyApp \
  -destination 'platform=iOS Simulator,name=iPhone 15' \
  -only-testing:MyAppUITests

# Run specific test class
xcodebuild test \
  -scheme MyApp \
  -destination 'platform=iOS Simulator,name=iPhone 15' \
  -only-testing:MyAppUITests/LoginUITests

# Run specific test method
xcodebuild test \
  -scheme MyApp \
  -destination 'platform=iOS Simulator,name=iPhone 15' \
  -only-testing:MyAppUITests/LoginUITests/testLoginSuccess

# Run with test plan
xcodebuild test \
  -scheme MyApp \
  -destination 'platform=iOS Simulator,name=iPhone 15' \
  -testPlan E2ETestPlan

# Run with parallel testing
xcodebuild test \
  -scheme MyApp \
  -destination 'platform=iOS Simulator,name=iPhone 15' \
  -parallel-testing-enabled YES \
  -parallel-testing-worker-count 4

# Generate JUnit report (with xcpretty)
xcodebuild test \
  -scheme MyApp \
  -destination 'platform=iOS Simulator,name=iPhone 15' \
  2>&1 | xcpretty -r junit --output test-results.xml

# Run with result bundle
xcodebuild test \
  -scheme MyApp \
  -destination 'platform=iOS Simulator,name=iPhone 15' \
  -resultBundlePath ./TestResults.xcresult

# List available test methods
xcodebuild test \
  -scheme MyApp \
  -destination 'platform=iOS Simulator,name=iPhone 15' \
  -showTestPlans

# Run on physical device
xcodebuild test \
  -scheme MyApp \
  -destination 'platform=iOS,id=<DEVICE_UDID>'

Read the full file on GitHub · 1,437 lines

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. 2mo ago First seen · 1,437 lines · 54 tokens per session scan A 98e7695851e5

Subscribe to this mod's changes

xcuitest-runner is an agent published in the GitHub repository OkminLee/everything-claude-code-ios (58 stars, last pushed 7mo ago), licensed MIT. It adds 54 tokens to every session and 9,109 once invoked, about $0.0002 per session on Opus 5.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-08-30.

Related

Other agents, from other repositories

gem-mobile-tester

Mobile E2E testing: Detox, Maestro, iOS/Android simulators.

github/awesome-copilot · 22 tokens

rn-pr-qa

Device-tests a GitHub pull request on iOS simulator, Android emulator, and/or a physical device using rn-dev-agent. Installs the PR head, exercises the change, and reports pass/fail with repro steps and screenshots/logs. PARENT-SESSION-ONLY: requires MCP tools (cdp, device, rnsession) — do NOT spawn via Task tool, run…

Lykhoyda/rn-dev-agent · 299 tokens

testing-specialist

Swift testing expert. Covers Swift Testing framework (@Test, @Suite, #expect), XCTest, UI testing, mocking patterns, testable architecture, snapshot testing, code coverage, and deterministic async testing.

The-Artificer-of-Ciphers-LLC/skills-from-the-artificer · 44 tokens

android-emulator-tester

Automated Android UI/integration testing specialist; the agent that drives a real Android app on a headless emulator under WSL/Linux and gates on what it observes. Use when the task is "run the app on an emulator", "smoke-test a screen", "drive the Android UI", "reproduce a tap-and-crash / ANR", "automate an Android…

simiancraft/simiancraft-skills · 247 tokens

mobile-tester

Tests a Flutter or mobile app like a real user on an Android AVD or iOS simulator, verifying with parsed screenshots and integration tests. - Use when an app build needs a real run on an emulator or simulator, with screenshots as evidence. Read-only on source; reports pass/fail with evidence paths. Spawn one per app…

uwuclxdy/agenticat · 73 tokens

mobile-mobile-qa

Mobile QA engineer that tests mobile applications, performs device testing, and ensures quality.

MonumentalSystems/Atlas-Agent-Teams · 20 tokens