Anti-detection web browsing that bypasses bot detection, CAPTCHAs, and IP blocks using puppeteer-extra with stealth plugin and optional residential proxy sup...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install b0tresch-stealth-browser或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install b0tresch-stealth-browser⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/b0tresch-stealth-browser/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: stealth-browser description: Anti-detection web browsing that bypasses bot detection, CAPTCHAs, and IP blocks using puppeteer-extra with stealth plugin and optional residential proxy support. Use when (1) websites block headless browsers or datacenter IPs, (2) need to bypass Cloudflare/Vercel protection, (3) accessing sites that detect automation (Reddit, Twitter/X, signup flows), (4) scraping protected content, or (5) automating web tasks that require human-like behavior. ---
Bypass bot detection and IP blocks with puppeteer-extra stealth plugin and optional Smartproxy residential proxy support.
✅ Relay.link (was blocked by Vercel, now works) ✅ X/Twitter profiles ✅ Bot detection tests (sannysoft.com) ✅ Faucet sites with protection ✅ Reddit (datacenter IP blocks)
# Basic usage (stealth only)
node scripts/browser.js "https://example.com"
# With residential proxy (bypasses IP blocks)
node scripts/browser.js "https://example.com" --proxy
# Screenshot
node scripts/browser.js "https://example.com" --proxy --screenshot output.png
# Get HTML content
node scripts/browser.js "https://example.com" --proxy --html
# Get text content
node scripts/browser.js "https://example.com" --proxy --text
cd /path/to/skill
npm install
Required packages (automatically handled by npm install with included package.json):
puppeteer-extrapuppeteer-extra-plugin-stealthpuppeteerFor bypassing IP-based blocks, set up Smartproxy residential proxy:
Create ~/.config/smartproxy/proxy.json:
{
"host": "proxy.smartproxy.net",
"port": "3120",
"username": "smart-ppz3iii4l2qr_area-US_life-30_session-xxxxx",
"password": "your-password"
}
Get credentials from Smartproxy dashboard: https://dashboard.smartproxy.com
Smartproxy session parameters:
_area-US → Use US residential IPs_life-30 → Session lasts 30 minutes_session-xxxxx → Sticky session (same IP for duration)Without proxy, the browser still uses stealth plugin to avoid detection, but may be blocked by IP-based protection.
The browser includes multiple anti-detection measures:
- Removes navigator.webdriver flag - Spoofs Chrome user agent and headers - Fakes plugins, languages, permissions - Removes automation signatures
- Realistic viewport (1920x1080) - Updated user agent (Chrome 121) - Natural browser properties - No automation control flags
--proxy used):- Routes through residential IPs - Bypasses datacenter IP blocks - Sticky sessions (same IP per session) - Geographic targeting (US by default)
| Protection | Headless Puppeteer | Stealth Plugin | + Residential Proxy | |------------|-------------------|----------------|-------------------| | navigator.webdriver | ❌ Detected | ✅ Hidden | ✅ Hidden | | User Agent | ❌ Generic | ✅ Realistic | ✅ Realistic | | WebGL/Canvas | ❌ Headless | ✅ Spoofed | ✅ Spoofed | | IP Blocks | ❌ Datacenter | ❌ Datacenter | ✅ Residential | | Cloudflare | ❌ Blocked | ⚠️ Sometimes | ✅ Usually works | | Turnstile CAPTCHA | ❌ Blocked | ❌ Blocked | ⚠️ Reduced chance |
# Test on bot detection site
node scripts/browser.js "https://bot.sannysoft.com" --screenshot detection.png
Look for green checkmarks = undetected, red = detected.
# Get page text content
node scripts/browser.js "https://protected-site.com" --proxy --text > output.txt
# Take daily screenshot for comparison
node scripts/browser.js "https://target-site.com" --proxy --screenshot "$(date +%Y-%m-%d).png"
import { browse } from './scripts/browser.js';
const result = await browse('https://example.com', {
proxy: true,
html: true
});
// Parse result.html with cheerio or similar
console.log(result.html);
Smartproxy residential pricing:
When to use proxy:
When stealth-only is enough:
Error: Failed to launch the browser process
Solution: Install required system dependencies:
# Debian/Ubuntu
sudo apt-get install -y gconf-service libasound2 libatk1.0-0 libc6 libcairo2 \
libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 \
libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 \
libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 \
libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 \
libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation \
libappindicator1 libnss3 lsb-release xdg-utils wget
Error: net::ERR_PROXY_AUTH_REQUESTED
Solution: Check proxy credentials in ~/.config/smartproxy/proxy.json. Verify username/password are correct in Smartproxy dashboard.
Try these:
```json "username": "smart-ppz3iii4l2qr_area-US_life-30_session-NEW_RANDOM_STRING" ```
```javascript await page.goto(url, { waitUntil: 'networkidle2' }); await page.waitForTimeout(5000); // Wait 5s ```
```bash node scripts/browser.js "https://bot.sannysoft.com" --proxy --screenshot test.png ```
```json "username": "smart-ppz3iii4l2qr_area-GB_life-30_session-xxxxx" ```
Capabilities: This skill is read-only — it fetches web pages, captures screenshots, and extracts text/HTML. It does not perform any financial operations, value transfers, or wallet interactions.
Authentication: Proxy credentials are used solely for routing HTTP traffic through residential IPs. They do not grant access to any financial accounts or value-bearing systems.
~/.config/smartproxy/proxy.json with 600 permissions....
安装 B0tresch Stealth Browser 后,可以对 AI 说这些话来触发它
Help me get started with B0tresch Stealth Browser
Explains what B0tresch Stealth Browser does, walks through the setup, and runs a quick demo based on your current project
Use B0tresch Stealth Browser to anti-detection web browsing that bypasses bot detection, CAPTCHAs, ...
Invokes B0tresch Stealth Browser with the right parameters and returns the result directly in the conversation
What can I do with B0tresch Stealth Browser in my general tools workflow?
Lists the top use cases for B0tresch Stealth Browser, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/b0tresch-stealth-browser/ 目录(个人级,所有项目可用),或 .claude/skills/b0tresch-stealth-browser/(项目级)。重启 AI 客户端后,用 /b0tresch-stealth-browser 主动调用,或让 AI 根据上下文自动发现并使用。
B0tresch Stealth Browser 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
B0tresch Stealth Browser 可免费安装使用。请查阅仓库了解许可证信息。
Anti-detection web browsing that bypasses bot detection, CAPTCHAs, and IP blocks using puppeteer-extra with stealth plugin and optional residential proxy sup...
B0tresch Stealth Browser 属于「General Tools」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my general tools tasks using B0tresch Stealth Browser
Identifies repetitive steps in your workflow and sets up B0tresch Stealth Browser to handle them automatically