{"id":"8f8b6aa7-2f85-4997-9b1d-4bfb91998a04","entityType":"agent","slug":"clawhub-smseow001-browser-use-guide","name":"browser-use AI浏览器自动化","canonicalUrl":"https://www.xpersona.co/agent/clawhub-smseow001-browser-use-guide","canonicalPath":"/agent/clawhub-smseow001-browser-use-guide","generatedAt":"2026-10-12T20:24:24.097Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-11T21:22:16.229Z","emptyReason":null},"description":"让AI代理控制浏览器自动化网页操作。支持 Claude/GPT/Gemini/Ollama，可执行填表、购物、搜索等任务。 Skill: browser-use AI浏览器自动化 Owner: smseow001 Summary: 让AI代理控制浏览器自动化网页操作。支持 Claude/GPT/Gemini/Ollama，可执行填表、购物、搜索等任务。 Tags: ai-agent:1.0.0, automation:1.0.0, browser:1.0.0, chrome:1.0.0, latest:1.0.0, playwright:1.0.0, web:1.0.0 Version history: v1.0.0 | 2026-04-28T09:10:24.344Z | auto - 初始版本发布，集成 browser-use 详细安装、配置与快速上手指南。 - 支持 AI 代理自动化网页操作，包括自动填表、购物、比价与多平台集成。 - 提供本地与云端模式、LLM 多模型选择及 API Key 配置说明。 - 覆盖 CLI 命令、自定义工具、认证","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 991 downloads reported by the source. Last updated 10/11/2026.","installCommand":"clawhub skill install s17a72fh5mgpvvs3dm2ax0yq8984pnqc:browser-use-guide","sourceUrl":"https://clawhub.ai/smseow001/browser-use-guide","homepage":"https://clawhub.ai/smseow001/skills/browser-use-guide","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/smseow001/browser-use-guide","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/smseow001/skills/browser-use-guide","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":60,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"让AI代理控制浏览器自动化网页操作。支持 Claude/GPT/Gemini/Ollama，可执行填表、购物、搜索等任务。 Skill: browser-use AI浏览器自动化 Owner: smseow001 Summary: 让AI代理控制浏览器自动化网页操作。支持 Claude/GPT/Gemini/Ollam"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-11T21:22:16.229Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T21:22:16.229Z","emptyReason":null},"stars":null,"forks":null,"downloads":991,"likes":null,"task":null,"library":null,"packageName":null,"latestVersion":"1.0.0","tractionLabel":"991 downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T21:22:16.174Z","emptyReason":null},"lastUpdatedAt":"2026-10-11T21:22:16.229Z","lastCrawledAt":"2026-10-11T21:22:16.174Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-12T21:22:16.174Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.0","createdAt":"2026-04-28T09:10:24.344Z","changelog":"- 初始版本发布，集成 browser-use 详细安装、配置与快速上手指南。 - 支持 AI 代理自动化网页操作，包括自动填表、购物、比价与多平台集成。 - 提供本地与云端模式、LLM 多模型选择及 API Key 配置说明。 - 覆盖 CLI 命令、自定义工具、认证持久化与 OpenClaw 集成用法。 - 包含常见问题排查、费用说明及注意事项，适合新手与进阶用户。","fileCount":3,"zipByteSize":5478}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17a72fh5mgpvvs3dm2ax0yq8984pnqc:browser-use-guide","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-browser-use-guide/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-browser-use-guide/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-browser-use-guide/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-browser-use-guide/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-browser-use-guide/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-browser-use-guide/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-12T20:24:24.097Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-browser-use-guide/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-browser-use-guide/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-browser-use-guide/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-smseow001-browser-use-guide/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-11T21:22:16.229Z","emptyReason":null},"readme":"Skill: browser-use AI浏览器自动化\n\nOwner: smseow001\n\nSummary: 让AI代理控制浏览器自动化网页操作。支持 Claude/GPT/Gemini/Ollama，可执行填表、购物、搜索等任务。\n\nTags: ai-agent:1.0.0, automation:1.0.0, browser:1.0.0, chrome:1.0.0, latest:1.0.0, playwright:1.0.0, web:1.0.0\n\nVersion history:\n\nv1.0.0 | 2026-04-28T09:10:24.344Z | auto\n\n- 初始版本发布，集成 browser-use 详细安装、配置与快速上手指南。\n- 支持 AI 代理自动化网页操作，包括自动填表、购物、比价与多平台集成。\n- 提供本地与云端模式、LLM 多模型选择及 API Key 配置说明。\n- 覆盖 CLI 命令、自定义工具、认证持久化与 OpenClaw 集成用法。\n- 包含常见问题排查、费用说明及注意事项，适合新手与进阶用户。\n\nArchive index:\n\nArchive v1.0.0: 3 files, 5478 bytes\n\nFiles: skill-card.md (2355b), SKILL.md (8325b), _meta.json (136b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: browser-use\ndescription: 让AI代理控制浏览器自动化网页操作。支持 Claude/GPT/Gemini/Ollama，可执行填表、购物、搜索等任务。\n---\n\n# browser-use\n\n> 🌐 Make websites accessible for AI agents  \n> GitHub: [browser-use/browser-use](https://github.com/browser-use/browser-use) (90k+ ⭐)  \n> License: MIT | Language: Python 3.11+ | 安装方式: uv\n\n---\n\n## 一、核心定位\n\nbrowser-use 让 AI 代理能够控制浏览器完成网页自动化任务，核心理念：\n\n> **Tell your computer what to do, and it gets it done.**\n\n---\n\n## 二、核心能力\n\n| 能力 | 说明 |\n|------|------|\n| **填表** | 自动填写表单、求职申请 |\n| **购物** | 读取购物列表，自动在 Instacart 下单 |\n| **搜索比价** | 帮用户找 PC 配件、比较价格 |\n| **网页操作** | 点击、输入、截图、导航 |\n| **多平台集成** | Gmail、Slack、Notion 等 1000+ 集成 |\n\n---\n\n## 三、安装方式\n\n### 3.1 快速安装（uv）\n\n```bash\n# 1. 创建环境并安装\nuv init && uv add browser-use && uv sync\n\n# 2. 安装 Chromium（若无浏览器）\nuvx browser-use install\n\n# 3. 运行第一个代理\nuvx browser-use init --template default\n```\n\n### 3.2 OpenClaw 集成安装\n\n```bash\n# 克隆到 skills 目录\ncd /root/.openclaw/workspace/skills\ngit clone https://github.com/browser-use/browser-use.git browser-use\n\n# 或直接安装\nnpx clawhub@latest install browser-use\n```\n\n---\n\n## 四、配置 API Key\n\n### 4.1 环境变量配置\n\n```bash\n# 创建 .env 文件\ncat > .env << EOF\n# Browser Use 云端 API（推荐，支持 Stealth + Proxy）\nBROWSER_USE_API_KEY=your-key\n\n# 或使用其他 LLM\nGOOGLE_API_KEY=your-key\nANTHROPIC_API_KEY=your-key\nOPENAI_API_KEY=your-key\nEOF\n```\n\n### 4.2 API Key 获取\n\n| 服务 | 地址 | 费用 |\n|------|------|------|\n| **Browser Use Cloud** | cloud.browser-use.com | 免费额度 + 按量付费 |\n| **Google AI** | aistudio.google.com | 免费额度 |\n| **Anthropic** | console.anthropic.com | 按量付费 |\n| **OpenAI** | platform.openai.com | 按量付费 |\n| **Ollama（本地）** | ollama.com | 免费（自托管）|\n\n---\n\n## 五、快速开始\n\n### 5.1 基础代理代码\n\n```python\nfrom browser_use import Agent, Browser, ChatBrowserUse\nimport asyncio\n\nasync def main():\n    browser = Browser()  # 本地浏览器\n    # browser = Browser(use_cloud=True)  # 云端 Stealth 浏览器\n\n    agent = Agent(\n        task=\"Find the number of stars of the browser-use repo\",\n        llm=ChatBrowserUse(),  # 或 ChatAnthropic(model='claude-sonnet-4-6')\n        browser=browser,\n    )\n    await agent.run()\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n```\n\n### 5.2 指定 LLM 提供商\n\n```python\n# Google Gemini\nfrom browser_use import ChatGoogle\nagent = Agent(task=\"...\", llm=ChatGoogle(model='gemini-3-flash-preview'), browser=browser)\n\n# Anthropic Claude\nfrom browser_use import ChatAnthropic\nagent = Agent(task=\"...\", llm=ChatAnthropic(model='claude-sonnet-4-6'), browser=browser)\n\n# 本地 Ollama\nfrom browser_use import ChatOllama\nagent = Agent(task=\"...\", llm=ChatOllama(model='llama3'), browser=browser)\n```\n\n---\n\n## 六、CLI 工具\n\n### 6.1 常用命令\n\n```bash\n# 打开网页\nbrowser-use open https://example.com\n\n# 查看可点击元素\nbrowser-use state\n\n# 点击元素（按索引）\nbrowser-use click 5\n\n# 输入文本\nbrowser-use type \"Hello World\"\n\n# 截图\nbrowser-use screenshot page.png\n\n# 关闭浏览器\nbrowser-use close\n```\n\n### 6.2 模板生成\n\n```bash\n# 生成默认模板\nuvx browser-use init --template default\n\n# 生成高级配置模板\nuvx browser-use init --template advanced\n\n# 生成自定义工具示例\nuvx browser-use init --template tools\n```\n\n---\n\n## 七、自定义工具\n\n```python\nfrom browser_use import Agent, Browser, Tools\n\n# 定义自定义工具\ntools = Tools()\n\n@tools.action(description='获取指定 GitHub 仓库的星数')\ndef get_github_stars(repo: str) -> str:\n    \"\"\"查询 GitHub 仓库的星数\"\"\"\n    import requests\n    r = requests.get(f\"https://api.github.com/repos/{repo}\")\n    return r.json().get(\"stargazers_count\", \"Unknown\")\n\n# 创建代理\nagent = Agent(\n    task=\"查询 browser-use 仓库的星数\",\n    llm=ChatBrowserUse(),\n    browser=Browser(),\n    tools=tools,\n)\nawait agent.run()\n```\n\n---\n\n## 八、认证与持久化\n\n### 8.1 复用 Chrome 配置\n\n```python\nfrom browser_use import Agent, Browser\n\nbrowser = Browser(\n    chrome_instance_path=\"/path/to/chrome\",  # 复用本地 Chrome\n)\n\nagent = Agent(\n    task=\"登录我的 Gmail 并发送邮件\",\n    llm=ChatBrowserUse(),\n    browser=browser,\n)\n```\n\n### 8.2 同步云端配置\n\n```bash\n# 同步认证信息到云端\ncurl -fsSL https://browser-use.com/profile.sh | \\\n  BROWSER_USE_API_KEY=XXXX sh\n```\n\n---\n\n## 九、云端 vs 开源\n\n| 特性 | 开源版 | 云端版（推荐）|\n|------|--------|-------------|\n| **费用** | 免费（需自备 LLM API）| 免费额度 + 按量 |\n| **Stealth** | ❌ 需自配 | ✅ Proxy 轮换 + CAPTCHA 解决 |\n| **维护** | 需自己运维 | ✅ 全托管 |\n| **自定义工具** | ✅ 深度集成 | ✅ 支持 |\n| **并发规模** | 受限于本地资源 | ✅ 可水平扩展 |\n\n---\n\n## 十、应用场景示例\n\n### 10.1 求职申请\n\n```python\nagent = Agent(\n    task=\"Fill in this job application with my resume and information.\",\n    llm=ChatBrowserUse(),\n    browser=Browser(),\n)\nawait agent.run()\n```\n\n### 10.2 购物\n\n```python\nagent = Agent(\n    task=\"Put this list of items into my instacart: milk, eggs, bread.\",\n    llm=ChatBrowserUse(),\n    browser=Browser(),\n)\nawait agent.run()\n```\n\n### 10.3 比价搜索\n\n```python\nagent = Agent(\n    task=\"Help me find parts for a custom PC within budget $1500.\",\n    llm=ChatBrowserUse(),\n    browser=Browser(),\n)\nawait agent.run()\n```\n\n---\n\n## 十一、故障排除\n\n| 问题 | 解决方案 |\n|------|---------|\n| **Chromium 未安装** | `uvx browser-use install` |\n| **API Key 报错** | 检查 .env 文件配置 |\n| **浏览器无法启动** | `chrome --version` 确认已安装 Chrome |\n| **被网站检测** | 使用云端版 `Browser(use_cloud=True)` |\n| **任务失败** | 增加 `max_steps` 参数 |\n\n---\n\n## 十二、OpenClaw 集成\n\n### 12.1 MCP 服务方式（推荐）\n\n```bash\n# 安装 MCP\ncd /root/.openclaw/workspace\nnpx clawhub@latest install browser-use-mcp\n\n# 添加到 mcporter 配置\nopenclaw mcp add browser-use --command \"python -m browser_use.mcp\"\n```\n\n### 12.2 Claude Code Skill\n\n```bash\nmkdir -p ~/.claude/skills/browser-use\ncurl -o ~/.claude/skills/browser-use/SKILL.md \\\n  https://raw.githubusercontent.com/browser-use/browser-use/main/skills/browser-use/SKILL.md\n```\n\n---\n\n## 十三、费用参考\n\n### ChatBrowserUse 模型定价（推荐）\n\n| 类型 | 价格（每 1M tokens）|\n|------|---------------------|\n| **输入** | $0.20 |\n| **缓存输入** | $0.02 |\n| **输出** | $2.00 |\n\n### 其他模型对比\n\n| 模型 | 特点 |\n|------|------|\n| **bu-30b-a3b-preview** | Browser Use 专用优化模型 |\n| **claude-sonnet-4-6** | Anthropic 最新旗舰 |\n| **gemini-3-flash-preview** | Google 高效模型 |\n| **llama3（Ollama）** | 免费本地运行 |\n\n---\n\n## 十四、使用方式\n\n### 触发场景\n\n```\n用户说「帮我自动填表」→ browser-use 填表示例\n用户说「自动帮我购物」→ browser-use 购物示例\n用户说「AI 控制浏览器」→ 展示 browser-use 能力\n用户说「安装 browser-use」→ 执行安装步骤\n用户说「配置 API key」→ 执行配置流程\n```\n\n### 组合使用\n\n```\n用户：「帮我自动化完成这个求职申请流程」\n→ 分析表单字段\n→ 调用 browser-use Agent\n→ 配置 ChatBrowserUse() LLM\n→ 自动执行填表 + 上传简历\n```\n\n---\n\n## 十五、关联技能\n\n| 关联技能 | 关系 |\n|---------|------|\n| `chrome-devtools-mcp` | 浏览器自动化底层工具 |\n| `browser-automation-stealth` | 隐身浏览器技术 |\n| `cognee-memory` | 记忆管理（跨会话持久化）|\n| `ai-research-tools` | 科研数据自动采集 |\n\n---\n\n## 十六、注意事项\n\n```\n⚠️ 注意事项：\n- Python >= 3.11 required\n- 建议使用 uv 管理依赖\n- 云端版有免费额度\n- 部分网站有反爬机制，建议使用云端 stealth 浏览器\n- 遵守网站使用条款，勿用于非法爬虫\n```\n\n---\n\n*本技能整合 browser-use 完整安装配置与应用指南*\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn7expjc3a3skyesxdg25d55n184p52s\",\n  \"slug\": \"browser-use-guide\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1777367424344\n}\n\nFile v1.0.0:skill-card.md\n\n## Description:\n\n让AI代理控制浏览器自动化网页操作。支持 Claude/GPT/Gemini/Ollama，可执行填表、购物、搜索等任务。\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smseow001](https://clawhub.ai/user/smseow001)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers and external users use this skill for guidance on installing, configuring, and using browser-use so AI agents can automate browser tasks such as form filling, shopping workflows, web searches, screenshots, and authenticated site interactions.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill asks users to run mutable remote installers and package commands.\n\nMitigation: Use pinned package versions and commit-specific URLs, inspect downloaded scripts before running them, and avoid curl-to-shell execution.\n\nRisk: Browser automation can act on authenticated sessions, synced profiles, forms, uploads, purchases, email, and account state.\n\nMitigation: Use a dedicated browser profile and require manual confirmation before purchases, form submissions, uploads, email sending, or account changes.\n\nRisk: The release is flagged suspicious because authentication and browser profile sharing are not scoped enough.\n\nMitigation: Review the skill before installation and do not sync or reuse a personal browser profile unless the shared authentication data is understood.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/smseow001/skills/browser-use-guide)\n- [browser-use GitHub repository](https://github.com/browser-use/browser-use)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown with shell commands, Python snippets, configuration examples, and troubleshooting guidance]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Includes browser automation setup guidance, API key configuration notes, CLI examples, and integration instructions.]\n\n## Skill Version(s):\n\n1.0.0 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.","readmeExcerpt":"Skill: browser-use AI浏览器自动化 Owner: smseow001 Summary: 让AI代理控制浏览器自动化网页操作。支持 Claude/GPT/Gemini/Ollama，可执行填表、购物、搜索等任务。 Tags: ai-agent:1.0.0, automation:1.0.0, browser:1.0.0, chrome:1.0.0, latest:1.0.0, playwright:1.0.0, web:1.0.0 Version history: v1.0.0 | 2026-04-28T09:10:24.344Z | auto - 初始版本发布，集成 browser-use 详细安装、配置与快速上手指南。 - 支持 AI 代理自动化网页操作，包括自动填表、购物、比价与多平台集成。 - 提供本地与云端模式、LLM 多模型选择及 API Key 配置说明。 - 覆盖 CLI 命令、自定义工具、认证","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"# 1. 创建环境并安装\nuv init && uv add browser-use && uv sync\n\n# 2. 安装 Chromium（若无浏览器）\nuvx browser-use install\n\n# 3. 运行第一个代理\nuvx browser-use init --template default"},{"language":"bash","snippet":"# 克隆到 skills 目录\ncd /root/.openclaw/workspace/skills\ngit clone https://github.com/browser-use/browser-use.git browser-use\n\n# 或直接安装\nnpx clawhub@latest install browser-use"},{"language":"bash","snippet":"# 创建 .env 文件\ncat > .env << EOF\n# Browser Use 云端 API（推荐，支持 Stealth + Proxy）\nBROWSER_USE_API_KEY=your-key\n\n# 或使用其他 LLM\nGOOGLE_API_KEY=your-key\nANTHROPIC_API_KEY=your-key\nOPENAI_API_KEY=your-key\nEOF"},{"language":"python","snippet":"from browser_use import Agent, Browser, ChatBrowserUse\nimport asyncio\n\nasync def main():\n    browser = Browser()  # 本地浏览器\n    # browser = Browser(use_cloud=True)  # 云端 Stealth 浏览器\n\n    agent = Agent(\n        task=\"Find the number of stars of the browser-use repo\",\n        llm=ChatBrowserUse(),  # 或 ChatAnthropic(model='claude-sonnet-4-6')\n        browser=browser,\n    )\n    await agent.run()\n\nif __name__ == \"__main__\":\n    asyncio.run(main())"},{"language":"python","snippet":"# Google Gemini\nfrom browser_use import ChatGoogle\nagent = Agent(task=\"...\", llm=ChatGoogle(model='gemini-3-flash-preview'), browser=browser)\n\n# Anthropic Claude\nfrom browser_use import ChatAnthropic\nagent = Agent(task=\"...\", llm=ChatAnthropic(model='claude-sonnet-4-6'), browser=browser)\n\n# 本地 Ollama\nfrom browser_use import ChatOllama\nagent = Agent(task=\"...\", llm=ChatOllama(model='llama3'), browser=browser)"},{"language":"bash","snippet":"# 打开网页\nbrowser-use open https://example.com\n\n# 查看可点击元素\nbrowser-use state\n\n# 点击元素（按索引）\nbrowser-use click 5\n\n# 输入文本\nbrowser-use type \"Hello World\"\n\n# 截图\nbrowser-use screenshot page.png\n\n# 关闭浏览器\nbrowser-use close"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: browser-use\ndescription: 让AI代理控制浏览器自动化网页操作。支持 Claude/GPT/Gemini/Ollama，可执行填表、购物、搜索等任务。\n---\n\n# browser-use\n\n> 🌐 Make websites accessible for AI agents  \n> GitHub: [browser-use/browser-use](https://github.com/browser-use/browser-use) (90k+ ⭐)  \n> License: MIT | Language: Python 3.11+ | 安装方式: uv\n\n---\n\n## 一、核心定位\n\nbrowser-use 让 AI 代理能够控制浏览器完成网页自动化任务，核心理念：\n\n> **Tell your computer what to do, and it gets it done.**\n\n---\n\n## 二、核心能力\n\n| 能力 | 说明 |\n|------|------|\n| **填表** | 自动填写表单、求职申请 |\n| **购物** | 读取购物列表，自动在 Instacart 下单 |\n| **搜索比价** | 帮用户找 PC 配件、比较价格 |\n| **网页操作** | 点击、输入、截图、导航 |\n| **多平台集成** | Gmail、Slack、Notion 等 1000+ 集成 |\n\n---\n\n## 三、安装方式\n\n### 3.1 快速安装（uv）\n\n```bash\n# 1. 创建环境并安装\nuv init && uv add browser-use && uv sync\n\n# 2. 安装 Chromium（若无浏览器）\nuvx browser-use install\n\n# 3. 运行第一个代理\nuvx browser-use init --template default\n```\n\n### 3.2 OpenClaw 集成安装\n\n```bash\n# 克隆到 skills 目录\ncd /root/.openclaw/workspace/skills\ngit clone https://github.com/browser-use/browser-use.git browser-use\n\n# 或直接安装\nnpx clawhub@latest install browser-use\n```\n\n---\n\n## 四、配置 API Key\n\n### 4.1 环境变量配置\n\n```bash\n# 创建 .env 文件\ncat > .env << EOF\n# Browser Use 云端 API（推荐，支持 Stealth + Proxy）\nBROWSER_USE_API_KEY=your-key\n\n# 或使用其他 LLM\nGOOGLE_API_KEY=your-key\nANTHROPIC_API_KEY=your-key\nOPENAI_API_KEY=your-key\nEOF\n```\n\n### 4.2 API Key 获取\n\n| 服务 | 地址 | 费用 |\n|------|------|------|\n| **Browser Use Cloud** | cloud.browser-use.com | 免费额度 + 按量付费 |\n| **Google AI** | aistudio.google.com | 免费额度 |\n| **Anthropic** | console.anthropic.com | 按量付费 |\n| **OpenAI** | platform.openai.com | 按量付费 |\n| **Ollama（本地）** | ollama.com | 免费（自托管）|\n\n---\n\n## 五、快速开始\n\n### 5.1 基础代理代码\n\n```python\nfrom browser_use import Agent, Browser, ChatBrowserUse\nimport asyncio\n\nasync def main():\n    browser = Browser()  # 本地浏览器\n    # browser = Browser(use_cloud=True)  # 云端 Stealth 浏览器\n\n    agent = Agent(\n        task=\"Find the number of stars of the browser-use repo\",\n        llm=ChatBrowserUse(),  # 或 ChatAnthropic(model='claude-sonnet-4-6')\n        browser=browser,\n    )\n    await agent.run()\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n```\n\n### 5.2 指定 LLM 提供商\n\n```python\n# Google Gemini\nfrom browser_use import ChatGoogle\nagent = Agent(task=\"...\", llm=ChatGoogle(model='gemini-3-flash-preview'), browser=browser)\n\n# Anthropic Claude\nfrom browser_use import ChatAnthropic\nagent = Agent(task=\"...\", llm=ChatAnthropic(model='claude-sonnet-4-6'), browser=browser)\n\n# 本地 Ollama\nfrom browser_use import ChatOllama\nagent = Agent(task=\"...\", llm=ChatOllama(model='llama3'), browser=browser)\n```\n\n---\n\n## 六、CLI 工具\n\n### 6.1 常用命令\n\n```bash\n# 打开网页\nbrowser-use open https://example.com\n\n# 查看可点击元素\nbrowser-use state\n\n# 点击元素（按索引）\nbrowser-use click 5\n\n# 输入文本\nbrowser-use type \"Hello World\"\n\n# 截图\nbrowser-use screenshot page.png\n\n# 关闭浏览器\nbrowser-use close\n```\n\n### 6.2 模板生成\n\n```bash\n# 生成默认模板\nuvx browser-use init --template default\n\n# 生成高级配置模板\nuvx browser-use init --template advanced\n\n# 生成自定义工具示例\nuvx browser-use init --template tools\n```\n\n---\n\n## 七、自定义工具\n\n```python\nf"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7expjc3a3skyesxdg25d55n184p52s\",\n  \"slug\": \"browser-use-guide\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1777367424344\n}"},{"path":"skill-card.md","content":"## Description:\n\n让AI代理控制浏览器自动化网页操作。支持 Claude/GPT/Gemini/Ollama，可执行填表、购物、搜索等任务。\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[smseow001](https://clawhub.ai/user/smseow001)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers and external users use this skill for guidance on installing, configuring, and using browser-use so AI agents can automate browser tasks such as form filling, shopping workflows, web searches, screenshots, and authenticated site interactions.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill asks users to run mutable remote installers and package commands.\n\nMitigation: Use pinned package versions and commit-specific URLs, inspect downloaded scripts before running them, and avoid curl-to-shell execution.\n\nRisk: Browser automation can act on authenticated sessions, synced profiles, forms, uploads, purchases, email, and account state.\n\nMitigation: Use a dedicated browser profile and require manual confirmation before purchases, form submissions, uploads, email sending, or account changes.\n\nRisk: The release is flagged suspicious because authentication and browser profile sharing are not scoped enough.\n\nMitigation: Review the skill before installation and do not sync or reuse a personal browser profile unless the shared authentication data is understood.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/smseow001/skills/browser-use-guide)\n- [browser-use GitHub repository](https://github.com/browser-use/browser-use)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown with shell commands, Python snippets, configuration examples, and troubleshooting guidance]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Includes browser automation setup guidance, API key configuration notes, CLI examples, and integration instructions.]\n\n## Skill Version(s):\n\n1.0.0 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment."}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"让AI代理控制浏览器自动化网页操作。支持 Claude/GPT/Gemini/Ollama，可执行填表、购物、搜索等任务。 Skill: browser-use AI浏览器自动化 Owner: smseow001 Summary: 让AI代理控制浏览器自动化网页操作。支持 Claude/GPT/Gemini/Ollama，可执行填表、购物、搜索等任务。 Tags: ai-agent:1.0.0, automation:1.0.0, browser:1.0.0, chrome:1.0.0, latest:1.0.0, playwright:1.0.0, web:1.0.0 Version history: v1.0.0 | 2026-04-28T09:10:24.344Z | auto - 初始版本发布，集成 browser-use 详细安装、配置与快速上手指南。 - 支持 AI 代理自动化网页操作，包括自动填表、购物、比价与多平台集成。 - 提供本地与云端模式、LLM 多模型选择及 API Key 配置说明。 - 覆盖 CLI 命令、自定义工具、认证","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":727,"uniquenessScore":60,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-11T21:22:16.229Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-11T21:22:16.229Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-12T20:24:24.097Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}