Skills axiom_wallet
Use Axiom Wallet via MCP to manage payment methods, review account activity, and complete user-requested purchases with single-use payment details.
git clone https://github.com/openclaw/skills
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/axiom-wallet/axiom" ~/.claude/skills/clawdbot-skills-axiom-wallet && rm -rf "$T"
skills/axiom-wallet/axiom/SKILL.mdAxiom Wallet
Use this skill when the user wants to interact with their Axiom Wallet through MCP.
Axiom Wallet can be used to:
- check the payment method on file
- review recent transactions
- retrieve single-use payment details for a user-requested purchase (charged to the card on file)
- attach receipt details after a successful purchase
The Axiom MCP endpoint is:
https://mcp.useaxiom.ai/mcp
When to use this skill
Use Axiom Wallet when the user asks you to:
- buy or pay for something with Axiom
- check their Axiom payment method or account info
- inspect recent Axiom transactions
- retrieve payment details for a specific checkout
Do not use this skill for unrelated browsing, account settings changes outside the available MCP tools, or speculative purchases the user has not clearly requested.
Authentication
If Axiom is not yet authenticated in the current environment, run:
mcporter auth https://mcp.useaxiom.ai/mcp --browser none --oauth-timeout 300000
This opens the OAuth login page in a headless browser. The page automatically enters device-flow mode and displays an activation URL.
- The page displays an activation URL under the heading "Activation URL".
- Read the activation URL from the page — it is the link element with a
attribute.data-device-auth-url - Send only the activation URL to the user with a message like: "To connect Axiom Wallet, open this link on your device and approve access: [URL]"
- Wait — the page polls automatically. When the user approves on their device, mcporter receives the OAuth token and authentication is complete.
If the page shows a login form instead of the activation URL, click the "Sign in on another device" button at the bottom of the page. This switches to device-flow mode and displays the activation URL. Then continue from step 1 above.
If the session expires (5-minute TTL), the page shows a "Try again" button. Click it to generate a fresh activation URL and resend to the user.
Only share what is necessary for approval. Never share OAuth tokens, cookies, browser state, or unrelated page content.
If auth fails or expires, tell the user and retry the same command. To clear cached tokens:
mcporter auth https://mcp.useaxiom.ai/mcp --reset
Available tools
Use the MCP tools exposed by the server when available:
— returns user profile (name, email, shipping address, phone)whoami
— returns the card on file (brand and last 4 digits only). Use this to verify a payment method exists before attempting a purchase.get_payment_method
— lists recent transactions (optionallist_transactions
filter,cardId
)limit
— issues a single-use virtual card for a purchase and charges the user's card on file. Requiresget_payment_details
,itemName
(dollars),itemAmount
(merchant
,merchantName
), andmerchantWebsite
(reasonForPurchase
,userCommand
). May fail if blocked by spending rules, if approval is required, or if the card on file is declined.aiReasoning
— attaches receipt details to a completed transactioncreate_receipt
— creates a temporary email inbox for first-time buyer sign-ups or one-off accounts. Returns acreate_disposable_inbox
and email address.temporaryEmailID
— reads messages from a disposable inbox (pass theread_inbox_messages
). Use to fetch discount codes, verification emails, or order confirmations.temporaryEmailID
Purchase workflow
When the user asks you to buy something, use this order:
-
Confirm the purchase details.
- Use the exact item, merchant, quantity, and price the user asked for.
- Do not invent purchase-critical facts.
-
Complete all checkout steps that do not require payment.
- Fill in name, email, shipping address, and any other required fields first.
- If the checkout already has a shipping address pre-filled (e.g. from a prior merchant account), compare it to the user's Axiom shipping address from
. If they do not match, stop and ask the user which address to use — do not silently accept the pre-filled one.whoami - Advance through the checkout until the final step where payment details are needed to proceed.
- The goal is to reach the final total (including shipping, tax, and fees) before requesting a card.
-
Verify payment method.
- Call
to confirm the user has a card on file.get_payment_method - If no payment method exists, tell the user to add a card in their account settings and stop.
- Call
-
Request payment details.
- Call
with:get_payment_details
— name of the item being purchaseditemName
— the final total in dollarsitemAmount
—merchant{ merchantName, merchantWebsite }
—reasonForPurchase{ userCommand: "the user's original request", aiReasoning: "why this purchase fulfills it" }
- This issues a single-use virtual card and charges the user's card on file for the total amount.
- Treat the returned card as single-use and intended for one authorization only.
- Do not request payment details until you have the complete total — the user's card is charged at this point.
- Call
-
Complete checkout.
- Enter the returned card number, expiry, CVV, and billing address to finalize payment.
- Always use the billing address returned by
— not the user's shipping address. These are different. Verify the billing fields match before submitting.get_payment_details - Do not store or reuse card details outside the active checkout flow.
-
Record the receipt.
- After a successful purchase, call
with the transaction ID and accurate purchase facts.create_receipt - Do not include hidden chain-of-thought, internal reasoning, secrets, tokens, or unrelated context.
Items: For each item include:
— product image URL (seeimageUrl
for how to find these reliably)references/enrichment.md
— link to the product pageurl
— short variant info (size, color, etc.)description
Order confirmation: Include
with the merchant's order confirmation page URL andorderConfirmationUrl
with the confirmation number.orderNumberAudit trail: Provide categorized
. Each step has asteps
, ancategory
(short title), and optionalaction
(extra context).detailCategories:
— what the user asked for, product identificationrequest_initiated
— checkout steps (shipping, tax, etc.)purchase_in_progress
— if user approval was needed via Axiomapproval_required
— payment and order confirmationpurchase_complete
— final receipt attachmentreceipt_created
Example steps for a typical purchase:
{ category: "request_initiated", action: "User requested item", detail: "I want this in size medium https://shop.example.com/product" } { category: "request_initiated", action: "Product identified", detail: "Heavyweight Tee - Jet Black at $25.00 (flash sale, regular $35)" } { category: "purchase_in_progress", action: "Size confirmed in stock" } { category: "purchase_in_progress", action: "Shipping address entered", detail: "123 Main St, McLean VA 22101" } { category: "purchase_in_progress", action: "Shipping method selected", detail: "Standard Shipping (2-4 Business Days) at $6.57" } { category: "purchase_in_progress", action: "Tax calculated", detail: "VA Tax $1.51" } { category: "purchase_in_progress", action: "Final total", detail: "$33.08" } { category: "purchase_complete", action: "Payment completed", detail: "Axiom virtual card" } { category: "purchase_complete", action: "Order confirmed", detail: "Order #7XC9R4NGX" } { category: "receipt_created", action: "Receipt attached" } - After a successful purchase, call
Purchase recipes
When the user asks to buy something in a specific way (e.g. "with the first-time discount", "using a new account offer"), check whether a recipe matches the request. Recipes are specialized variants of the purchase workflow and live at
references/recipes/. If a recipe matches, read its file and follow it instead of the default purchase workflow.
Available recipes:
- First-Time Buyer Discount —
. Purchase an item using a first-time buyer discount by creating a disposable email for sign-up.references/recipes/first-time-discount.md
Safety and behavior rules
- Always verify a payment method is on file before requesting payment details.
- Never claim a purchase succeeded unless checkout actually completed.
- If spending rules, approval requirements, or policy checks block the purchase, stop and tell the user what happened.
- Never bypass approval flows.
- Never expose OAuth tokens, session details, cookies, or browser state.
- Never include internal reasoning in receipts or any external system.
- Never fabricate merchant, amount, tax, shipping, or transaction details.
Troubleshooting
mcporter
not found or outdated
mcportermcporter ≥0.8.0 must be installed and available on PATH. Check with mcporter --version. OpenClaw checks required binaries at skill load time.
Auth expired or failed
Retry:
mcporter auth https://mcp.useaxiom.ai/mcp
Cross-device approval timed out
Start a fresh auth flow and send the new approval link or activation code.
No payment method on file
Tell the user to add a card in their Axiom account settings and stop.
Card declined
Tell the user their card was declined and suggest they check their card details or try a different card.
Spending rules blocked the transaction
Tell the user Axiom's rules prevented the purchase and do not retry blindly.