browser

Web browser automation with AI-optimized snapshots for claude-flow agents

By ruvnet · 671 installs

npx skills add ruvnet/ruflo --skill browser

Source repository · Upstream listing

Browser Automation Skill Web browser automation using agent browser with AI optimized snapshots. Reduces context by 93% using element refs (@e1, @e2) instead of full DOM. Core Workflow Quick Reference Navigation Command Description open <url Navigate to URL back Go back forward Go forward reload Reload page close Close browser Snapshots (AI Optimized) Command Description snapshot Full accessibility tree snapshot i Interactive elements only (buttons, links, inputs) snapshot c Compact (remove empty elements) snapshot d 3 Limit depth to 3 levels screenshot [path] Capture screenshot (base64 if no path) Interaction Command Description click <sel Click element fill <sel <text Clear and fill input type <sel <text Type with key events press <key Press key (Enter, Tab, etc.) hover <sel Hover element select <sel <val Select dropdown option check/uncheck <sel Toggle checkbox scroll <dir [px] Scroll page Get Info Command Description get text <sel Get text content get html <sel Get innerHTML get value <sel Get input value get attr <sel <attr Get attribute get title Get page title get url Get current URL Wait Command Description wait <selector Wait for element wait <ms Wait milliseconds wait text "text" Wait for text wait url "pattern" Wait for URL wait load networkidle Wait for load state Sessions Command Description session <name Use isolated session session list List active sessions Selectors Element Refs (Recommended) CSS Selectors Semantic Locators Examples Login Flow Form Submission Data Extraction Multi Session (Swarm) Integration with Claude Flow MCP Tools All browser operations are available as MCP tools with browser/ prefix: browser/open browser/snapshot browser/click browser/fill browser/screenshot etc. Memory Integration Hooks Tips 1. Always use snapshots They're optimized for AI with refs 2. Prefer i flag Gets only interactive elements, smaller output 3. Use refs, not selectors More reliable, deterministic 4. Re snapshot after navigation Page state changes 5. Use sessions for parallel work Each session is isolated