# Send Agent Browser with Camoufox to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "agent-browser-with-camoufox",
    "name": "Agent Browser with Camoufox",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/AdAstraAbyssoque/agent-browser-with-camoufox",
    "canonicalUrl": "https://clawhub.ai/AdAstraAbyssoque/agent-browser-with-camoufox",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/agent-browser-with-camoufox",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-browser-with-camoufox",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/install.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/agent-browser-with-camoufox"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/agent-browser-with-camoufox",
    "downloadUrl": "https://openagent3.xyz/downloads/agent-browser-with-camoufox",
    "agentUrl": "https://openagent3.xyz/skills/agent-browser-with-camoufox/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agent-browser-with-camoufox/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agent-browser-with-camoufox/agent.md"
  }
}
```
## Documentation

### agent-browser-with-camoufox

🚀 一键部署 camoufox + agent-browser 反检测浏览器工具链。

### 解决的问题

agent-browser 默认只支持 Chromium，但我们需要：

反检测能力: camoufox 能绕过 Bilibili、Cloudflare 等风控
Firefox 支持: 修改 agent-browser 自动识别 camoufox/firefox 路径
一键部署: 自动化繁琐的安装、修改、编译流程

### 概述

这个 skill 帮助用户快速部署：

camoufox: 基于 Firefox 的反检测浏览器
agent-browser: 浏览器自动化工具（修改后支持 camoufox）

### 关键修改点

agent-browser 默认使用 Chromium，需要修改以支持 camoufox/firefox：

修改 browser.ts: 自动检测 executablePath 中的 camoufox/firefox 关键字
正确的 camoufox 路径: ~/Library/Caches/camoufox/Camoufox.app/Contents/MacOS/camoufox (macOS)
重新编译: 需要重新编译 Rust CLI 并替换 npm 包中的二进制

### 一键安装

运行安装脚本：

bash ~/.openclaw/workspace/skills/camoufox-deploy/scripts/install.sh

这个脚本会自动完成：

安装 uv (Python 包管理器)
用 uv 安装 camoufox Python 包
下载 camoufox 浏览器二进制
安装 agent-browser npm 包
修改 agent-browser 源码（自动检测 firefox/camoufox）
重新编译 Rust CLI
替换系统版本

### 手动步骤（如果需要）

1. 安装 uv

curl -LsSf https://astral.sh/uv/install.sh | sh

2. 安装 camoufox

uv pip install camoufox --system

3. 下载 camoufox 浏览器

python3 -c "from camoufox.sync_api import Camoufox; Camoufox()"

或手动下载：

# macOS 路径
~/Library/Caches/camoufox/Camoufox.app/Contents/MacOS/camoufox

4. 安装 agent-browser

npm install -g agent-browser

5. 找到并修改 browser.ts

找到 agent-browser 的源码目录：

# 全局安装位置
npm root -g
cd $(npm root -g)/agent-browser

# 或克隆源码
git clone https://github.com/browser-use/agent-browser.git
cd agent-browser

修改 src/browser.ts 中的 getBrowserType 函数：

private getBrowserType(executablePath: string): 'chromium' | 'firefox' {
  const lowerPath = executablePath.toLowerCase();
  if (lowerPath.includes('firefox') || lowerPath.includes('camoufox')) {
    return 'firefox';
  }
  return 'chromium';
}

6. 重新编译

npm install
npm run build

7. 替换系统版本

# 找到全局安装位置
GLOBAL_PATH=$(npm root -g)/agent-browser

# 备份原版本
cp -r "$GLOBAL_PATH" "${GLOBAL_PATH}.backup"

# 替换为修改版本
cp -r ./ "$GLOBAL_PATH/"

### 验证安装

# 检查 camoufox
camoufox --version

# 检查 agent-browser
agent-browser --version

# 运行测试
agent-browser --executable-path ~/Library/Caches/camoufox/Camoufox.app/Contents/MacOS/camoufox

### 问题: camoufox 找不到

解决: 确认路径正确

ls ~/Library/Caches/camoufox/Camoufox.app/Contents/MacOS/camoufox

### 问题: agent-browser 仍使用 chromium

解决: 确认修改生效

cat $(npm root -g)/agent-browser/dist/browser.js | grep -A5 "getBrowserType"

### 问题: Rust 编译失败

解决: 安装 Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source ~/.cargo/env

### 文件位置

文件位置camoufox 可执行文件~/Library/Caches/camoufox/Camoufox.app/Contents/MacOS/camoufoxagent-browser 全局安装$(npm root -g)/agent-browser安装脚本~/.openclaw/workspace/skills/camoufox-deploy/scripts/install.sh

### 参考

camoufox 文档
agent-browser 仓库
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: AdAstraAbyssoque
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/agent-browser-with-camoufox)
- [Send to Agent page](https://openagent3.xyz/skills/agent-browser-with-camoufox/agent)
- [JSON manifest](https://openagent3.xyz/skills/agent-browser-with-camoufox/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/agent-browser-with-camoufox/agent.md)
- [Download page](https://openagent3.xyz/downloads/agent-browser-with-camoufox)