web-browse
Search the web and fetch/read pages via a real headless browser (CDP). Use this instead of curl when sites are JS-heavy or bot-protected.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Search the web and fetch/read pages via a real headless browser (CDP). Use this instead of curl when sites are JS-heavy or bot-protected.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Help address review/issue comments on the open GitHub PR for the current branch using gh CLI.
Generate beautiful, self-contained HTML pages that visually explain systems, code changes, plans, and data.
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
Interactive browser automation via Chrome DevTools Protocol. Use when you need to interact with web pages, test frontends, or when user interaction with a visible browser is required.
Fetch a URL or convert a local file (PDF/DOCX/HTML/etc.) into Markdown using `uvx markitdown`, optionally it can summarize
| name | web-browse |
| description | Search the web and fetch/read pages via a real headless browser (CDP). Use this instead of curl when sites are JS-heavy or bot-protected. |
Search the web, then open/fetch pages in a real browser session (headless Chromium via CDP) and extract readable text.
Use this instead of curl when sites are JS-heavy or bot-protected.
Run once before first use:
cd {baseDir}
npm install
Environment variables:
| Variable | Description |
|---|---|
WEB_BROWSE_USER_AGENT | Override User-Agent string |
WEB_BROWSE_DAEMON_PORT | Daemon port (default: 9377) |
WEB_BROWSE_CDP_PORT | CDP port (default: 9225) |
WEB_BROWSE_DEBUG_DUMP | Set to 1 to save screenshots/HTML on failures |
# Search (results are cached for ~10 minutes)
{baseDir}/web-browse.js "your query"
{baseDir}/web-browse.js "your query" -n 10
# Fetch specific cached results by index
{baseDir}/web-browse.js --fetch 1,3,5
# Fetch a specific URL
{baseDir}/web-browse.js --url <url> # truncated (~2000 chars)
{baseDir}/web-browse.js --url <url> --full # full content
Direct calls automatically start/use a local daemon that keeps a persistent headless browser+CDP session. This avoids browser startup overhead and helps with bot-protection pages that auto-clear (e.g. Anubis PoW).
{baseDir}/web-browse.js --daemon status
{baseDir}/web-browse.js --daemon start
{baseDir}/web-browse.js --daemon stop
{baseDir}/web-browse.js --daemon restart
{baseDir}/web-browse.js --no-daemon --url https://example.com
{baseDir}/web-browse.js --no-daemon "your query"
--fetch 1,3 opens those results and extracts content{baseDir}/web-browse.js "rust async runtime" # shows results
{baseDir}/web-browse.js --fetch 1,3 # fetches result #1 and #3
--full for complete output.~/.config/web-browse-cdp-profile/ (configurable via --cdp-profile).