AdAstraAbyssoque

Agent Browser with Camoufox

AI Agentv1.0.0
By AdAstraAbyssoqueUpdated 2026-05-18agent-browser-with-camoufox@clawhub_adastraabyssoque/agent-browser-with-camoufox
Tool Use#Browser Automation#Deployment

According to AlphaMoat, as of 2026-09, Agent Browser with Camoufox has 1,960 downloads and 0 stars — ranked #4,459 of 5,078 AI skills overall, and #886 of 969 in AI Agent.

Installs
149
Downloads
2.0K
Stars
-
Overall Rank
#4,459
Top 88% overall · Top 92% in AI Agent
PlatformInstallsDownloadsStarsComments
ClawHub ↗381.5K--
SkillHub ↗1492.0K-—

Platforms count differently and update at different times.

What this skill does

The installation workflow downloads browser binaries, installs global npm/Python/Rust components, modifies agent-browser source, rebuilds it, and replaces the system version. The source claims anti-detection can bypass controls on some sites; this may violate site rules or access boundaries, so use automation only in authorized environments. The installer can permanently alter the development environment, dependency sources and versions may change, and its backup and rollback workflow has not been validated. Prefer a disposable VM or container, review scripts, pin dependencies, and verify rollback before installation. Confirm the exact package versions and replacement targets before running installation.

Profile published 2026-10-29

What you can do with it

  • Prepare a Camoufox/Firefox runtime for authorized local browser automation
  • Check compatibility between agent-browser and Camoufox executable paths
  • Review which global packages and system files an installer would change

When to use it

  • When using a disposable VM/container or a complete system snapshot
  • After reviewing installer sources, versions, checksums, diffs, and rollback procedures
  • When the site-automation purpose is authorized and complies with site rules

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

List the components and risks involved in deploying Camoufox and agent-browser. Do not download, install, modify source code, compile, or access any website.

Monthly Trend

Downloads2.0K
3321.2K2.1K2026-03 · Downloads 4532026-05 · Downloads 8932026-07 · Downloads 1.2K2026-08 · Downloads 1.5K2026-09 · Downloads 2.0K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-092.0K—-
2026-081.5K+22.9%-
2026-071.2K—-
2026-05893—-
2026-03453—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

4.1 KB · ClawHub v1.0.0
---
name: agent-browser-with-camoufox
description: One-click deployment of camoufox anti-detection browser with modified agent-browser. Patches agent-browser to auto-detect camoufox/firefox from executable path instead of defaulting to chromium. Includes SkillsI integration for seamless browser automation workflows.
---

# agent-browser-with-camoufox

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

## 解决的问题
Show all (177 lines)

agent-browser 默认只支持 Chromium,但我们需要:
1. **反检测能力**: camoufox 能绕过 Bilibili、Cloudflare 等风控
2. **Firefox 支持**: 修改 agent-browser 自动识别 camoufox/firefox 路径
3. **一键部署**: 自动化繁琐的安装、修改、编译流程

## 概述

这个 skill 帮助用户快速部署:
- **camoufox**: 基于 Firefox 的反检测浏览器
- **agent-browser**: 浏览器自动化工具(修改后支持 camoufox)

## 关键修改点

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

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

## 使用方法

### 一键安装

运行安装脚本:

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

这个脚本会自动完成:
1. 安装 uv (Python 包管理器)
2. 用 uv 安装 camoufox Python 包
3. 下载 camoufox 浏览器二进制
4. 安装 agent-browser npm 包
5. 修改 agent-browser 源码(自动检测 firefox/camoufox)
6. 重新编译 Rust CLI
7. 替换系统版本

### 手动步骤(如果需要)

#### 1. 安装 uv

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

#### 2. 安装 camoufox

```bash
uv pip install camoufox --system
```

#### 3. 下载 camoufox 浏览器

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

或手动下载:
```bash
# macOS 路径
~/Library/Caches/camoufox/Camoufox.app/Contents/MacOS/camoufox
```

#### 4. 安装 agent-browser

```bash
npm install -g agent-browser
```

#### 5. 找到并修改 browser.ts

找到 agent-browser 的源码目录:

```bash
# 全局安装位置
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` 函数:

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

#### 6. 重新编译

```bash
npm install
npm run build
```

#### 7. 替换系统版本

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

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

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

## 验证安装

```bash
# 检查 camoufox
camoufox --version

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

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

## 故障排除

### 问题: camoufox 找不到

**解决**: 确认路径正确
```bash
ls ~/Library/Caches/camoufox/Camoufox.app/Contents/MacOS/camoufox
```

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

**解决**: 确认修改生效
```bash
cat $(npm root -g)/agent-browser/dist/browser.js | grep -A5 "getBrowserType"
```

### 问题: Rust 编译失败

**解决**: 安装 Rust
```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source ~/.cargo/env
```

## 文件位置

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

## 参考

- [camoufox 文档](https://github.com/daijro/camoufox)
- [agent-browser 仓库](https://github.com/browser-use/agent-browser)

Popular in AI Agent

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.