x402
What it does
This skill sets up payments for Browser Use Cloud through a crypto wallet, paying for each request in USDC on Base mainnet. It is for people who want cloud browser tasks without creating an account.
When to use it
- βWhen you want to pay for cloud browser tasks from a crypto wallet.
- βWhen you prefer to avoid signing up or managing an API key.
- βWhen you want to add per-request payments to a script or app.
Skill link
https://github.com/browser-use/browser-use/blob/main/skills/x402/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βSet me up to run cloud browser tasks paid from a crypto wallet, without creating an account.β
5 new skills a week. 1 minute to read.
How it works
The skill walks through a fixed set of steps, asking you to choose a setup and then running short SDK scripts. The payment is made per request from the wallet.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Browser Use Cloud β pay with x402 (crypto wallet)
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.
How to use this script
- Lines under Say: are spoken to the user word for word. Don't paraphrase, add, or drop anything.
<like this>inside a Say block is a fill-in β replace it with the real value, keep the rest exact.- Lines under Ask: use the AskUserQuestion tool. Use the question and option text exactly as written.
- To show an explanation before a question, put it inside the AskUserQuestion
questionfield (it renders above the options). Don't send it as separate chat text before calling the tool β that text gets dropped when the question UI opens. So: explanation + the actual question both go in thequestionfield, in one tool call. - Lines under Do: are your actions. Don't read them out.
- Track two facts as you go:
SETUP(A or B, from Step 1) andMODE(A or B, from Step 2). SETUP,MODE, and the Path A/B/C names are internal labels for you only. Never say them to the user. Describe choices in plain words instead (e.g. "top up your account" / "accountless wallet"), never "Mode B" or "Path A".
Step 1 β Open and pick the setup
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?
- Just use it β Run Browser Use tasks, paid from your wallet, here in terminal by asking me. I set up the wallet and key.
- Build it in β You're coding an app and want x402 in it. I will help you install the SDK, save the key to your project's
.env, and add code.
Do: "Just use it" β SETUP = A. "Build it in" β SETUP = B.
Step 2 β Find the account (check before asking)
Do: Look for an existing Browser Use API key, in this order. Don't say anything yet.
BROWSER_USE_API_KEYin the environment- a
BROWSER_USE_API_KEY=line in./.env ~/.browser-use/config.json(saved bybrowser-use cloud login/signup)browser-use doctoroutput, 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?
- Top up that account β Credits go to your existing API key's project. Good if your free credits ran out, or you'd rather pay with crypto than a card.
- Accountless wallet β The wallet is a separate identity. The first payment makes a fresh project named after the wallet, apart from your existing account.
Do: "Top up that account" β MODE = B. "Accountless wallet" β MODE = A.
Step 3 β Wallet
Ask: (header: Wallet) β question: Do you have a wallet ready, or should I set one up?
- I have a funded wallet β An EVM wallet (MetaMask, Rabby, Coinbase Wallet, Frame, Phantom, β¦) with USDC on Base mainnet.
- Walk me through it β I'll guide you through making a wallet, adding Base, and buying USDC.
- Make a fresh one β I'll generate a throwaway wallet for automation. You'll still need to fund it.
Branch on the answer.
Path A β "I have a funded wallet"
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?
- Paste it here β Paste your private key in the chat and I'll write it to
.envfor you. - I'll add it myself β You add it to
.env, then send me just your public address.
FAQ
What do I need to pay?
USDC on Base mainnet, from a crypto wallet, according to the description.
Do I need an account?
No. The description says there is no signup or API key for this route.
Does it work through the command line?
No. It works only through the SDK, with short scripts.
Details
Original description by the author
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 the
repo: browser-use/browser-use
Popularity
- GitHub stars
- 120k
- Ranking position
- #738
- License
- MIT
- Updated
- 11/1/2026
Comments
- β¦
More skills from this repository
browser-use
120kHelps your agent control a real web browser directly, to click, type, navigate, take screenshots and read pages that need interaction.
cloud
120kHelps your agent use Browser Use Cloud, a hosted service for running browser automation through its API and SDKs.
open-source
120kHelps your agent write Python code with the open-source browser-use library, including agents, browsers, custom tools and LLM setup.
qa
120kHelps your agent test a website or web app in a real browser and give it a 1 to 5 quality score with evidence.
Similar skills
api-connector-builder
280kHas your agent build new API connections following the existing pattern. Use when you need to add one more integration without creating a new way of doing things.
api-design
280kHelps your agent design REST APIs following best practices. It's useful for defining how APIs communicate, how errors are shown, and how to organize data.
backend-patterns
280kHelps your agent with server-side architecture patterns and database optimization. It's useful for building or reviewing code that runs on the server.