Agent skill

Moonpay Buy Crypto

by moonpay in moonpay/skills

Buy crypto with fiat via MoonPay. An agent skill from moonpay/skills.

MITAuto-check passed

Install Moonpay Buy Crypto

skills CLI
$ npx skills add moonpay/skills --skill moonpay-buy-crypto -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install moonpay/skills moonpay-buy-crypto --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/moonpay/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/moonpay-buy-crypto .claude/skills/moonpay-buy-crypto && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
moonpay-buy-crypto
GitHub stars
113
Token cost
~370 tokens
SKILL.md length
159 words
Files
1
Skills in repo
39
Repo updated
First seen
Licence
MIT

At a glance

Buy crypto with fiat via MoonPay. An agent skill from moonpay/skills.

  • Works in 3 steps: User: "I want to buy $50 of SOL with my… → Run: mp buy --token sol --amount 50… → Open the returned checkout URL in the…
  • SKILL.md covers Goal, Command, Supported tokens and Example flow, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Moonpay Buy Crypto is an agent skill from moonpay/skills. Buy crypto with fiat via MoonPay. Returns a checkout URL to complete the purchase in a browser.

Its SKILL.md is about 370 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Circle USDC. The repository describes itself as: Skills for AI agents to move money — on-ramps, swaps, wallets, deposits, and more via the MoonPay CLI. The licence is MIT.

Example prompts

  • “/moonpay-buy-crypto”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. User: "I want to buy $50 of SOL with my credit card."
  2. Run: mp buy --token sol --amount 50 --wallet --email user@example.com
  3. Open the returned checkout URL in the user's browser so they can complete the purchase.

What it can do on your machine

Read from SKILL.md and the folder at commit aa672ab. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Moonpay Buy Crypto loads about 370 tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 159 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~370

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from moonpay/skills at commit aa672ab, republished under its MIT licence (© moonpay). 159 words, ~370 tokens.

