browser-use
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — "just use it" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude
Claude Code
$ npx -y skills add browser-use/browser-use --skill x402 --agent claude-code
Codex
$ npx skills add browser-use/browser-use --skill x402 -a codex -y
Cursor
$ npx skills add browser-use/browser-use --skill x402 -a cursor -y
Gemini CLI
$ npx skills add browser-use/browser-use --skill x402 -a gemini-cli -y
GitHub Copilot
$ npx skills add browser-use/browser-use --skill x402 -a github-copilot -y
OpenCode
$ npx skills add browser-use/browser-use --skill x402 -a opencode -y
Windsurf
$ npx skills add browser-use/browser-use --skill x402 -a windsurf -y
name: x402 description: Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — "just use it" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing touches your codebase) or "build it in" (install the SDK and write the key + code into your project). Walks through wallet setup, funding, .env, and a ~$1 test run. Use when the user asks about x402, pay-per-use, USDC payments, or wants Browser Use Cloud without an API key. For an API key instead, run `browser-use login` or use the `cloud` skill. allowed-tools: Bash, Read, Write, Edit
This is a scripted flow. Follow the steps in order. x402 only works through the **SDK** (`browser-use-sdk` for Python, the `browser-use` npm package for TS) — there is no `browser-use` CLI command for it, so every step runs a short SDK script.
---
**Ask:** (header: `Use x402`) — put the explanation and the question both in the `question` field, exactly:
> x402 is a protocol from Coinbase that, instead of presenting an API key, allows you to use crypto to pay for API requests. x402 lets you pay Browser Use per request from a crypto wallet with USDC on Base — no signup, API key, or credit card needed, just a wallet. Setup takes a few minutes: get or make a wallet, add funds, save the key in `.env`, and test it. > > How do you want to use x402?
**Do:** "Just use it" → `SETUP = A`. "Build it in" → `SETUP = B`.
---
**Do:** Look for an existing Browser Use API key, in this order. Don't say anything yet. 1. `BROWSER_USE_API_KEY` in the environment 2. a `BROWSER_USE_API_KEY=` line in `./.env` 3. the key `browser-use login` stored (`browser-use auth status` says whether there is one) 4. `browser-use doctor` output, if the CLI is installed
**If no key is found anywhere:**
**Say:** > No Browser Use key found, so I'll set this up accountless: the wallet is your identity, and the first payment makes a project named after it.
**Do:** `MODE = A`. Go to Step 3.
**If a key is found:**
**Ask:** (header: `Account`) — question: `I found a Browser Use API key in <location>. Where should the USDC credits go?`
**Do:** "Top up that account" → `MODE = B`. "Accountless wallet" → `MODE = A`.
---
**Ask:** (header: `Wallet`) — question: `Do you have a wallet ready, or should I set one up?`
Branch on the answer.
**Do:** Check `.env` is in `.gitignore`; add it if missing.
**Ask:** (header: `Add key`) — put the note and the question both in the `question` field: > Your wallet's private key needs to go into `.env`. You can paste it here and I'll add it for you, or add it yourself. Heads up: anything pasted in chat is saved in the transcript, so for a high-value wallet, adding it yourself is a bit safer. How do you want to do it?
**If "Paste it here":**
**Do:** Write `BROWSER_USE_X402_PRIVATE_KEY=<pasted key>` to `.env` (create the file if needed; make sure `.env` is gitignored). Never echo the key back or print it anywhere.
**Say:** > Saved your key to `.env` — I won't print it back.
**Do:** Go to Step 4.
**If "I'll add it myself":**
**Say:** > Add this line to your `.env`, then send me your wallet's public address (the `0x…` one — safe to share): > ``` > BROWSER_USE_X402_PRIVATE_KEY=<your private key> > ```
**Do:** When they send the address, check it matches `^0x[0-9a-fA-F]{40}$`.
**Say:** > Got it: `<address>`. That's a valid address.
**Do:** Go to Step 4.
**Say:** > 1. Install MetaMask (or Rabby, Coinbase Wallet, Fr
Find an available slot, pick a date and time, handle the CAPTCHA, and book a driving test.
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
Documentation reference for using Browser Use Cloud — the hosted API and SDK for browser automation. Use this skill whenever the…
Reference for writing Python code against the browser-use 1.0 open-source library (Agent, Browser, Tools, models, sensitive data,…
QA-test a website or web app and return a 1-5 quality score (5 = flawless, 1 = broken) with evidence. Use when the user wants to…
Controls an isolated Browser Use Cloud browser from a sandboxed machine with the current Browser Use CLI.
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…
Build or improve an OpenCLI JS adapter using observed site behavior, existing adapters and browser API evidence. For ad-hoc…