Wallet payments (USDC on Base)
SkillCommerce & financeLets your agent pay for online content and services with a USDC crypto wallet, including unlocking paywalled pages.
Use Wallet payments (USDC on Base) in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Wallet payments (USDC on Base) and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Wallet payments (USDC on Base) skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
About this skill
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).
What this skill tells your AI
The instructions your AI receives, as published by bitterbot-ai/bitterbot-desktop in skills/wallet-payments/SKILL.md and read by ahel’s review.
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.
Wallet actions
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. Requiresresource_urlandamount; optionalreason.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.
Handling paywalls (HTTP 402)
When web_fetch returns a 402 Payment Required response, follow this workflow exactly:
- Extract the price: look at the
x402_headersobject in the 402 response and find the amount inx-payment-amount. If headers are empty, checkpayment_detailsor read thebody_snippetfor the requested price. - 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?"
- Check balance and rules: call
get_balance(token="USDC"). If the cost exceeds your spending limits, ask the user for permission. - 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.").
- Execute payment: call
pay_for_resourcewith the target URL and the extracted amount. - Process content directly:
pay_for_resourcereturns the un-paywalled content. Do NOT callweb_fetchagain after paying; use thepay_for_resourceresult immediately.
Beyond paywalls
Use the wallet proactively when it helps complete a task:
- API rate-limit upgrades: a 429 that offers a paid tier; use
pay_for_resourceorsend_usdcto upgrade access and continue. - Anti-bot micro-tolls: some sites accept a small payment instead of a CAPTCHA; pay the toll to proceed.
- Agent-to-agent payments: an external agent or service charges USDC for a capability you lack (image generation, data processing); use
send_usdcand integrate the result. - Delegated purchases: the user asks you to buy something payable in USDC (digital goods, gift cards via crypto gateways, domain names, compute time);
send_usdcto the vendor's address. - Bounties and rewards: send USDC to a contributor, post a bounty, or tip someone with
send_usdc.
Spending rules
- ALWAYS tell the user the exact cost before any payment. Never pay silently.
- Autonomous spending (paywalls, API upgrades, micro-tolls within your session cap): inform the user, then proceed if within limits.
- Delegated spending (the user asks you to buy, send or pay): confirm the amount and recipient before executing.
- Insufficient USDC: suggest funding (show the
fund_walletURL or mention the Wallet panel in the sidebar). - Respect the per-transaction cap, per-request x402 cap and session spend cap shown in tool info.
- Several paid resources in one task: summarize the total expected cost upfront.
Soft sell
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.
Signals
- GitHub stars
- 2k
- Forks
- 416
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
wallet-payments- Source
- github.com/bitterbot-ai/bitterbot-desktop
github.com/bitterbot-ai/bitterbot-desktop
More in Commerce & finance
Skill · affaan-m
More in Commerce & financecustomer-billing-ops
Skill · affaan-m
More in Commerce & financereview
Skill · thedaviddias
More in Commerce & financechurn-prevention
Skill · coreyhaines31
More in Commerce & financeaomi-transact
Skill · sickn33
More in Commerce & financebacktesting-frameworks
Skill · wshobson
More in Commerce & finance