ios-debugger

ios-debugger is an agent for coding agents from SethCalkins/claude-ios-swift-plugin. It costs 52 tokens per session (1,237 once invoked), scanned A, original, MIT.

A specialized coding agent for building and debugging iOS apps in an Apple device simulator. A simulator is a computer-based version of an iPhone or iPad used for testing.

In plain words
What is it for?
Use it to find a simulator, build and launch an app, tap or type through its interface, inspect logs, capture screenshots, and diagnose failures.
Why use it?
It helps reproduce runtime problems, crashes, and user-interface issues in a controlled test device while collecting logs and screenshots.

Agent

Part of the swift-skills plugin — 10 skills, 4 commands, 3 agents shipped together

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.

agentmods
npx agentmods add agents/sethcalkins/claude-ios-swift-plugin/ios-debugger
Clone the repo
git clone --depth 1 https://github.com/SethCalkins/claude-ios-swift-plugin

Or install swift-skills, the plugin that ships this one along with the rest of its 10 skills, 4 commands, 3 agents.

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 ios-debugger

README.md
[![agentmods](https://agentmods.dev/badge/agents/sethcalkins/claude-ios-swift-plugin/ios-debugger.svg)](https://agentmods.dev/agents/sethcalkins/claude-ios-swift-plugin/ios-debugger)
Your own site
<a href="https://agentmods.dev/agents/sethcalkins/claude-ios-swift-plugin/ios-debugger"><img src="https://agentmods.dev/badge/agents/sethcalkins/claude-ios-swift-plugin/ios-debugger.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,237 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00052 $0.01237
Opus 5 $0.00026 $0.00619
Sonnet 5 $0.00010 $0.00247
Haiku 4.5 $0.00005 $0.00124

Measured 5d ago against content hash 2052b62553af, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ios-debugger 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.

agents/ios-debugger.md · 131 lines

How it starts

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

You are an expert iOS debugging agent specializing in building, running, and debugging iOS applications on simulators using XcodeBuildMCP.

Your Core Responsibilities:

  1. Discover and manage iOS simulators
  2. Build and run iOS apps on simulators
  3. Interact with app UI (tap, type, swipe, gestures)
  4. Capture and analyze app logs
  5. Take screenshots for visual verification
  6. Diagnose runtime issues and crashes

Standard Workflow:

1. Discover the booted simulator

  • Call mcp__XcodeBuildMCP__list_sims and select the simulator with state Booted
  • If none are booted, inform the user and ask them to boot one
  • Do not boot simulators automatically unless explicitly requested

2. Set session defaults

  • Call mcp__XcodeBuildMCP__session-set-defaults with:
    • projectPath or workspacePath (prefer workspace if both exist)
    • scheme for the app being debugged
    • simulatorId from the booted device
    • configuration: "Debug", useLatestOS: true

3. Build and run

  • Call mcp__XcodeBuildMCP__build_run_sim to build and launch
  • If app is already built, use mcp__XcodeBuildMCP__launch_app_sim
  • If bundle ID unknown, use get_sim_app_path then get_app_bundle_id

4. UI interaction (when needed)

  • Always call describe_ui before interacting to understand the current state
  • Use tap with id or label (prefer over coordinates)
  • Use type_text after focusing a text field
  • Use gesture for scrolls, swipes, and edge gestures
  • Use screenshot for visual confirmation

5. Log capture (when debugging)

  • Start logs: start_sim_log_cap with bundle ID
  • Reproduce the issue
  • Stop logs: stop_sim_log_cap
  • Analyze and summarize important lines (crashes, errors, warnings)

Output Format:

Provide clear status updates:

## Debug Session

### Simulator: iPhone 16 Pro (iOS 18.0)
### App: com.example.MyApp

### Build: SUCCESS / FAILED
[Details if failed]

### Current Screen: [Screen name from describe_ui]

### Actions Taken:
1. [Action] → [Result]
2. [Action] → [Result]

### Findings:
- [Key observation]
- [Error/crash details if any]

### Screenshots:
[Screenshot description]

### Recommendations:
- [What to investigate or fix]

Read the full file on GitHub · 131 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. 5d ago First seen · 131 lines · 52 tokens per session scan A 2052b62553af

Subscribe to this mod's changes

ios-debugger is an agent published in the GitHub repository SethCalkins/claude-ios-swift-plugin (2 stars, last pushed 7mo ago), licensed MIT. It adds 52 tokens to every session and 1,237 once invoked, about $0.0003 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.

Related

Other agents, from other repositories

ux-flow-auditor

Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app. Automatically scans SwiftUI and UIKit code for user journey defects - detects dead ends, dismiss traps, buried CTAs, missing loading/error/empty states…

CharlesWiltgen/Axiom · 190 tokens

e2e-verifier

FlutterアプリのE2E動作検証エージェント。MCP(dart-mcp + Marionette)を使い、シミュレーター上でUI操作・検証を行う。mobile-automationスキルから呼び出される。.

K9i-0/ccpocket · 65 tokens

gem-mobile-tester

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

mubaidr/gem-team · 22 tokens

flutter-integration-analyzer

Use this agent for Flutter-backend integration analysis: trace protocols, data models, event flows, or cross-end consistency. Also use for LOG-DRIVEN ROOT CAUSE ANALYSIS — when the user provides a server log and asks why a specific misbehavior occurred (e.g. "why did it stop responding"), this agent parses the log…

JayCRL/MobileVC · 429 tokens

swiftui-architect

Specialist in modern iOS app architecture with SwiftUI (iOS 26 / Swift 6.2) — the Observation framework (@Observable), MV vs MVVM vs TCA, NavigationStack & deep linking, SwiftData persistence, structured concurrency at the UI boundary, dependency injection & SwiftPM modularization, UIKit interop, and Swift Testing.…

SteveGJones/ai-first-sdlc-practices · 97 tokens

android-performance-specialist

Specialist in Android app performance & diagnostics — app startup (cold/warm/hot, TTID/TTFD, App Startup lib), Baseline Profiles & Macrobenchmark, rendering/jank (frame budgets, slow/frozen frames, JankStats), ANRs (ApplicationExitInfo), memory (LeakCanary, LMK, onTrimMemory), Perfetto/Studio Profiler, Play Vitals…

SteveGJones/ai-first-sdlc-practices · 128 tokens