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.
npx agentmods add commands/sethcalkins/claude-ios-swift-plugin/xcode-testgit clone --depth 1 https://github.com/SethCalkins/claude-ios-swift-pluginWrote 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.
[](https://agentmods.dev/commands/sethcalkins/claude-ios-swift-plugin/xcode-test)<a href="https://agentmods.dev/commands/sethcalkins/claude-ios-swift-plugin/xcode-test"><img src="https://agentmods.dev/badge/commands/sethcalkins/claude-ios-swift-plugin/xcode-test.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00016 | $0.00620 |
| Opus 5 | $0.00008 | $0.00310 |
| Sonnet 5 | $0.00003 | $0.00124 |
| Haiku 4.5 | $0.00002 | $0.00062 |
Grade A, and why
xcode-test 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.
How it starts
The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Xcode Build and Test
Build and run tests for the iOS project using XcodeBuildMCP.
Instructions
-
Detect project configuration:
- Look for
.xcworkspacefirst (prefer workspace over project) - Fall back to
.xcodeprojif no workspace - Read scheme list if scheme not specified
- Look for
-
Set session defaults:
- Call
mcp__XcodeBuildMCP__session-set-defaultswith:workspacePathorprojectPathscheme(from argument or auto-detect main app scheme)configuration: "Debug"
- Call
-
Find or boot simulator:
- Call
mcp__XcodeBuildMCP__list_simsto find booted simulators - If
--simulator NAMEprovided, find matching simulator - If none booted, suggest user boot one or use most recent
- Call
-
Build the project:
- Call
mcp__XcodeBuildMCP__build_sim - Report any build errors with file locations
- If build fails, provide actionable suggestions
- Call
-
Run tests:
- Call
mcp__XcodeBuildMCP__test_sim - Capture test results
- Report failures with:
- Test name
- Failure reason
- File and line number
- Call
-
Summary:
- Total tests run
- Passed / Failed / Skipped counts
- Build time
- Any warnings worth noting
Output Format
## Xcode Test Results
### Configuration
- Workspace: MyApp.xcworkspace
- Scheme: MyApp
- Simulator: iPhone 16 Pro (iOS 18.0)
### Build: SUCCESS (12.3s)
- 2 warnings (see details)
### Tests: 45 passed, 2 failed, 1 skipped
#### Failures
1. `testUserLogin` in `AuthTests.swift:42`
- Expected true, got false
- Assertion: User should be authenticated after valid login
2. `testDataSync` in `SyncTests.swift:88`
- Timeout after 10s
- Network mock may not be configured
### Warnings
- `ViewModel.swift:15` - 'async' call in actor-isolated context
Tips
- Use
--simulator "iPhone 16 Pro"to target a specific device - If macOS tests fail due to deployment target, try iOS simulator tests
- For CI, ensure a simulator is booted before running
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.
- 4d ago First seen · 86 lines · 16 tokens per session scan A e05e0674d9dd
xcode-test is a command published in the GitHub repository SethCalkins/claude-ios-swift-plugin (2 stars, last pushed 7mo ago), licensed MIT. It adds 16 tokens to every session and 620 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-08-31.
Other commands, from other repositories
app-store-audit
Run an enterprise pre submission compliance audit on an iOS or Android app against Apple App Store and Google Play rejection rules. Pass a project path or run from the project root.
build-verify
Run the full build / test / analyze / format verification pass for this Flutter app.
create-pr-from-staged-changes
You are helping to create a pull request following the iOS team's standard template.
apollo-status
Show the current Apollo removal migration progress.
ios-privacy
Prepare privacy labels, permissions, policy links, and data-use truth for iOS release.
initialize-ios
Manual override: initialize ast-index for iOS/Swift/ObjC project.