When standard browser automation gets blocked by Cloudflare or bot detection, this is what you reach for. It's a wrapper around Camoufox, a Firefox fork with C++ level fingerprint spoofing that actually works against sites like Twitter and Amazon. The workflow is simple: open a URL, snapshot to get element refs like @e1 and @e2, then click and type using those refs. First run downloads about 300MB. The real value is in what it evades: canvas fingerprinting, WebGL tracking, and the usual JavaScript bot checks. It's slower than Playwright but that's the point. When agent-browser returns a captcha wall, switch to this.
npx -y skills add yelban/camofox-browser-skills --skill camofox-browser --agent claude-codeInstalls into .claude/skills of the current project.
Stealth browser automation via Camoufox (Firefox fork). C++ level fingerprint spoofing — undetectable by JavaScript-based bot checks. REST API wrapper using curl.
First use automatically downloads and installs the Camoufox browser (~300MB, one-time). No manual setup required — just run any camofox command.
camofox open https://example.com # Open URL (auto-starts server)
camofox snapshot # Get page elements with @refs
camofox click @e1 # Click element
camofox type @e2 "hello" # Type text
camofox screenshot # Take screenshot
camofox close # Close tab
camofox open <url> — opens tab and navigatescamofox snapshot — returns accessibility tree with @e1, @e2 refscamofox open https://example.com/login
camofox snapshot
# @e1 [input] Email @e2 [input] Password @e3 [button] Sign In
camofox type @e1 "user@example.com"
camofox type @e2 "password123"
camofox click @e3
camofox snapshot # Re-snapshot after navigation
camofox open <url> # Create tab + navigate (aliases: goto)
camofox navigate <url> # Navigate current tab
camofox back # Go back
camofox forward # Go forward
camofox refresh # Reload page
camofox scroll down # Scroll down (also: up, left, right)
camofox snapshot # Accessibility snapshot with @refs
camofox screenshot # Screenshot to /tmp/camofox-screenshots/
camofox screenshot output.png # Screenshot to specific path
camofox tabs # List all open tabs
camofox click @e1 # Click element
camofox type @e1 "text" # Type into element
camofox search google "query" # Google search
camofox search youtube "query" # YouTube search
camofox search amazon "query" # Amazon search
camofox search reddit "query" # Reddit search
13 macros available — see references/macros-and-search.md.
camofox --session work open <url> # Isolated session
camofox --session work snapshot # Use specific session
camofox close # Close current tab
camofox close-all # Close all tabs in session
camofox start # Start server (usually auto)
camofox stop # Stop server
camofox health # Health check
Refs (@e1, @e2) are invalidated when the page changes. Always re-snapshot after:
camofox click @e3 # Navigates to new page
camofox snapshot # MUST re-snapshot
camofox click @e1 # Use new refs
| Scenario | Tool |
|---|---|
| Normal websites, no bot detection | agent-browser (faster) |
| Cloudflare / Akamai protected | camofox-browser |
| Sites that block Chromium automation | camofox-browser |
| Need anti-fingerprinting | camofox-browser |
| Need iOS/mobile simulation | agent-browser |
| Need video recording | agent-browser |
humanize parameter)navigator.webdriver flagSee references/anti-detection.md for details.
| Variable | Default | Description |
|---|---|---|
CAMOFOX_PORT | 9377 | Server port |
CAMOFOX_SESSION | default | Default session name |
CAMOFOX_HEADLESS | true | Headless mode |
HTTPS_PROXY | — | Proxy server |
| Reference | When to Use |
|---|---|
| references/api-reference.md | Full REST API endpoint docs |
| references/anti-detection.md | Fingerprint spoofing details |
| references/macros-and-search.md | 13 search macros |
| Template | Description |
|---|---|
| templates/stealth-scrape.sh | Anti-detection scraping workflow |
| templates/multi-session.sh | Multi-session isolation |
Server won't start?
camofox health # Check if running
camofox stop && camofox start # Restart
Still getting blocked?
# Enable proxy
HTTPS_PROXY=socks5://127.0.0.1:1080 camofox open <url>
Bot detection test:
camofox open https://bot.sannysoft.com/
camofox screenshot bot-test.png
Always close when done:
camofox close-all
camofox stop
sickn33/antigravity-awesome-skills
rohitg00/pro-workflow
supercent-io/skills-template