Browse

From ulpi-io/browse · View interactive version

Browse is an AI agent skill from the GitHub repository ulpi-io/browse. Fast web browsing, web app testing, and native app automation for AI coding agents. Persistent headless Chromium for web. Android, iOS, and macOS app automation via accessibility APIs. Browse URLs, read content, click elements, fill forms, run JavaScript, take screenshots, automate native apps — all

How to use this skill

Skill file

browse: Browser & Native App Automation for AI Agents

Target Decision — ALWAYS check this first

Before running any browse command, decide the correct target:

| User wants to... | Target | Command pattern |

|---|---|---|

| Open a URL, test a website, scrape web content | Browser (default) | browse goto <url> |

| Test a local dev server (localhost) | Browser | browse goto http://localhost:3000 |

| Interact with an iOS app (Settings, Safari, custom app) | iOS Simulator | browse --platform ios --app <bundleId> <cmd> |

| Interact with an Android app (Settings, Chrome, custom app) | Android Emulator | browse --platform android --app <package> <cmd> |

| Interact with a macOS desktop app (System Settings, TextEdit) | macOS App | browse --app <name> <cmd> |

| Install and test an iOS .app or .ipa file | iOS Simulator | browse sim start --platform ios --app ./MyApp.app --visible |

| Install and test an Android .apk file | Android Emulator | browse sim start --platform android --app ./app.apk --visible |

Key rules:

Goal

Use the persistent browse CLI to:

Step 0: Verify availability and choose the browsing mode

Start by checking:

browse --version

If browse is not installed:

Then decide what kind of session you need:

For native app targets, start the simulator/emulator first:

browse sim start --platform ios --app com.apple.Preferences --visible
browse sim start --platform android --app com.android.settings --visible
browse enable android    # first-time only: auto-installs adb, JDK, SDK, emulator
browse enable ios        # first-time only: builds iOS runner (needs Xcode)
browse enable macos      # first-time only: builds browse-ax bridge

Success criteria: browse is available, the target (browser or native app) is decided, and the session/profile choice fits the task.

Step 1: Navigate safely and stabilize the page

Use browse goto <url> to navigate.

After navigation, always stabilize before reading or interacting:

Important rules:

Success criteria: The page is loaded enough that content and interactive state are reliable.

Step 2: Choose the cheapest effective inspection method

Use the lightest command that answers the question:

Prefer snapshot -i before guessing selectors for interaction-heavy tasks.

Load:

Success criteria: You have the information needed without spending unnecessary tokens or using brittle selectors.

Step 3: Interact using refs first, selectors second

For clicks, fills, checks, selects, and similar actions:

  1. prefer browse snapshot -i
  2. interact using @eN refs
  3. fall back to CSS selectors only when refs are unavailable or impractical

After navigation or DOM refresh:

Rules:

Success criteria: Interactions are stable and tied to the current rendered page state.

Step 4: Debug blockers and special cases

When things go wrong:

If you hit a blocker after a couple of failed attempts:

Success criteria: Blockers are either resolved or escalated with the correct handoff protocol.

Step 5: Capture evidence and report clearly

When the task involves verification, capture the minimum evidence needed:

Report:

Success criteria: Another engineer can understand the observed browser behavior without rerunning the whole flow blindly.

Important Rules

When To Load References

Use for exact command syntax, flags, and extended examples.

Use for speed rules, command-choice guidance, architecture notes, and the mandatory CAPTCHA/MFA handoff protocol.

Use when the user wants to pre-allow browse commands in Claude settings.

Guardrails

Output Contract

Report:

  1. the page or flow tested
  2. the session/profile mode used if relevant
  3. the key commands or interactions performed
  4. the observed result
  5. any artifacts or blockers such as screenshots, console errors, network failures, or handoff state
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.