出海助手-网页浏览代理 / agent-browser
本技能改造自开源技能 agent-browser(来源:vercel-labs/agent-browser,Vercel 浏览器代理技能)。已完整保留原始运行文件(scripts/references/assets 与 LICENSE),并新增中文出海使用说明。原始英文说明见文末「English (Original)」与同目录
SKILL.original.md。
功能说明 / Functional Overview
基于 Rust 的原生浏览器自动化 CLI,通过 Chrome/Chromium 的 CDP 协议驱动,提供无障碍树(accessibility-tree)快照与紧凑元素引用 @eN,让 AI 智能体可靠地操作网页。可配合任意 AI 编程工具(Cursor、Claude Code、Codex、Continue、Windsurf 等)。
适用场景 / Use Cases
- 自动化网页操作、表单填写、页面抓取
- Electron 桌面应用(VS Code、Slack、Discord、Figma 等)自动化
- 探索性测试 / QA / 缺陷排查
- 从 HAR 录制推导站点独立 API 客户端
使用方法 / How to Use
- 安装:
npm i -g agent-browser && agent-browser install - 首次使用前加载工作流说明:
agent-browser skills get core(含常用模式与排错) - 专项技能按需加载,如
agent-browser skills get electron/slack/dogfood/derive-client/vercel-sandbox/agentcore - 可观察面板默认运行于 4848 端口
示例 / Examples
- 「打开 example.com 并填好登录表单」——用自然语言描述,技能自动调用浏览器快照与元素引用完成操作。
限制说明 / Limitations
- 需要本地安装 Chrome/Chromium 与 agent-browser CLI。
- 工作流内容需通过
skills get core加载,本说明仅为发现入口。 - 涉及第三方账号登录的页面需用户手动完成验证码 / 2FA。
English (Original) / 英文原文(完整保留)
The section below is the original skill definition, preserved verbatim for traceability and full functionality.
agent-browser
Fast browser automation CLI for AI agents. Chrome/Chromium via CDP with accessibility-tree snapshots and compact @eN element refs.
Install: npm i -g agent-browser && agent-browser install
Start here
This file is a discovery stub, not the usage guide. Before running any agent-browser command, load the actual workflow content from the CLI:
agent-browser skills get core # start here — workflows, common patterns, troubleshooting
agent-browser skills get core --full # include full command reference and templates
The CLI serves skill content that always matches the installed version, so instructions never go stale. The content in this stub cannot change between releases, which is why it just points at skills get core.
Specialized skills
Load a specialized skill when the task falls outside browser web pages:
agent-browser skills get electron # Electron desktop apps (VS Code, Slack, Discord, Figma, ...)
agent-browser skills get slack # Slack workspace automation
agent-browser skills get dogfood # Exploratory testing / QA / bug hunts
agent-browser skills get derive-client # Record a HAR, derive a standalone API client for a site
agent-browser skills get vercel-sandbox # agent-browser inside Vercel Sandbox microVMs
agent-browser skills get agentcore # AWS Bedrock AgentCore cloud browsers
Run agent-browser skills list to see everything available on the installed version.
Why agent-browser
- Fast native Rust CLI, not a Node.js wrapper
- Works with any AI agent (Cursor, Claude Code, Codex, Continue, Windsurf, etc.)
- Chrome/Chromium via CDP with no Playwright or Puppeteer dependency
- Accessibility-tree snapshots with element refs for reliable interaction
- Sessions, authentication vault, state persistence, video recording
- Specialized skills for Electron apps, Slack, exploratory testing, cloud providers
Observability Dashboard
The dashboard runs independently of browser sessions on port 4848 and can also be opened through a proxied or forwarded URL such as https://dashboard.agent-browser.localhost. Agents should stay on the dashboard origin: session tabs, status, and stream traffic are proxied internally, so session ports do not need to be exposed.
Scan to join WeChat group