browser-use/browser-use

x402

Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key.

  • SKILL.md 已保存
  • 英文来源资料
  • 安装与运行未实测
先判断是否解决你的问题

x402 是什么?

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.

以上为来源原文,中文用途说明尚待整理。

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 x402,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 x402

请在 Codex 的当前工作环境中安装并检查 x402 这个 Skill。

项目身份:browser-use/browser-use / x402
来源:https://github.com/browser-use/browser-use/blob/ccbdb8095fbaf903c748880a600054a34c7b6191/skills/x402/SKILL.md
已定位的源文件:skills/x402/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-20T19:31:09.802Z
中文使用说明
尚待整理,保留英文来源内容
安装与任务测试
本站未执行安装或任务测试
来源复核
已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料

skills/x402/SKILL.md · 抓取时间 2026-11-20T19:31:09.802Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 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.

查看源文件章节 / Source sections
  • 原文:Browser Use Cloud — pay with x402 (crypto wallet)
  • 原文:How to use this script
  • 原文:Step 1 — Open and pick the setup
  • 原文:Step 2 — Find the account (check before asking)
  • 原文:Step 3 — Wallet
  • 原文:Path A — "I have a funded wallet"
  • 原文:Path B — "Walk me through it"
  • 原文:Path C — "Make a fresh one"
  • 原文:Step 4 — Add funds
  • 原文:Step 5 — Test run (~$1)
  • 原文:Step 6 — Wrap up
  • 原文:TypeScript equivalents
  • 原文:Rules
  • 参考 / Reference
原文: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 `question` field** (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 the `question` field, 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) and `MODE` (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. 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?` - **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 `.env` for you. - **I'll add it myself** — You add it to `.env`, then send me just your public address. **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.

文件 SHA256:d9b24297e3d60376d2115bb40a3b1d776fa704beccd9d54b8e3a6d9a39abe470

仓库许可证记录:MIT;repository-license-recorded-scope-unverified,查看来源。

SKILL.md原文description · 2026-11-20T19:31:09.802Z

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.

查看历史简介来源

历史收录数据

来源仓库browser-use/browser-use
Skill源路径skills/x402/SKILL.md

安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源