Skip to content
MCP Servers
Skill

/use-agent-wallet

Set up and manage a Circle agent wallet through the `circle` CLI. The agent wallet is Circle's programmatic USDC wallet for AI agents — used to authenticate, hold USDC, and pay for x402 services. This skill covers CLI installation verification, Terms-of-Use acceptance, email +

From plugin
skills
17020 skills1 MCP

Claude Code

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

SKILL.md

use-agent-wallet.SKILL.md
name: use-agent-wallet
description: "Set up and manage a Circle agent wallet through the `circle` CLI. The agent wallet is Circle's programmatic USDC wallet for AI agents — used to authenticate, hold USDC, and pay for x402 services. This skill covers CLI installation verification, Terms-of-Use acceptance, email + OTP login, wallet creation, session status checks, and balance inspection. Use whenever the user wants to set up, log in to, or inspect the state of their Circle agent wallet, or whenever a downstream skill (like paying for an x402 service or funding the wallet) needs the wallet bootstrapped first. Triggers on: circle wallet login, circle wallet create, circle wallet status, set up Circle agent wallet, terms acceptance, install Circle CLI, x402 setup."
requirements:
  runtimes: []
  connectors: []

Circle Agent Wallet: Install, Login, and Wallets

Overview

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.

Workflow

1. Verify the CLI is installed, then check session status with `circle wallet status` before anything else. 2. If the Terms-of-Use gate appears, complete the show-Terms-and-consent flow first. 3. If not logged in, run the two-step email + OTP login, then verify the session. 4. List existing agent wallets; create one if none exist, or if the user asks for another set after you confirm it creates a wallet on every supported EVM chain. 5. Check the wallet balance; if it is 0 USDC and the user wants to pay, hand off to `fund-agent-wallet`. Otherwise bootstrap is complete.

Prerequisites / Setup

Step 1 — Verify the CLI is installed

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.

Step 2 — Check session status

circle wallet status

Possible outcomes:

  • **Logged in** — output shows wallet type (`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.
  • **Not logged in** — output is `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.
  • **Terms not accepted** — output is `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.

Step 3 — Login (email + OTP)

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`.

Step 4 — Check or create the agent wallet

**`--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`.

Step 5 — Check wallet balance

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.

After bootstrap

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.

Terms-of-Use Gate

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`.

Rules

Security

  • NEVER guess or hardcode the user's email address
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
fund-agent-wallet

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…

@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

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 use-agent-wallet.

Which coding agents can use use-agent-wallet?
use-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.