Download SKILL.mdSave it as .claude/skills/moonpay-buy-crypto/SKILL.md (or your agent's skills folder).
name
moonpay-buy-crypto
description
Buy crypto with fiat via MoonPay. Returns a checkout URL to complete the purchase in a browser.
tags
trading

Buy crypto with fiat

Goal

Generate a MoonPay checkout URL for buying crypto with a credit card or bank transfer. The user completes the purchase in their browser.

Command

bash
mp buy \
  --token <currency-code> \
  --amount <usd-amount> \
  --wallet <destination-address> \
  --email <buyer-email>

Supported tokens

btc, sol, eth, trx, pol_polygon, usdc, usdc_sol, usdc_base, usdc_arbitrum, usdc_optimism, usdc_polygon, usdt_trx, eth_polygon, eth_optimism, eth_base, eth_arbitrum

Example flow

  1. User: "I want to buy $50 of SOL with my credit card."
  2. Run: mp buy --token sol --amount 50 --wallet <address> --email user@example.com
  3. Open the returned checkout URL in the user's browser so they can complete the purchase.

Notes

  • This is fiat-to-crypto (credit card / bank), not a token swap.
  • For token-to-token swaps, use the moonpay-swap-tokens skill instead.
  • The --amount flag is in USD (e.g. --amount 50 = $50 worth of the token).
  • The --token flag uses MoonPay currency codes, not mint addresses.
  • The checkout URL handles KYC and payment processing.
  • moonpay-swap-tokens — Swap between tokens (no fiat).
  • moonpay-discover-tokens — Search for tokens.
  • moonpay-auth — Ensure user is logged in.

© moonpay, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/moonpay-buy-crypto of moonpay/skills.

Open the folder on GitHubat commit aa672ab

Compare with similar skills

Moonpay Buy Crypto next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Moonpay Buy Crypto compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Moonpay Buy Crypto this skillmoonpay/skills113—~370Automated safety check: PassMIT
Agentic Walletcoinbase/agentic-wallet-skills1262 repos~1kAutomated safety check: PassMIT
Kleros IPFS Uploadinternet-court/internet-court-skill6.6k—~4.9kAutomated safety check: NotesMIT
Polymarket TradingBlockRunAI/ClawRouter6.6k—~1.4kAutomated safety check: PassMIT
Minara Crypto Trading and WalletMinara-AI/minara-skills362—~5.7kAutomated safety check: PassNone
Predexon Prediction Market DataBlockRunAI/ClawRouter6.6k—~4.7kAutomated safety check: PassMIT

Similar skills

  • Agentic Wallet

    coinbase/agentic-wallet-skills

    Crypto wallet operations via the awal CLI — sign in, check balances, send USDC/ETH/POL/SOL, trade tokens, fund the wallet, and use the x402 payment protocol to discover paid services, pay for API…

    126 GitHub starsUsed in 2 repos~1k tokens
    Backend & APIsAuto-check passed
  • Kleros IPFS Upload

    internet-court/internet-court-skill

    Uploads one Kleros-related file per paid request to IPFS through the Kleros x402 gateway for 0.01 USDC on Base, returning a CID that Kleros contracts can reference.

    6.6k GitHub stars~4.9k tokensUpdated 1 mo ago
    Backend & APIsAuto-check: notes
  • Polymarket Trading

    BlockRunAI/ClawRouter

    A skill your agent uses when the user wants to actually PLACE, manage, or redeem bets on Polymarket (not just read odds — that's the blockrunpredexon data tools).

    6.6k GitHub stars~1.4k tokensUpdated 5 days ago
    Business, Finance & HRAuto-check passed
  • Minara Crypto Trading and Wallet

    Minara-AI/minara-skills

    Drives the Minara CLI for crypto swaps, perps, limit orders, wallet transfers, deposits and withdrawals, plus AI market analysis.

    362 GitHub stars~5.7k tokensUpdated 23 days ago
    Business, Finance & HRAuto-check passed
  • Predexon Prediction Market Data

    BlockRunAI/ClawRouter

    Reads structured prediction market data for Polymarket, Kalshi and other venues through a local BlockRun gateway: markets, search, leaderboards, wallet analytics and odds.

    6.6k GitHub stars~4.7k tokensUpdated 5 days ago
    Business, Finance & HRAuto-check passed
  • Payment

    second-state/payment-skill

    Request and receive payments. An agent skill from second-state/payment-skill.

    220 GitHub stars~1.5k tokensUpdated 7 mo ago
    Auto-check passed

More from moonpay/skills

All 39 skills in this repo
  • A skill your agent uses when accessing Alchemy APIs for RPC calls, token balances, NFT metadata, asset transfers, transaction simulation, or Alchemy-specific features.

    113 GitHub stars~2.1k tokensUpdated 1 mo ago
    Auto-check: notes
  • Alchemy API

    moonpay/skills

    Integrates Alchemy blockchain APIs using an API key. An agent skill from moonpay/skills.

    113 GitHub stars~2.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Allium Onchain Data

    moonpay/skills

    Query blockchain data via Allium APIs. An agent skill from moonpay/skills.

    113 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check passed
  • Corbits Marketplace

    moonpay/skills

    Paid API marketplace for AI agents via Corbits. An agent skill from moonpay/skills.

    113 GitHub stars~1.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Dune Analytics

    moonpay/skills

    Blockchain analytics via Dune REST API — execute DuneSQL queries against live on-chain data, discover decoded contract tables, and monitor credit usage.

    113 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Moonpay Auth

    moonpay/skills

    Set up the MoonPay CLI, authenticate, and manage local wallets.

    113 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Moonpay Buy Crypto

What does Moonpay Buy Crypto do?

Buy crypto with fiat via MoonPay. An agent skill from moonpay/skills. Moonpay Buy Crypto is an agent skill from moonpay/skills. Buy crypto with fiat via MoonPay.

How do I install Moonpay Buy Crypto in Claude Code?

Run `npx skills add moonpay/skills --skill moonpay-buy-crypto -a claude-code`. Or copy the skill folder (skills/moonpay-buy-crypto in moonpay/skills) into .claude/skills/moonpay-buy-crypto in your project. Claude Code loads it when a task matches its description.

How do I install Moonpay Buy Crypto in Codex?

Run `npx skills add moonpay/skills --skill moonpay-buy-crypto -a codex`. Or copy the skill folder (skills/moonpay-buy-crypto in moonpay/skills) into .agents/skills/moonpay-buy-crypto in your project. Codex loads it when a task matches its description.

Can I use Moonpay Buy Crypto in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add moonpay/skills --skill moonpay-buy-crypto -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/moonpay-buy-crypto, .gemini/skills/moonpay-buy-crypto, .github/skills/moonpay-buy-crypto and .opencode/skills/moonpay-buy-crypto in your project.

What does Moonpay Buy Crypto need to run?

SKILL.md names no scripts, command-line tools or credentials: Moonpay Buy Crypto is instructions for the agent only.

Does Moonpay Buy Crypto access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Moonpay Buy Crypto safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Moonpay Buy Crypto use?

Moonpay Buy Crypto is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Moonpay Buy Crypto use?

About 370 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Moonpay Buy Crypto?

Skills that share tags, products or a category with Moonpay Buy Crypto: Agentic Wallet (coinbase/agentic-wallet-skills, 126 stars), Kleros IPFS Upload (internet-court/internet-court-skill, 6.6k stars), Polymarket Trading (BlockRunAI/ClawRouter, 6.6k stars) and Minara Crypto Trading and Wallet (Minara-AI/minara-skills, 362 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Moonpay Buy Crypto?

moonpay (a GitHub organization) maintains it in moonpay/skills, which has 113 GitHub stars. The repository holds 39 skills in this directory. The repository was last updated on September 10, 2026.

Source: moonpay/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.