The stealth-browser skill allows users to automate Chrome in a way that makes automation undetectable by websites. It utilizes the Chrome DevTools Protocol and is specifically designed for macOS, using AppleScript to hide the browser while it operates.
$ npx skills add https://github.com/changeflowhq/skills --skill stealth-browserstealth-browser launches your real Chrome installation completely hidden and controls it via Chrome DevTools Protocol, making automation undetectable to websites. It automatically falls back to stealth mode when standard web fetches are blocked by bot protection, Cloudflare, or 403 errors, learning which domains require invisible automation for future requests. The skill ships with uBlock Origin Lite and cookie banner dismissal built in, and uses a three-layer learning system via PreToolUse and PostToolUse hooks to intelligently route requests. It's designed for macOS and solves the core problem of web scraping against sites with anti-bot detection, giving you a real browser instance with genuine extensions that sites cannot identify as automated.
Install using `npx skills add https://github.com/changeflowhq/skills --skill stealth-browser`
Automating website testing without detection
Scraping data from sites that block bots
Interacting with web applications while remaining invisible to the browser's UI
$ npx skills add https://github.com/changeflowhq/skills --skill stealth-browsergit clone https://github.com/changeflowhq/skillsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Act as a stealth-browser automation expert. Use the Chrome DevTools Protocol and AppleScript on macOS to automate [WEBSITE] in a way that avoids detection. Perform [TASK] without triggering anti-bot measures. Ensure the browser runs invisibly in the background. Use [SELECTORS] for navigation. Return only the automation script and execution steps.
```
**Stealth Automation Script Generated**
**1. Setup & Launch**
```bash
# Open Chrome in headless mode via AppleScript (invisible)
tell application "Google Chrome"
activate
set windowIndex to 1
set bounds of window 1 to {0, 0, 0, 0} -- Off-screen positioning
end tell
```
**2. Navigate to Target URL**
```javascript
// Chrome DevTools Protocol (CDP) to load page stealthily
const { CDP } = require('chrome-remote-interface');
(async () => {
const client = await CDP({port: 9222});
const {Page} = client;
await Page.enable();
await Page.navigate({url: 'https://[WEBSITE]/[PAGE_PATH]'});
await Page.loadEventFired();
// Mimic human-like delays
await new Promise(resolve => setTimeout(resolve, 1500 + Math.random() * 1000));
client.close();
})();
```
**3. Execute Task: Data Extraction**
- **Selector Used**: `#product-grid .item`
- **Action**: Scrape product names, prices, and availability.
- **Stealth Measures**:
- Randomized mouse movements via CDP `Input.dispatchMouseEvent`.
- Human-like typing delays for form inputs.
- Rotated user-agent headers.
**Output Preview:**
```
| Product Name | Price | In Stock |
|-----------------------|--------|----------|
| Wireless Earbuds Pro | $89.99 | ✅ |
| Smart Watch X1 | $199.00| ❌ |
| Laptop Stand | $45.50 | ✅ |
```
```Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan