--- name: browser-automation description: Reliable, composable browser automation using minimal OpenCode Browser primitives. license: MIT compatibility: opencode metadata: audience: agents domain: browser --- ## What I do - Provide a safe, composable workflow for browsing tasks - Use `browser_query` list and index selection to click reliably - Confirm state changes after each action ## Best-practice workflow 1. Inspect tabs with `browser_get_tabs` 2. Open new tabs with `browser_open_tab` when needed 3. Navigate with `browser_navigate` if needed 4. Wait for UI using `browser_query` with `timeoutMs` 5. Discover candidates using `browser_query` with `mode=list` 6. Click, type, or select using `index` 7. Confirm using `browser_query` or `browser_snapshot` ## Selecting options - Use `browser_select` for native `