wallet-payments

wallet-payments is a skill for Claude Code, Codex from Bitterbot-AI/bitterbot-desktop. It costs 57 tokens per session (1,134 once invoked), scanned A, original, MIT.

A wallet skill for paying with USDC, a digital dollar-like cryptocurrency, on the Base blockchain network. It can check the balance and address, pay for web resources, send USDC, fund the wallet, and show transaction history.

In plain words
What is it for?
It is for paying for paid web resources, tipping or paying other agents, buying digital goods, and checking wallet activity.
Why use it?
It handles paid API responses and other requested payments, including HTTP 402 paywalls, so the agent does not need a separate manual payment step.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit It is for paying for paid web resources, tipping or paying other agents, buying digital goods, and checking wallet activity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bitterbot-ai/bitterbot-desktop/wallet-payments
About the project

Bitterbot is a local-first personal AI agent that runs on a user’s devices, keeps persistent memories, performs tasks, and can exchange reusable skills with other agents. It is intended for people who want a personal assistant that remains available across conversations and activities. The catalogue entries provide instructions and agents for working with Bitterbot.

Bitterbot-AI/bitterbot-desktop · 2,481 stars · on GitHub · bitterbot.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Bitterbot-AI/bitterbot-desktop --skill wallet-payments
Clone the repo
git clone --depth 1 https://github.com/Bitterbot-AI/bitterbot-desktop

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wallet-payments

README.md
[![agentmods](https://agentmods.dev/badge/skills/bitterbot-ai/bitterbot-desktop/wallet-payments/github.svg)](https://agentmods.dev/skills/bitterbot-ai/bitterbot-desktop/wallet-payments)
Your own site
<a href="https://agentmods.dev/skills/bitterbot-ai/bitterbot-desktop/wallet-payments"><img src="https://agentmods.dev/badge/skills/bitterbot-ai/bitterbot-desktop/wallet-payments/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wallet-payments

Your own site · 80×15
<a href="https://agentmods.dev/skills/bitterbot-ai/bitterbot-desktop/wallet-payments"><img src="https://agentmods.dev/badge/skills/bitterbot-ai/bitterbot-desktop/wallet-payments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,134 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.01134
Opus 5.5 $0.00023 $0.00454
Sonnet 5.5 $0.00011 $0.00227
Haiku 4.5 $0.00006 $0.00113

Measured 16d ago against content hash eba897d69a5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wallet-payments scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/wallet-payments/SKILL.md · 57 lines

How it starts

The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Wallet payments (USDC on Base)

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

Approval

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.

Handling paywalls (HTTP 402)

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"). If the cost exceeds your spending limits, ask the user for permission.
  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.

Read the full file on GitHub · 57 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 16d ago Changed eba897d69a5b
  2. 1mo ago Changed · +4 lines 58fce7ff3afb
  3. 1mo ago First seen · 53 lines · 57 tokens per session scan A cc9673fe212a

Subscribe to this mod's changes

wallet-payments is a skill published in the GitHub repository Bitterbot-AI/bitterbot-desktop (2,481 stars, last pushed yesterday), licensed MIT. It adds 57 tokens to every session and 1,134 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-21.

Related

wallet-payments compared with skills from other repositories

wallet-payments next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wallet-paymentsBitterbot-AI/bitterbot-desktopSkill2.5kyesterdayMITA57Claude Code, Codex
t2000-jobmission69b/t2000Skill231mo agoMITA164Claude Code
t2000-receivemission69b/t2000Skill231mo agoMITA71Claude Code
t2000-sendmission69b/t2000Skill231mo agoMITA83Claude Code
t2000-swapmission69b/t2000Skill231mo agoMITA93Claude Code
t2000-financial-amountsmission69b/t2000Skill231mo agoMITA106Claude Code
t2000-check-balancemission69b/t2000Skill231mo agoMITA61Claude Code