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).
82%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Medium
Suggest reviewing before use
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.
get_balance (token="USDC"): check your USDC balance before making payments.get_address: the wallet address (for the user to fund externally).pay_for_resource: pay for a paywalled HTTP resource via the x402 protocol. Signs the payment AND fetches the content in one call. Requires resource_url and amount; optional reason.fund_wallet: a URL for the user to fund the wallet (Coinbase Onramp on mainnet, faucet on testnet).send_usdc: send USDC to an address for user-initiated transfers, paying other agents or services, purchasing digital goods, or any prompt-driven payment.get_transaction_history: recent wallet transactions.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:
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.get_balance (token="USDC"). If the cost exceeds your spending limits, ask the user for permission.pay_for_resource with the target URL and the extracted amount.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:
pay_for_resource or send_usdc to upgrade access and continue.send_usdc and integrate the result.send_usdc to the vendor's address.send_usdc.fund_wallet URL or mention the Wallet panel in the sidebar).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-AI/bitterbot-desktop
3fd4221
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.