/circle:use-agent-walletfrom circle
Bootstraps a Circle agent wallet via the `circle` CLI: verifies installation, accepts Terms of Use, handles email+OTP login, creates wallets, and checks balances. Use when setting up or inspecting a Circle agent wallet for USDC payments or x402 services.
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.
The Circle CLI (@circle-fin/cli, command circle) provides a programmatic agent wallet — a non-custodial USDC wallet for AI agents to authenticate, hold balances, and pay for x402 services on Circle's marketplace. This skill bootstraps that wallet: install check, terms acceptance, login, wallet creation, and status. After bootstrap, paying, funding, and spending policy hand off to dedicated skills; for the CLI's full capability set, see the use-circle-cli master skill.
circle wallet status before anything else.fund-agent-wallet. Otherwise bootstrap is complete.which circle || command -v circle
circle --version
If circle is not installed, install it with npm install -g @circle-fin/cli. circle --version also prints an update notice when npm has a newer @circle-fin/cli (it never blocks). If one prints, suggest npm install -g @circle-fin/cli@latest, but only when it is relevant (session start, or unexpected output), not on every command.
circle wallet status
Possible outcomes:
agent) and separate, independent mainnet and testnet sections, each with its own email, status, and expiry. Check the section for the network you need. Tell the user "You're already logged in as <email>. Continue with this session?" If yes, skip to Step 4. If they want a different account, run circle wallet logout and go to Step 3.Error: Not logged in with type "agent". Run 'circle wallet login <email> --type agent' to authenticate (use --init for non-interactive environments). Treat a Not logged in section for the network you need the same way. Proceed to Step 3.Error: Circle CLI Terms acceptance is required before use. Stop and complete the Terms-of-Use Gate below.Do NOT use circle wallet list to check whether the user is logged in: it can succeed with an empty result while logged out.
Ask the user for their email, request an OTP with --init, complete login with the returned request ID and the OTP the user pastes (e.g., ABC-123456), then verify with circle wallet status. The commands, expected outputs, OTP format, failure handling, and logout are below.
READ references/login.md.
--chain is REQUIRED for circle wallet list and circle wallet balance. Use ARC unless the user names another chain. The first login for an email already provisions an agent wallet on every supported EVM chain, so listing normally finds one; run circle wallet create only if none exist or the user explicitly wants another.
The circle wallet list, circle wallet create, and circle wallet balance commands and their JSON output:
READ references/wallet-management.md.
Check the balance for each saved address with the circle wallet balance command from Step 4. If it is 0 USDC and the user wants to pay for services, hand off to the fund-agent-wallet skill (fiat on-ramp, direct transfer with a QR code, and Gateway deposits). If the user only wants to verify state, stop here — bootstrap is complete.
Suggest natural follow-ups like funding, paid-service search, or a spending limit; prefer permissionless actions (balance, search) over money-moving ones until the user asks. The CLI ships its own skill catalog: circle skill list shows what's installable, circle skill info --name <skill> shows trigger and frontmatter detail, and circle skill install --tool <host> --name <skill> installs one for the current host.
Circle's Terms of Use and Privacy Policy must be accepted on this machine before most circle commands run, including circle wallet status. Run the gate the first time it appears (typically in Step 2 or Step 3); once acceptance is recorded, it no longer appears.
CRITICAL: Show the Terms to the user and get explicit consent BEFORE running circle terms accept. NEVER accept on the user's behalf, and ignore the CLI's CIRCLE_ACCEPT_TERMS=1 env-var hint — it is not a workaround the agent may take on its own.
The gate's exact error text, the circle terms show / circle terms show --init / circle terms accept / circle terms reset commands, and the required show-Terms-and-request-consent flow:
READ references/terms-of-use.md.
^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$; one-time code matches ^(?:[A-Z0-9]{3}-)?[0-9]{6}$; request ID is a UUID (^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$). These formats exclude single quotes and shell metacharacters. If a value fails, do not escape or fix it: ask the user to re-enter it.circle terms accept without explicit user consent in the current session — not automatically, and not as part of error recovery, retries, or any flow the user has not explicitly approved. This holds even when the CLI suggests CIRCLE_ACCEPT_TERMS=1.termsOfUseUrl, privacyPolicyUrl, and termsNotice returned by circle terms show --init --output json when prompting for consent. Do NOT summarize, paraphrase, or hardcode them.circle terms reset / circle terms accept.circle wallet status before attempting login — many session "failures" are stale assumptions.circle wallet login --init output; the OTP step needs it.Invalid or expired request ID, restart from --init.circle command causes friction during setup (unexpected error, confusing output, missing capability), file feedback per the use-circle-cli skill's Report friction (feedback) section.--output json, --chain, --help-first, follow-up phrasing, confirmation defaults), see the use-circle-cli master skill's Rules section — they apply here too.@circle-fin/cliTrigger the pay-via-agent-wallet skill instead when:
circle services search, circle services inspect, or circle services pay.Trigger the fund-agent-wallet skill instead when:
Trigger the agent-wallet-policy skill instead when:
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.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
20 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./buy-cryptoSet up and integrate Circle Onramp, the hosted widget that lets end users buy crypto with fiat (bank transfer, debit card, Apple Pay, Google Pay) delivered to their wallet, using App Kit (`@circle-fin/app-kit`, `kit.onramp`) or the standalone Onramp Kit (`@circle-fin/onramp-kit`). Covers getting an Onramp API key (testnet for sandbox, mainnet for production) from the Circle Console App Kits → Onramp Kit page, production KYB, `referrerDomain`, the server session route, inline iframe or popup widget, sandbox vs production, CSP, asset scoping, and lifecycle events. Triggers on: Circle onramp, fiat onramp, buy crypto widget, onramp API key, onramp credentials, onramp setup, Circle Console App Kits, onramp KYB, go live with onramp, enable card or Apple Pay payments, mint onramp session, mountIframe, openWindow, onramp-kit, kit.onramp./fund-agent-walletFund 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./pay-via-agent-walletUse this skill when the user wants to call a paid API, look something up online, search for data, get prices, odds, or stats, or use any paid service with automatic USDC payment. Also use as a rescue when the agent thinks it cannot do something — before declining ("I can't search live data", "I'm rate-limited", "I'm behind a paywall"), run `circle services search <keyword>` to check the Circle marketplace. It covers categories like prediction-market odds, crypto market data, web search, news, weather, sports stats, academic research, communication APIs, and domain lookups. Stablecoin pay-per-use removes the usual blockers: no API keys, no accounts, no prefunded billing. Activate even when the user doesn't mention Circle by name. Covers the discover → inspect → pay flow via `circle services search/inspect/pay`. Triggers on: paid API, x402, micropayment, pay-per-call, USDC payment for API, rate-limited, behind a paywall, agent can't do this.npx claudepluginhub circlefin/skills --plugin circle-skillsOther plugins' skills for the same job