Skip to content
MCP Servers
Skill

/fund-agent-wallet

Fund a Circle agent wallet with USDC via the `circle` CLI. Payments are gas-abstracted: users pay with USDC only, no ETH required. Covers two top-level paths — fiat on-ramp (buy USDC with USD/credit card) and crypto transfer (send existing USDC to the wallet via QR or direct

From plugin
skills
17020 skills1 MCP

Claude Code

$ npx -y skills add circlefin/skills --skill fund-agent-wallet --agent claude-code

SKILL.md

fund-agent-wallet.SKILL.md
name: fund-agent-wallet
description: "Fund a Circle agent wallet with USDC via the `circle` CLI. Payments are gas-abstracted: users pay with USDC only, no ETH required. Covers two top-level paths — fiat on-ramp (buy USDC with USD/credit card) and crypto transfer (send existing USDC to the wallet via QR or direct address). Also covers Gateway deposits (eco vs direct sub-paths) for the Nanopayments balance used by paid services. Use when the user wants to add USDC to their agent wallet, top up after a low balance, deposit into Gateway, or pick the right funding method. Triggers on: fund agent wallet, add USDC, fiat on-ramp, Gateway deposit, eco deposit, direct deposit, top up wallet, withdraw USDC, nanopayments."
allowed-tools: ["Bash(circle wallet status*)", "Bash(circle wallet list*)", "Bash(circle wallet balance*)", "Bash(circle gateway balance*)", "Bash(circle wallet fund *)", "Bash(circle gateway deposit*)", "Bash(circle gateway withdraw*)", "Bash(circle wallet transfer*)", "Bash(circle bridge transfer*)", "Bash(circle blockchain*)", "Bash(circle feedback submit*)"]
requirements:
  runtimes: []
  connectors: []

Fund a Circle Agent Wallet

Overview

Funding an agent wallet means putting USDC where the CLI can spend it. This skill is the funding flow; for the CLI's full capability set (bridging, contracts, x402 payment), see the `use-circle-cli` master skill.

There are **two balance pools**, and this skill funds both:

  • **On-chain (vanilla x402)** — USDC at the wallet address on a specific chain; each chain is separate. Pays endpoints whose `accepts[]` lacks `GatewayWalletBatched`. Settles in one block.
  • **Nanopayments (powered by Gateway)** — USDC held off-chain in the user's Circle Gateway balance, batched and settled across supported chains, tracked per source chain. Pays endpoints whose `accepts[]` includes `GatewayWalletBatched`. Settles in <500ms once the balance exists.

Agent wallet payment flows are **gas-abstracted**: users pay with USDC without pre-funding native gas.

This skill funds only the Circle agent wallet, through the `circle` CLI. Do not set up or fund any other wallet as the agent's spending wallet.

Prerequisites

# Confirm session is good
circle wallet status

# Get the wallet address
circle wallet list --chain ARC --type agent --output json

# Check current on-chain balance (per chain)
circle wallet balance --address <addr> --chain ARC --output json

# Check current Gateway balance (per chain)
circle gateway balance --address <addr> --chain ARC --output json

If `circle wallet status` errors with "Not logged in" or "Terms acceptance is required", hand off to login: use the installed `use-agent-wallet` skill (install, terms, login, and wallet creation); if it isn't installed, fetch `https://agents.circle.com/skills/wallet-login.md`.

Step 1 — Pick a funding path

Ask the user: *"How would you like to fund your wallet?"* Steer toward the path with the shortest time-to-result.

  • **Fiat (USD or local currency)** — Buy USDC with a card or bank transfer via the CLI's built-in fiat on-ramp. Best for users who don't have crypto yet.
  • **Existing USDC** — Send USDC from a wallet they already have (MetaMask, Coinbase, Phantom, etc.). Faster and free of on-ramp fees.
  • **Gateway deposit (advanced)** — Move existing on-chain USDC into the Gateway balance for low-latency batched payments. Only useful if the seller they're paying supports Gateway on a specific chain.

On testnet, fund the wallet from the faucet (see **Testnet funding**) instead of Path A or B; Gateway deposits still follow Path C.

**Default recommendation: existing USDC → Arc.** Arc uses USDC as its native gas token and has sub-second finality, so a `direct` Gateway deposit on Arc settles fast — and an eco deposit from BASE, ARB, or OP also lands on Arc. Use BASE/Polygon when paying sellers that only accept those chains.

Step 2 — Required flags for non-interactive use

The CLI prompts for missing values only when interactive. Agents are non-interactive, so every mainnet `circle wallet fund` call MUST include:

  • `--address <addr>` — wallet address from `circle wallet list`
  • `--chain <chain>` — e.g. `ARC` (or `BASE`, `MATIC`, …)
  • `--method <fiat|crypto>`
  • `--amount <number>` — USDC amount

`--token usdc` is the default; pass it explicitly when the user asked for USDC specifically.

Path A — Fiat on-ramp

The `circle wallet fund --method fiat --open` command, supported chains, and settlement timing:

READ `references/fiat-on-ramp.md`.

Path B — Crypto transfer (existing USDC)

The user sends USDC they already hold (another wallet, an exchange) to the agent wallet. Ask which chain their USDC is on and pass that chain as `--chain`: the QR encodes the chain ID, so a transfer from a different chain fails in the user's wallet. Use ARC only when the user has no preference. Default to the browser-rendered QR:

circle wallet fund --address <addr> --chain ARC --amount 10 --token usdc --method crypto --open

`--open` renders the EIP-681 QR on a local HTML page in the user's default browser, at full resolution for desktop and mobile. The user scans it with any mobile wallet (MetaMask, Coinbase Wallet, Rainbow, Phantom) and confirms the transfer.

If the user can't scan a browser QR, use the PNG export (`--export`) or give manual transfer details (including USDC contract addresses):

READ `references/crypto-transfer-alternatives.md`.

Testnet funding

On testnet there is no on-ramp or QR: the Circle faucet funds the wallet. The faucet command, its testnet login requirement, and the flags it rejects:

READ `references/testnet-faucet.md`.

Path C — Gateway deposit (powered by Gateway, advanced)

Only suggest a Gateway deposit when all hold:

  • The user has on-chain USDC.
  • They want to pay a service whose `accepts[]` includes `GatewayWalletBatched` on a specific chain.
  • That chain is one Gateway supports for direct deposit (Arc, Polygon, BASE, ARB, OP, AVAX
Read more
@circlefin
Ships withskills

Ship stablecoin apps faster with Circle Skills: best-practice guidance for USDC payments, crosschain transfers, wallets, and smart contracts, plus Circle's MCP server for real-time SDK and documentation context.

17020 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
170
Star history of circlefin/skills on GitHub, a chart by star-history.com

Other skills on skills.

accept-agent-payments

accept-agent-payments

Use when a developer wants to monetize an API, endpoint, service, model, dataset, tool, or agent-facing resource with Circle USDC…

@circlefin@circlefinInstall Skill
agent-wallet-policy

agent-wallet-policy

View spending policy on a Circle agent wallet — per-transaction, daily, weekly, and monthly USDC caps and contract allowlists via…

@circlefin@circlefinInstall Skill
bridge-tokens

bridge-tokens

Build browser or server token bridging across chains with Circle App Kit or standalone Bridge Kit. Bridges USDC across CCTP…

@circlefin@circlefinInstall Skill
buy-crypto

buy-crypto

Set up and integrate Circle Onramp, the hosted widget that lets end users buy crypto with fiat (bank transfer, debit card, Apple…

@circlefin@circlefinInstall Skill
pay-via-agent-wallet

pay-via-agent-wallet

Use this skill when the user wants to call a paid API, look something up online, search for data, get prices, odds, or stats, or…

@circlefin@circlefinInstall Skill
recover-eco-funds

recover-eco-funds

Recover USDC from a legacy Circle CLI Gateway `--method eco` deposit whose fixed refund recipient is the SCA's backing EOA. Use…

@circlefin@circlefinInstall Skill

More skills from other plugins.

gitnexus-cli

gitnexus-cli

Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki,…

@abhigyanpatwari@abhigyanpatwariInstall Skill
fastmcp-client-cli

fastmcp-client-cli

Query and invoke tools on MCP servers using fastmcp list and fastmcp call. Use when you need to discover what tools a server…

fastmcp8d29k
@prefecthq@prefecthqInstall Skill
n8n-agents

n8n-agents

Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain,…

n8n-mcp7d23k
@czlonkowski@czlonkowskiInstall Skill
post-to-xhs

post-to-xhs

小红书内容发布技能。支持两种发布模式:(1) 上传图文模式 - 图片+短文;(2) 写长文模式 - 长篇文章+排版模板。 支持两种输入方式:用户提供完整内容和图片/图片URL,直接发布;或提供网页URL,自动提取内容和图片。…

@xpzouying@xpzouyingInstall Skill

Questions about fund-agent-wallet.

Which coding agents can use fund-agent-wallet?
fund-agent-wallet installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.