web-browserlisted
Install: claude install-skill Layneformalized225/ai-cofounder
# Web Browser (agent-browser + Lightpanda)
Use `agent-browser` CLI via `exec` for all web browsing tasks.
Default engine: Lightpanda (fast, low-RAM). Falls back to Chrome if needed.
## Quick Reference
### Open a page
```bash
agent-browser open https://example.com
```
### Get page content (text snapshot)
```bash
# Full content with text (for reading pages)
agent-browser snapshot
# Interactive elements only (for finding buttons/links/inputs to click)
agent-browser snapshot -i
# Structure only, no text (for understanding page layout)
agent-browser snapshot -c
# Scoped to a CSS selector
agent-browser snapshot -s "#main-content"
```
### Interact with elements
Snapshots return refs like `@e1`, `@e2`. Use them to interact:
```bash
agent-browser click @e3 # Click a link/button
agent-browser fill @e5 "text" # Fill an input field
agent-browser type @e5 "text" # Type without clearing
agent-browser select @e7 "value" # Select dropdown option
agent-browser press @e5 Enter # Press key
agent-browser hover @e2 # Hover
agent-browser scroll @e1 # Scroll to element
```
### Navigation
```bash
agent-browser back # Go back
agent-browser forward # Go forward
agent-browser open <new-url> # Navigate to new URL
```
## Typical Workflow
1. `exec("agent-browser open https://example.com")` - open page
2. `exec("agent-browser snapshot")` - read page content
3. If need to interact: `exec("agent-browser snapshot -i")` - get interact