lelong0606/.agent/agent-browser-ios

Claude Code and agent skill by lelong0606/.agent

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

[INTERNAL TEMPLATE] iOS Simulator execution protocol. Called by agent-browser orchestrator.

Install

npx vskill@latest install lelong0606/.agent/agent-browser-ios

SKILL.md

The same SKILL.md was published earlier as owenleezy/agent-browser-skill/agent-browser-ios.

Agent Browser — iOS Simulator

Internal template. Entry point: agent-browser skill.

Recommended config: agent-browser -p ios (short for --provider ios)


NEVER

NEVER run commands before Simulator is booted — daemon can't connect; boot first with xcrun simctl
NEVER use `scroll` on iOS — use `swipe up` / `swipe down` instead
NEVER use `click` on native touch targets — prefer `tap @ref` for iOS elements
NEVER copy element refs across navigations — re-run `snapshot -i` after every screen change
NEVER assume WebView content is inspectable — must enable Web Inspector in Safari → Develop → [device]

Prerequisites

iOS Simulator requires:

  1. macOS (Apple Silicon or Intel)
  2. Xcode with iOS Simulator — install from Mac App Store
  3. Appium — npm install -g appium && appium driver install xcuitest
  4. Simulator must be running in Xcode before starting agent-browser
bash
# Verify prerequisites
xcodebuild -version # Xcode installed?
appium --version # Appium installed?
appium driver list --installed # XCUITest driver present?

Environment Check

bash
printenv | grep AGENT_BROWSER # already set? Omit the corresponding inline flag

Workflow

bash
# 1. Start Simulator in Xcode first (or via xcrun)
xcrun simctl boot "iPhone 15 Pro"
open -a Simulator
# 2. List available simulators
agent-browser -p ios device list
# 3. Open app in simulator
agent-browser -p ios --device "iPhone 15 Pro" open https://app.example.com
# 4. Explore interactive elements
agent-browser -p ios snapshot -i
# 5. iOS-native gestures
agent-browser -p ios tap @e1
agent-browser -p ios swipe up # scroll up
agent-browser -p ios swipe down # scroll down
agent-browser -p ios swipe left # swipe carousel / delete row
agent-browser -p ios swipe right # go back (swipe edge)
# 6. Standard commands work too
agent-browser -p ios screenshot --full ios-result.png
agent-browser -p ios find role button click --name "Submit"
agent-browser -p ios get text @e3
agent-browser -p ios wait --load networkidle

Key Patterns

PatternCommand
List simulatorsagent-browser -p ios device list
Target specific device-p ios --device "iPhone 15 Pro"
iOS scrollswipe up / swipe down (not scroll)
iOS taptap @e1 (preferred over click for touch targets)
Navigate backswipe right (edge swipe)
Dismiss bottom sheetswipe down
Take evidence screenshotscreenshot --full ios-result.png
Inspect DOM (WebView)snapshot -i (for web content in WKWebView)

Chrome Commands That Still Work on iOS

These standard commands work with -p ios:

  • open <url> — navigate
  • snapshot / snapshot -i — accessibility tree
  • find role button click --name "..." — semantic locator
  • get text @e1 / get value @e1
  • screenshot [path] / screenshot --full
  • wait @e1 / wait --load networkidle
  • is visible @e1 / is enabled @e1
  • errors / console (for WebView content)

Pitfalls

MistakeFix
Simulator not started before runningStart Simulator in Xcode first, or xcrun simctl boot "iPhone 15 Pro"
Appium not installednpm install -g appium && appium driver install xcuitest
Using scroll instead of swipeiOS uses swipe up/swipe down, not scroll
Using click on touch-only elementsPrefer tap @e1 for native touch targets
device list shows no devicesSimulator not booted — open Xcode → Simulators and boot one
XCUITest driver missingappium driver install xcuitest
WebView content not inspectableEnable "Web Inspector" in Safari → Develop → [device name]

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/lelong0606/.agent/agent-browser-ios/badge)](https://verified-skill.com/skills/lelong0606/.agent/agent-browser-ios)

Something wrong with this skill or its page? Tell us.