Automates and inspects live web pages using agent-browser CLI — navigate, screenshot, check console errors, analyze network, measure performance, diff pages, and record sessions. Use this skill whenever the user wants to debug a webpage, inspect a page, check console errors, analyze network traffic, profile page performance, capture screenshots, compare pages, or record interactions — even if they just say "check this page" or "why is this page slow."
From browsernpx claudepluginhub kriscard/kriscard-claude-plugins --plugin browserThis skill uses the workspace's default tool permissions.
examples/cli-reference.mdexamples/inspection-workflow.mdexamples/performance-analysis.mdreferences/cli-reference.mdreferences/workflows.mdSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Uses the agent-browser CLI — a native Rust binary controlling Chrome via DevTools Protocol — to inspect, debug, and profile web pages. All operations run via Bash tool calls. No MCP server or Node.js required.
Activate this skill when:
CLI basics — Binary at /opt/homebrew/bin/agent-browser. Runs a persistent daemon; browser stays open between commands for multi-step workflows.
Command chaining — Use && to chain: agent-browser open "$URL" && agent-browser wait --load networkidle. Browser also persists across separate Bash calls.
Structured output — All commands support --json for structured JSON output.
Element references — agent-browser snapshot returns an a11y tree with refs like @e1, @e2. Use them in follow-up commands: agent-browser click @e1, agent-browser fill @e2 "value".
Annotated screenshots — --annotate overlays numbered labels on interactive elements. Designed for AI consumption, not human sharing.
| Command | Purpose |
|---|---|
/browser:inspect <url> | Full page inspection (screenshot + DOM + console + network) |
/browser:screenshot <url> | Quick screenshot capture |
/browser:console <url> | Console error checking |
/browser:performance <url> | Core Web Vitals analysis with recommendations |
/browser:diff <url1> <url2> | Visual and structural page comparison |
/browser:record <url> | Video recording of browser interactions |
Prefer event-based waiting over arbitrary delays:
# Best: wait for network idle
agent-browser wait --load networkidle
# Good: wait for specific content
agent-browser wait --text "Dashboard loaded"
# Good: wait for URL change
agent-browser wait --url "/dashboard"
# Good: wait for element
agent-browser wait "#main-content"
# Fallback: fixed delay (for WebSocket-heavy pages where networkidle hangs)
agent-browser wait 3000
agent-browser must be installed at /opt/homebrew/bin/agent-browseragent-browser close starts a fresh daemon — previous page state is lost--annotate screenshots are designed for AI consumption, not human sharingBrowser won't start:
agent-browser close then retrywhich agent-browser should show /opt/homebrew/bin/agent-browserwait --load networkidle hangs:
agent-browser wait 5000 as fallbackagent-browser wait --load domcontentloaded for faster but less complete waitCommands timeout:
curl <url>Screenshots blank or incomplete:
agent-browser errorswait --load networkidle instead of fixed delayConsole/errors empty:
agent-browser open first, then navigateagent-browser console for all message levels, not just errorsNetwork requests missing:
open won't be capturedagent-browser network har start before navigation| File | Contents |
|---|---|
references/cli-reference.md | Full command syntax: element refs, annotated screenshots, JS eval, network filtering, sessions, device emulation, form interaction |
references/workflows.md | Step-by-step workflows: page inspection, console debugging, performance analysis, screenshots, network monitoring, page comparison, video recording, device emulation, form interaction |