Install
openclaw skills install @manu-xmint/lobstercashUse this skill when the user wants to spend money, make purchases, send crypto, pay for APIs, browse websites for shopping, complete checkout, or manage an AI agent's payment wallet. Covers buying products online with credit cards (with browser-automated checkout when available, or driven by the agent's own browser tooling otherwise), sending tokens, paying for x402 protocol APIs, checking balances, depositing funds, browsing available services, and signing on-chain transactions — all with secure guardrails, and appropriate human controls. Trigger on any spending, wallet, or shopping intent: "buy this", "pay for that", "send tokens", "how much do I have", "what can I buy", "top up my wallet", "get a card", "set up payments", "find me something to buy", "complete the checkout", or "browse that site" — even if the user doesn't mention "lobster", "crypto", or "Solana" directly.
openclaw skills install @manu-xmint/lobstercashThe Lobster Cash CLI (lobstercash) gives AI agents payment tools — a blockchain wallet, virtual cards for buying anything online, optional cloud browser automation for browsing sites and completing checkout, and x402 protocol support for paying APIs — all with human approval in the loop. Use lobstercash <command> --help for full flag details on any command.
Install globally:
npm install -g @crossmint/lobster-cli
After installation, all commands are available via the lobstercash binary.
The CLI automatically checks for updates on every API call. If an update notice appears in the command output, tell the user and offer to run npm update -g @crossmint/lobster-cli. If the notice says the update is required, you must also update the skill from https://www.lobster.cash/install before continuing. Do not run separate version-check commands.
Every lobstercash command operates on the active agent. Before doing anything else, make sure the right agent is selected.
lobstercash agents list
Then follow this decision tree:
(active) → You're good. Move on.lobstercash agents set-active <agentId> with the matching ID, then move on.How to recognize yourself: Match by name. If you are Claude Code, look for an agent named "Claude Code" or similar. Same for Cursor, Codex, Gemini, etc. If you aren't sure, ask the user which agent to use.
Determine which scenario applies and follow the corresponding section:
Use when the user wants to purchase a product, subscription (not yet but comming soon), domain, or any item from an online store. The flow is the same either way: discover the product and price, size a virtual card, then drive checkout in a browser. What changes is who drives the browser for this install. Run:
lobstercash config get browser-enabled
browser-enabled: true → Lobster Cash's built-in browser automation (purchase explore / purchase run) drives the merchant site for you. Follow references/purchase-flow.md.browser-enabled: false → Lobster Cash's built-in browser automation is not available for this install. Do not run purchase explore or purchase run. Follow references/purchase-flow-byo.md — the same flow, but you (the agent) drive the merchant site using whatever browser-automation tooling you already have available in this environment (your IDE's browser tool, an MCP browser server, OpenClaw, etc.), and use cards reveal to get the credentials to enter at checkout.If browser-enabled: false and you have no browser-automation tooling available in this environment, tell the user you can't drive the browser yourself and offer to run the checkout manually: you'll get the card credentials with cards reveal and walk them through entering them at the merchant's checkout page themselves.
Use when the user wants to call a paid API endpoint that uses the x402 payment protocol. The CLI handles the payment negotiation automatically: the server returns HTTP 402, the CLI pays with USDC from the agent wallet, and the server returns the content.
lobstercash status
Route based on the result:
lobstercash crypto request --amount <needed> --description "<description>" to top up, show the approval URL, wait for user confirmation, then proceed.lobstercash crypto request --amount <needed> --description "<description>" (bundles wallet creation + funding). Show the approval URL, wait for user confirmation, verify with lobstercash status, then proceed.The --description must explain what the agent will spend the funds on — derive it from the user's task, not generic filler like "top up wallet".
See crypto request reference for the full crypto request flow.
lobstercash crypto x402 fetch <url>
For POST requests add --json '{"key": "value"}'. For custom headers add --header "Authorization: Bearer <token>".
Report what the API returned (the body field), not the payment mechanics. Only mention the payment if the user asks.
If the fetch fails, add --debug and run again. See x402 reference for output format and common failures.
For everything else — checking balances, sending crypto, viewing wallet status, linking a wallet, or browsing examples — use the matching command from the Quick Reference below and read the corresponding reference file for details.
Run the command, report its output. For read-only commands (crypto balance, status, examples), execute them directly and report what they say. Do not pre-check status and construct your own summary — the CLI output already handles unconfigured states with clear messaging. If a command fails with exit code 2 (wallet not set up), tell the user and offer to run lobstercash setup or the appropriate setup-bundling command.
Common actions:
lobstercash crypto balance → balance referencelobstercash crypto send --to <addr> --amount <n> --token usdc → send referencelobstercash status → status referencelobstercash examples → examples referencelobstercash setup → setup reference. Use when the user says "configure", "set up", "link wallet", or similar — and isn't trying to make a purchase.lobstercash crypto tx create → tx referenceFor crypto operations (crypto send, crypto tx create), always run lobstercash status first to confirm the wallet is configured and has sufficient funds. If not, use lobstercash crypto request --amount <needed> --description "<description>" to fund it — see crypto request reference.
lobstercash agents register --name "<name>" --description "<desc>" --image-url "<url>" # register a new agent
lobstercash agents list # list all agents
lobstercash agents set-active <agentId> # set active agent
lobstercash config get browser-enabled # check which browser drives online purchases (used in Section A)
lobstercash examples # browse working examples
lobstercash status # check status & readiness & wallet address
lobstercash setup # link agent to wallet (no purchase needed)
lobstercash crypto balance # check balances
lobstercash crypto send --to <addr> --amount <n> --token usdc # send tokens
lobstercash crypto x402 fetch <url> # pay for API
lobstercash crypto request --amount <n> --description "<desc>" # request crypto funding / top up (bundles wallet setup)
lobstercash crypto tx create|approve|status # low-level transaction management
lobstercash cards request --amount <n> --description "<desc>" # request virtual card (single-use; subscriptions/--period coming soon)
lobstercash cards list # list cards (includes card-id, phase, mandates) — used in both purchase flows to check for a reusable card
lobstercash cards reveal --card-id <id> --merchant-name "..." --merchant-url "https://..." --merchant-country US # checkout credentials (used by the BYO browser flow, and for manual checkout)
The purchase explore and purchase run commands exist only when browser-enabled: true is configured — see the relevant purchase-flow reference for usage.
cards request or crypto request to set up).browser-enabled: true — full flow using Lobster Cash's built-in browser automationbrowser-enabled: false — same flow but the agent drives the browser with its own toolingpurchase explore / purchase run (browser-enabled only)lobstercash config get browser-enabled first (Section A) before deciding which purchase-flow reference to load. The flag determines whether to use purchase explore / purchase run or to drive the browser yourself with cards reveal for credentials.purchase explore / purchase run when browser-enabled: false: Those commands require the built-in browser automation. If the flag is false, follow references/purchase-flow-byo.md instead.lobstercash status before crypto send, crypto x402 fetch, or crypto tx create. If the wallet isn't configured or has insufficient funds, the command will fail with a confusing error. Check first, fund if needed, then execute.setup first — use cards request or crypto request which bundle setup automatically. Only use lobstercash setup when the user explicitly wants to link the agent to their wallet without buying anything.lobstercash status shows the wallet is already configured, do not generate a new setup session. The existing configuration is valid. Only start a fresh setup if the user explicitly tells you their current configuration is broken and needs to be regenerated.crypto balance, status, examples) are idempotent and safe to repeat. Write operations (crypto send, cards request) are not.lobstercash agents list before running any other command. If you need to work with a different agent, use lobstercash agents set-active.--network solana if the user has explicitly told you they need Solana, or when the context clearly implies the agent must operate on Solana (e.g. they already hold USDC on Solana, or the integration they want is Solana-only). Chain is fixed per agent; switching later means registering a new one.crypto request or cards request when the user just wants to connect: If the user wants to check balance, run a crypto command, or simply link their wallet — without topping up or creating a card — guide them through lobstercash setup first. Don't jump to crypto request or cards request unless the user actually wants to fund the wallet or make a purchase.examples), then check payment readiness only when the user wants to try one.lobstercash status and read the payment methods output before choosing a path.