bighardperson/computer-science-skills-collection/browser-cash
Claude Code and agent skill by bighardperson/computer-science-skills-collection
- community
Checking that the SKILL.md file is still in the repository.
Cloud browser sessions via Browser.cash API that bypass anti-bot protections (Cloudflare, DataDome). Spin up unblocked browser instances for scraping, form filling, testing. Sessions appear as real browsers. Requires: BROWSER_CASH_API_KEY, curl, jq.
Install
npx vskill@latest install bighardperson/computer-science-skills-collection/browser-cashSKILL.md
browser-cash
Spin up unblocked browser sessions via Browser.cash for web automation. These sessions bypass common anti-bot protections (Cloudflare, DataDome, etc.), making them ideal for scraping, testing, and automation tasks that would otherwise get blocked.
When to use: Any browser automation task—scraping, form filling, testing, screenshots. Browser.cash sessions appear as real browsers and handle bot detection automatically.
Setup
API Key is stored in clawdbot config at skills.entries.browser-cash.apiKey.
If not configured, prompt the user:
Get your API key from https://dash.browser.cash and run:```bashclawdbot config set skills.entries.browser-cash.apiKey "your_key_here"```
Reading the key:
Before first use, check and install Playwright if needed:
API Basics
Create a Browser Session
Basic session:
Response:
With options:
Session Options
| Option | Type | Description | |
|---|---|---|---|
country | string | 2-letter ISO code (e.g., "US", "DE", "GB") | |
windowSize | string | Browser dimensions, e.g., "1920x1080" | |
proxyUrl | string | SOCKS5 proxy URL (optional) | |
profile.name | string | Named browser profile for session persistence | |
profile.persist | boolean | Save cookies/storage after session ends |
Using Browser.cash with Clawdbot
Browser.cash returns a WebSocket CDP URL (wss://...). Use one of these approaches:
Option 1: Direct CDP via exec (Recommended)
Important: Before running Playwright/Puppeteer scripts, ensure dependencies are installed:
Use Playwright or Puppeteer in an exec block to connect directly to the CDP URL:
Option 2: Curl-based automation
For simple tasks, use curl to interact with pages via CDP commands:
Note on Clawdbot browser tool
Clawdbot's native browser tool expects HTTP control server URLs, not raw WebSocket CDP. The gateway config.patch approach works when Clawdbot's browser control server proxies the connection. For direct Browser.cash CDP, use the exec approach above.
Get Session Status
Statuses: starting, active, completed, error
Stop a Session
List Sessions
Browser Profiles
Profiles persist cookies, localStorage, and session data across sessions—useful for staying logged in or maintaining state.
List profiles:
Delete profile:
Connecting via CDP
The cdpUrl is a WebSocket endpoint for Chrome DevTools Protocol. Use it with any CDP-compatible library.
Playwright:
Puppeteer:
Full Workflow Example
Scraping Tips
When extracting data from pages with lazy-loading or infinite scroll:
Common patterns:
- Always scroll to trigger lazy-loaded content
- Wait for network idle:
await page.waitForLoadState('networkidle') - Use
page.waitForSelector()before extracting elements - Add delays between actions to avoid rate limiting
Why Browser.cash for Automation
- Unblocked: Sessions bypass Cloudflare, DataDome, PerimeterX, and other bot protections
- Real browser fingerprint: Appears as a genuine Chrome browser, not headless
- CDP native: Direct WebSocket connection for Playwright, Puppeteer, or raw CDP
- Geographic targeting: Spin up sessions in specific countries
- Persistent profiles: Maintain login state across sessions
Notes
- Sessions auto-terminate after extended inactivity
- Always stop sessions when done to avoid unnecessary usage
- Use profiles when you need to maintain logged-in state
- SOCKS5 is the only supported proxy type
- Clawdbot runs scripts from
~/clawd/- install npm dependencies there - For full page scraping, always scroll to trigger lazy-loaded content
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/browser-cash/SKILL.md
Popularity
- Repository stars
- 56
- Repository forks
- 10
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bighardperson/computer-science-skills-collection/browser-cash)