/circle:fund-agent-walletfrom circle
Funds a Circle agent wallet with USDC via the circle CLI, covering fiat on-ramp (buy USDC with USD/credit card) and crypto transfer (send existing USDC via QR or address). Also handles Gateway deposits for Nanopayments balance. Use when the user needs to add USDC, top up a low balance, deposit into Gateway, or choose the right funding method.
Ships in circle. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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:
accepts[] lacks GatewayWalletBatched. Settles in one block.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.
# 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.
Ask the user: "How would you like to fund your wallet?" Steer toward the path with the shortest time-to-result.
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.
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.
The circle wallet fund --method fiat --open command, supported chains, and settlement timing:
READ references/fiat-on-ramp.md.
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.
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.
Only suggest a Gateway deposit when all hold:
accepts[] includes GatewayWalletBatched on a specific chain.circle gateway deposit --help lists the chains your CLI supports).circle gateway deposit --method eco deposits vanilla USDC from BASE, ARB, or OP into Gateway and lands on Arc (Gateway domain 26) in ~30s for a small fee; the follow-up payment is pay --chain ARC. On testnet, eco takes BASE-SEPOLIA and lands on MATIC-AMOY, not Arc.
Use --method direct only when:
circle gateway deposit --help for the current list. An unsupported source returns Gateway deposit via eco is not supported on <CHAIN>. Supported chains: ....accepts[] (raw 402, or paymentOptions[] from circle services inspect --output json on CLI ≥1.2.2), not the inspect summary. An eco balance on Arc can't pay a seller that only takes Gateway elsewhere (e.g. Polygon-only); deposit directly on a chain the seller accepts.direct --chain <fast-chain> is fast only on fast-finality chains (Arc, MATIC, AVAX) and skips the eco fee (e.g., vanilla on Polygon → direct --chain MATIC; vanilla on Arc → direct --chain ARC).Otherwise, use eco. Direct on BASE, ARB, or OP waits ~13–19 minutes for finality plus gas, vs eco's ~30s plus a small fee. (ETH and UNI also take 13–19 minutes direct, and eco can't start from them.) Never quote the fast-chain timings for BASE.
Eco's cold start (~30s plus a small fee) is paid once; every later Gateway call is <500ms. Vanilla has no deposit, but every call costs ~2s with no amortization. Agentic workflows are rarely single-call, so treat the deposit as one-time wallet onboarding. Gateway-only seller access and <500ms calls already win at call 1.
The circle gateway deposit --method eco command (all of --amount, --address, --chain, --method are required) and Gateway balance verification:
READ references/gateway-eco-deposit.md.
Once the deposit verifies, pay with --chain ARC: use the installed pay-via-agent-wallet skill, which owns the circle services pay flow (including its allowed-tools whitelist and gotchas); if it isn't installed, fetch https://agents.circle.com/skills/wallet-pay.md.
When a --method direct condition holds, or the user wants USDC back out of Gateway, use the direct syntax and per-chain timings, and the same-chain-only withdraw + circle bridge transfer pattern:
READ references/gateway-direct-and-withdraw.md.
Check the balance on the chain the funds landed on: the --chain you passed to circle wallet fund, the source chain after a direct deposit, or ARC after an eco deposit. Use circle wallet balance --address <addr> --chain <CHAIN> --output json for on-chain USDC and circle gateway balance --address <addr> --chain <CHAIN> --output json for Gateway USDC. Fiat and crypto transfers can take minutes to arrive; check again once the user confirms the purchase or transfer finished.
To spend the funds on a paid service, use the installed pay-via-agent-wallet skill; if it isn't installed, fetch https://agents.circle.com/skills/wallet-pay.md.
On ANY funding error (missing flags, unscannable QR, Wallet not deployed, Insufficient balance, wrong chain after eco, withdraw limits), check the error table and reference links:
READ references/troubleshooting.md.
If a legacy Eco intent expired, is WaitingForRefund, or refunded USDC to eoaOwnerAddress, stop funding and hand off to recovery: use the installed recover-eco-funds skill; if it isn't installed, fetch https://agents.circle.com/skills/recover-eco-funds.md. Verify the onchain fixed refund recipient before using any executable recovery phase. Current Gateway v2 deposits set refundRecipient to the SCA — use normal status and balance reconciliation for those.
circle wallet list.circle wallet fund — the CLI will not prompt an agent. Confirm --amount with the user first.--method (the faucet rejects it, and --open, --no-open, and --export too); run only circle wallet fund --address <addr> --chain <TESTNET_CHAIN>. --amount is ignored there.--open to circle wallet fund (--method crypto --open for QR transfers, --method fiat --open for the on-ramp), unless the user explicitly asks for the on-ramp URL only; then use --method fiat --no-open. Terminal QR codes get truncated inside Claude Code, Codex, and similar agent UIs and become unscannable.accepts[].amount = max(price × N + fee + slack, Gateway minimum), where N is the workflow's expected call count. Typically reserve ~50% of vanilla as a soft headroom floor. The CLI enforces a 0.5 USDC minimum Gateway deposit (Gateway deposit amount must be at least 0.5 USDC.); it isn't listed in --help, so floor your suggestion to it.--max-amount cap. Don't silently deposit ~100× the task cost.--chain where the balance lives: eco lands on Arc → pay --chain ARC; direct lands on the source chain → pay --chain <same>.circle CLI itself causes friction during funding (unexpected error, confusing output, missing capability), file feedback per the installed use-circle-cli skill's Report friction (feedback) section; if it isn't installed, fetch https://agents.circle.com/skills/feedback.md.Trigger the recover-eco-funds skill instead when:
Trigger the use-agent-wallet skill instead when:
circle wallet status errors with "Not logged in" or "Terms acceptance is required".Trigger the pay-via-agent-wallet skill instead when:
circle services pay, circle services search, or any "pay for" prompt.Trigger the agent-wallet-policy skill instead when:
Without these skills installed, fetch their pages instead: use-agent-wallet → https://agents.circle.com/skills/wallet-login.md, pay-via-agent-wallet → https://agents.circle.com/skills/wallet-pay.md, agent-wallet-policy → https://agents.circle.com/skills/wallet-policy.md, recover-eco-funds → https://agents.circle.com/skills/recover-eco-funds.md.
For cross-chain USDC moves, use circle bridge transfer directly (see Withdrawing from Gateway under Path C for the withdraw-then-bridge pattern).
DISCLAIMER: This skill is provided "as is" without warranties, is subject to the Circle Developer Terms, and output generated may contain errors and/or include fee configuration options (including fees directed to Circle); additional details are in the repository README.
references/crypto-transfer-alternatives.md (opens in a new tab)references/fiat-on-ramp.md (opens in a new tab)references/gateway-direct-and-withdraw.md (opens in a new tab)references/gateway-eco-deposit.md (opens in a new tab)references/testnet-faucet.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
circle-cli, usdc, agent-wallet, fiat-on-ramp, crypto-transfer, gateway-deposit, nanopayments
npx claudepluginhub circlefin/skills --plugin circle-skills20 skills in this plugin
/accept-agent-paymentsUse when a developer wants to monetize an API, endpoint, service, model, dataset, tool, or agent-facing resource with Circle USDC pay-per-call payments, Gateway Nanopayments, x402, HTTP 402, or Agent Marketplace listing. Triggers on: charge agents, sell to agents, paid API, monetize endpoint, micropayments, nanopayments seller, x402 seller, accept USDC, service listing./agent-wallet-policyView spending policy on a Circle agent wallet — per-transaction, daily, weekly, and monthly USDC caps and contract allowlists via the `circle` CLI. Use when the user wants to inspect limits or restrict contract calls. Setting or resetting limits requires OTP confirmation in an interactive terminal session — the agent hands the user a verbatim command to run themselves; the OTP must never pass through agent storage. Mainnet-only — testnet chains are rejected. Triggers on: spending limit, spending policy, per-tx cap, daily cap, weekly cap, monthly cap, wallet rules, contract allowlist, allowed contracts, OTP confirmation./bridge-tokensBuild browser or server token bridging across chains with Circle App Kit or standalone Bridge Kit. Bridges USDC across CCTP chains (EVM and Solana) and CCTPx tokens on supported EVM routes, including registry aliases such as wETH, cirBTC, and EURC plus registry-listed token IDs, through the same `kit.bridge()` call. Supports browser wallets, private-key and Circle Wallets adapters, bridge events, transfer speed (FAST/SLOW), Forwarding Service, and recovery. Bridge operations require no kit key. Use when: bridge a token across chains, bridge USDC, bridge a CCTPx token alias or token ID, move tokens between chains, build wallet-connected bridge UIs, configure Viem/Ethers/Solana adapters, or use @circle-fin/bridge-kit, @circle-fin/app-kit, CCTP, CCTPx, forwarding, or bridge routes.Other plugins' skills for the same job