x402
Skill này làm gì
Skill này thiết lập thanh toán cho Browser Use Cloud qua ví tiền mã hóa, trả cho từng yêu cầu bằng USDC trên Base mainnet. Skill dành cho người muốn chạy tác vụ trình duyệt trên đám mây mà không cần tạo tài khoản.
Khi nào nên dùng
- ✓Khi bạn muốn trả tiền cho tác vụ trình duyệt đám mây từ ví tiền mã hóa.
- ✓Khi bạn thích tránh đăng ký hoặc quản lý API key.
- ✓Khi bạn muốn thêm thanh toán theo từng yêu cầu vào một script hoặc ứng dụng.
Liên kết skill
https://github.com/browser-use/browser-use/blob/main/skills/x402/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thiết lập cho tôi để chạy các tác vụ trình duyệt đám mây được thanh toán từ ví tiền mã hóa, không cần tạo tài khoản.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill đi qua một tập bước cố định, yêu cầu bạn chọn kiểu thiết lập rồi chạy các script SDK ngắn. Thanh toán được thực hiện theo từng yêu cầu từ ví.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
Câu hỏi thường gặp
Tôi phải trả bằng gì?
USDC trên Base mainnet, từ ví tiền mã hóa, theo mô tả.
Tôi có cần tài khoản không?
Không. Mô tả nói rằng với cách này không có đăng ký hay API key.
Có dùng được qua dòng lệnh không?
Không. Chỉ làm việc được qua SDK, bằng các script ngắn.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 120k
- Vị trí xếp hạng
- #738
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
browser-use
120kGiúp agent của bạn trực tiếp điều khiển trình duyệt web thật để nhấp, nhập chữ, điều hướng, chụp màn hình và đọc các trang cần tương tác.
cloud
120kGiúp agent của bạn dùng Browser Use Cloud, một dịch vụ lưu trữ để chạy tự động hóa trình duyệt qua API và SDK của nó.
open-source
120kGiúp agent của bạn viết code Python với thư viện browser-use mã nguồn mở, gồm agent, trình duyệt, tool tùy chỉnh và cấu hình LLM.
qa
120kGiúp agent của bạn kiểm thử một trang web hoặc ứng dụng web trên trình duyệt thật và chấm điểm chất lượng từ 1 đến 5, kèm bằng chứng.
Skill tương tự
api-connector-builder
280kGiúp agent của bạn xây dựng kết nối API mới theo đúng mẫu đã có, dùng khi bạn cần thêm một tích hợp mà không tạo cách làm mới.
api-design
280kGiúp agent của bạn thiết kế REST API theo các thực hành tốt nhất, hữu ích để định nghĩa cách API giao tiếp, hiển thị lỗi và tổ chức dữ liệu.
backend-patterns
280kGiúp agent của bạn với các mẫu kiến trúc phía máy chủ và tối ưu cơ sở dữ liệu, hữu ích khi xây dựng hoặc rà soát code chạy trên máy chủ.