ios-simulator-browser

A workflow for showing an iOS Simulator through a browser using the pinned serve-sim tool. It is intended for Apple Silicon Macs and keeps the simulator preview on the local computer.

In plain words
What is it for?
Streaming a chosen simulator, opening its visual feed in a browser, and providing browser-visible evidence of mobile app testing.
Why use it?
It lets someone watch simulator verification live while the app is still controlled through its accessibility-aware development tools.

Skill for Claude CodeCodex

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 skills/pingdotgg/t3code/ios-simulator-browser
Any agent
npx skills add pingdotgg/t3code --skill ios-simulator-browser
Clone the repo
git clone --depth 1 https://github.com/pingdotgg/t3code

Made for: Claude Code, Codex.

Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 731 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.00731
Opus 5 $0.00026 $0.00365
Sonnet 5 $0.00010 $0.00146
Haiku 4.5 $0.00005 $0.00073

Measured yesterday against content hash 197a3dd41e24, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ios-simulator-browser 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 yesterday.

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/skills/ios-simulator-browser/SKILL.md · 52 lines

How it starts

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

iOS Simulator Browser

Use serve-sim as the shared visual feed for an iOS Simulator. Use ios-debugger-agent and XcodeBuildMCP semantic UI tools to drive the app; do not treat browser-canvas coordinates as a substitute for missing app accessibility.

Confirm availability

serve-sim 0.1.45 requires Apple Silicon macOS, Xcode command-line tools, and Node.js 20 or newer. If the host is unsupported, continue with XcodeBuildMCP screenshots and report that live streaming was unavailable.

When running inside T3 Code, use its product-native browser MCP to open the stream. Other agent hosts may use their own browser or preview surface.

Keep serve-sim on its default 127.0.0.1 binding. Do not expose its preview to a LAN or tunnel unless the user explicitly requests that access and the network is trusted; the preview includes a token-gated shell-execution route.

Start one owned stream

  1. Obtain the exact simulator UDID from the iOS build or launch workflow.

  2. Check whether an existing serve-sim stream for that UDID belongs to another task. Reuse it only when explicitly shared; never kill another task's stream.

  3. Otherwise, clear only a stale stream for that UDID and start the pinned version with scoped cleanup:

    SIMULATOR_ID=<simulator-udid>
    cleanup_serve_sim() {
      npx --yes [email protected] --kill "$SIMULATOR_ID" >/dev/null 2>&1 || true
    }
    trap cleanup_serve_sim EXIT INT TERM HUP
    cleanup_serve_sim
    npx --yes [email protected] "$SIMULATOR_ID"
    
  4. Keep the terminal alive and open the exact local URL printed by serve-sim in the agent's browser.

  5. Verify that a live simulator frame renders. A loaded wrapper page is not sufficient evidence.

Observe while driving semantically

  • Let the user watch the serve-sim stream while XcodeBuildMCP performs snapshot_ui, semantic taps, typing, gestures, and screenshots.
  • Keep the browser and Xcode tooling pinned to the same simulator UDID.
  • Do not switch to generic desktop automation or browser-canvas clicking merely because the stream is visible.

Read the full file on GitHub · 52 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. yesterday First seen · 52 lines · 52 tokens per session scan A 197a3dd41e24

Subscribe to this mod's changes

ios-simulator-browser is a skill published in the GitHub repository pingdotgg/t3code (21,041 stars, last pushed 2d ago), licensed MIT. It adds 52 tokens to every session and 731 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-30.

Related

Other skills, from other repositories