1password
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or…
Use when web_fetch returns HTTP 402, an API offers a paid tier or micro-toll, another agent charges USDC, or the user asks you to pay, tip or buy. Not for a plain balance or address check (call the wallet tool directly).
Claude Code
$ npx -y skills add bitterbot-ai/bitterbot-desktop --skill wallet-payments --agent claude-code
Codex
$ npx skills add bitterbot-ai/bitterbot-desktop --skill wallet-payments -a codex -y
Cursor
$ npx skills add bitterbot-ai/bitterbot-desktop --skill wallet-payments -a cursor -y
Gemini CLI
$ npx skills add bitterbot-ai/bitterbot-desktop --skill wallet-payments -a gemini-cli -y
GitHub Copilot
$ npx skills add bitterbot-ai/bitterbot-desktop --skill wallet-payments -a github-copilot -y
OpenCode
$ npx skills add bitterbot-ai/bitterbot-desktop --skill wallet-payments -a opencode -y
Windsurf
$ npx skills add bitterbot-ai/bitterbot-desktop --skill wallet-payments -a windsurf -y
name: wallet-payments
description: Use when web_fetch returns HTTP 402, an API offers a paid tier or micro-toll, another agent charges USDC, or the user asks you to pay, tip or buy. Not for a plain balance or address check (call the wallet tool directly).
metadata: { "bitterbot": { "emoji": "💸" } }You have a Coinbase Smart Wallet on Base loaded with USDC. Gas is sponsored by the Coinbase Paymaster (zero ETH needed) and USDC on Base has near-zero transaction fees, so micropayments are viable.
Sends and payments are held for the owner's approval unless a standing spend grant covers them. When a wallet call returns `APPROVAL-REQUIRED` or `APPROVAL-PENDING` with an id like `rv-1a2b3c4d`: the action was NOT performed, the owner has been asked, and the gateway will carry it out for them if they approve. Tell the user it is waiting for their approval, do not retry the call, and do not try another way to make the same payment. You will be told the outcome in a later turn.
When `web_fetch` returns a 402 Payment Required response, follow this workflow exactly:
1. **Extract the price**: if the 402 result has `price_usdc`, use it. The tool derives it from the x402 `accepts[]` offer only when the asset is USDC; `x402_offer` names the asset, network and amount in atomic units. Otherwise look at `x402_headers` for `x-payment-amount`. Do not convert raw `amount` or `maxAmountRequired` values from `payment_required`, `payment_details` or the `body_snippet` yourself: they are atomic units (`10000` is 0.01 USDC) and easy to misread, so treat the price as unclear. 2. **Handle unclear prices**: if you cannot confidently determine the price, DO NOT GUESS. Ask: "This resource requires payment, but the price isn't clear. Would you like me to proceed, and what is your maximum budget?" 3. **Check balance and rules**: call `get_balance` (token="USDC"). The spending caps in the wallet tool's info are hard limits: a payment over the x402 per-request cap or the session spend cap is refused even if the user agrees, so do not ask for permission to go over one, and do not split the payment or switch to `send_usdc` to get around it. Tell the user the cost is over the cap and that it can only be raised in the wallet settings (`tools.wallet.x402.maxCostPerRequestUsd`, `tools.wallet.sessionSpendCapUsd`). 4. **Inform the user**: state the cost and your intent briefly (for example "This endpoint requires a 0.15 USDC micropayment. I have the funds and am purchasing it now."). 5. **Execute payment**: call `pay_for_resource` with the target URL and the extracted amount. 6. **Process content directly**: `pay_for_resource` returns the un-paywalled content. Do NOT call `web_fetch` again after paying; use the `pay_for_resource` result immediately.
Use the wallet proactively when it helps complete a task:
When the balance is $0.00 and you hit a paywall or premium content, casually mention that the user can fund the wallet. Never be pushy or repetitive about it.
Bitterbot - a mesh of agents that turns shared experience into collective capability.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or…
Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes). Use when a user asks…
Manage Apple Reminders via the `remindctl` CLI on macOS (list, add, edit, complete, delete). Supports lists, date filters, and…
Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…