xcuitest-skill

xcuitest-skill is a skill for Claude Code, Codex from LambdaTest/agent-skills. It costs 106 tokens per session (1,604 once invoked), scanned A, original, MIT.

A guide for generating Swift UI tests with XCUITest, Apple's framework for automating interactions with iPhone and iPad app interfaces. It supports testing on local simulators and, when requested, TestMu AI cloud real devices.

In plain words
What is it for?
Use it to create iOS or iPadOS UI tests, automate login and other user flows, and choose between a local simulator and supported cloud devices.
Why use it?
Manual checking of app screens and user actions is slow and easy to repeat inconsistently. XCUITest provides automated checks for controls, navigation, input, and visible results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create iOS or iPadOS UI tests, automate login and other user flows, and choose between a local simulator and supported cloud devices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lambdatest/agent-skills/xcuitest-skill
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 LambdaTest/agent-skills --skill xcuitest-skill
Clone the repo
git clone --depth 1 https://github.com/LambdaTest/agent-skills

Made for: Claude Code, 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 xcuitest-skill

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lambdatest/agent-skills/xcuitest-skill"><img src="https://agentmods.dev/badge/skills/lambdatest/agent-skills/xcuitest-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,604 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 183
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00106 $0.01604
Opus 5.5 $0.00042 $0.00642
Sonnet 5.5 $0.00021 $0.00321
Haiku 4.5 $0.00011 $0.00160

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

Security

Grade A, and why

xcuitest-skill scanned grade A 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 3mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -u "$LT_USERNAME:$LT_ACCESS_KEY" \
xcuitest-skill/SKILL.md · 220 lines

How it starts

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

XCUITest Automation Skill

You are a senior iOS QA engineer specializing in XCUITest.

Step 1 — Execution Target

├─ Mentions "cloud", "TestMu", "LambdaTest", "device farm"?
│  └─ TestMu AI cloud (upload IPA + test runner)
│
├─ Mentions "simulator", "local", "Xcode"?
│  └─ Local: Xcode Test Navigator or xcodebuild
│
└─ Default → Local simulator

Core Patterns — Swift

Basic Test

import XCTest

class LoginTests: XCTestCase {
    let app = XCUIApplication()

    override func setUpWithError() throws {
        continueAfterFailure = false
        app.launch()
    }

    func testLoginWithValidCredentials() {
        let emailField = app.textFields["emailInput"]
        XCTAssertTrue(emailField.waitForExistence(timeout: 5))
        emailField.tap()
        emailField.typeText("[email protected]")

        let passwordField = app.secureTextFields["passwordInput"]
        passwordField.tap()
        passwordField.typeText("password123")

        app.buttons["loginButton"].tap()

        let dashboard = app.staticTexts["Welcome"]
        XCTAssertTrue(dashboard.waitForExistence(timeout: 10))
    }

    func testLoginWithInvalidCredentials() {
        app.textFields["emailInput"].tap()
        app.textFields["emailInput"].typeText("[email protected]")
        app.secureTextFields["passwordInput"].tap()
        app.secureTextFields["passwordInput"].typeText("wrong")
        app.buttons["loginButton"].tap()

        let error = app.staticTexts["Invalid credentials"]
        XCTAssertTrue(error.waitForExistence(timeout: 5))
    }
}

Element Queries

// By accessibility identifier (best)
app.buttons["loginButton"]
app.textFields["emailInput"]

// By label text
app.staticTexts["Welcome back"]
app.buttons["Submit"]

// By predicate
app.buttons.matching(NSPredicate(format: "label CONTAINS 'Login'")).firstMatch

// By index
app.cells.element(boundBy: 0)

// Existence check
let element = app.buttons["submit"]
XCTAssertTrue(element.waitForExistence(timeout: 10))

Read the full file on GitHub · 220 lines

Files

What ships with it

2 files 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. 3mo ago First seen · 220 lines · 106 tokens per session scan A b02c9f8b4956

Subscribe to this mod's changes

xcuitest-skill is a skill published in the GitHub repository LambdaTest/agent-skills (401 stars, last pushed 16d ago), licensed MIT. It adds 106 tokens to every session and 1,604 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

xcuitest-skill compared with skills from other repositories

xcuitest-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
xcuitest-skillLambdaTest/agent-skillsSkill40116d agoMITA106Claude Code, Codex
solopi-aialipay/SoloPiSkill6.8kyesterdayApache-2.0A82Codex
mobile-testerbuiphucminhtam/forgewrightSkill492d agononeA58Claude Code
device-farmsalmasumdev/awesome-mobile-testing-agent-skillsSkill27mo agononeA49Claude Code, Codex
maestro-flowsalmasumdev/awesome-mobile-testing-agent-skillsSkill27mo agononeA48Claude Code, Codex
ui-testing-patternsalmasumdev/awesome-mobile-testing-agent-skillsSkill27mo agononeA53Claude Code, Codex
android-ui-journey-testingsickn33/agentic-awesome-skillsSkill51ktodayMITA27Claude Code