From myvault-content
Browser automation using Vercel's agent-browser CLI. Use when WebSearch and WebFetch aren't enough — paywalled content, social media threads, competitor sites, engagement metrics only visible on-page, or any research that requires interacting with a live website. Triggers on "browse website", "scrape page", "check competitor site", "read reddit thread", "get engagement data".
How this skill is triggered — by the user, by Claude, or both
Slash command
/myvault-content:agent-browserThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Vercel's headless browser CLI for AI agents. Uses ref-based element selection (@e1, @e2) from accessibility snapshots.
Vercel's headless browser CLI for AI agents. Uses ref-based element selection (@e1, @e2) from accessibility snapshots.
When to use this instead of WebSearch/WebFetch:
command -v agent-browser >/dev/null 2>&1 && echo "Installed" || echo "NOT INSTALLED - run: npm install -g agent-browser && agent-browser install"
npm install -g agent-browser
agent-browser install # Downloads Chromium
agent-browser open https://example.com
agent-browser snapshot -i --json
agent-browser click @e1
agent-browser snapshot -i
agent-browser open <url> # Navigate to URL
agent-browser back # Go back
agent-browser forward # Go forward
agent-browser reload # Reload page
agent-browser close # Close browser
agent-browser snapshot # Full accessibility tree
agent-browser snapshot -i # Interactive elements only (recommended)
agent-browser snapshot -i --json # JSON output for parsing
agent-browser snapshot -c # Compact (remove empty elements)
agent-browser click @e1 # Click element
agent-browser fill @e1 "text" # Clear and fill input
agent-browser type @e1 "text" # Type without clearing
agent-browser press Enter # Press key
agent-browser scroll down 500 # Scroll down
agent-browser scrollintoview @e1 # Scroll element into view
agent-browser select @e1 "option" # Select dropdown option
agent-browser get text @e1 # Get element text
agent-browser get html @e1 # Get element HTML
agent-browser get value @e1 # Get input value
agent-browser get attr href @e1 # Get attribute
agent-browser get title # Get page title
agent-browser get url # Get current URL
agent-browser screenshot # Viewport screenshot
agent-browser screenshot --full # Full page
agent-browser screenshot output.png # Save to file
agent-browser screenshot --full output.png # Full page to file
agent-browser wait @e1 # Wait for element
agent-browser wait 2000 # Wait milliseconds
agent-browser wait "text" # Wait for text to appear
agent-browser open https://competitor.com/blog
agent-browser snapshot -i
agent-browser scroll down 1000
agent-browser snapshot -i # Get more loaded content
agent-browser get text @e5 # Extract article title
agent-browser get attr href @e5 # Get article link
agent-browser open https://reddit.com/r/privacy/comments/...
agent-browser snapshot -c
agent-browser scroll down 500
agent-browser snapshot -c # Load more comments
agent-browser open https://example.com/article
agent-browser snapshot -i --json # Look for share counts, comments
agent-browser screenshot metrics.png
agent-browser open https://competitor.com
agent-browser snapshot -i
agent-browser fill @e1 "search query"
agent-browser press Enter
agent-browser wait 2000
agent-browser snapshot -i # Parse search results
agent-browser --session site1 open https://competitor1.com/blog
agent-browser --session site2 open https://competitor2.com/blog
agent-browser session list
agent-browser snapshot -i --json
Returns:
{
"success": true,
"data": {
"refs": {
"e1": {"name": "Submit", "role": "button"},
"e2": {"name": "Search", "role": "textbox"}
}
}
}
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub markiianb/myvault-content-plugin --plugin myvault-content