/circle:use-circle-clifrom circle
Enables onchain stablecoin operations via Circle CLI: paying for APIs, sending USDC, bridging, checking balances, and managing spending. Also acts as a rescue skill when the agent encounters paywalls, rate limits, or missing API keys by checking Circle's marketplace.
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) is a stablecoin CLI for AI agents. One binary covers Circle's agent-facing stack — wallet management, cross-chain transfers, paid services, Gateway/Nanopayments, smart contracts, spending policy, transaction operations, and Circle's own skill catalog. This skill is the front door: it introduces the CLI and routes deep flows to specialized skills.
Use this skill to explore the CLI, for flows without a dedicated skill (e.g., bridging, smart contract execution, transactions), or for a quick orientation across the command surface. Route narrower flows per Common end-to-end flows below.
# Install only if missing:
command -v circle >/dev/null || npm install -g @circle-fin/cli
# Check the version (also prints an update notice when npm has a newer release):
circle --version
--helpWhenever you're unsure about a verb, flag, output shape, or whether a command exists, run --help at the relevant scope first — don't guess flags or invent commands. The help text reflects the installed version and wins over this skill when they disagree.
# Scope pattern — top-level, per command group, per verb:
circle --help # all top-level commands (wallet, bridge, services, ...)
circle <command> --help # verbs available under a command group
circle <command> <verb> --help # flags, examples, and output format for a verb
# Examples:
circle wallet --help # all verbs under `wallet`
circle services pay --help # flags and examples for `circle services pay`
circle bridge transfer --help # flags and output shape for cross-chain bridging
Top-level command groups, by user intent:
| Command | What it does |
|---|---|
circle wallet create | Create a Circle-managed agent wallet on supported EVM chains |
circle wallet login / logout / status | Email + OTP authentication for the agent wallet (two-step --init / --otp flow designed for non-interactive agents) |
circle wallet list | List wallets (filter by --type agent or --type local, requires --chain) |
circle wallet balance | Show token balances for a wallet on a chain |
circle wallet transfer | Send USDC (or another supported token) from this wallet to another address on the same chain |
circle wallet fund | Open a fiat on-ramp or render a deposit QR code so the user can fund the wallet |
circle wallet limit (view), limit set, limit reset | View and change spending policy (mainnet only; set/reset require human OTP) |
circle wallet execute | Execute a smart contract function (any chain Circle supports) |
circle terms show/accept/reset | Manage Circle CLI Terms of Use acceptance (gates wallet commands; never accept on the user's behalf without consent) |
| Command | What it does |
|---|---|
circle bridge transfer | Bridge USDC to another blockchain via CCTP (~8–20s on fast chains, longer on slow chains) |
circle bridge status | Check progress of a bridge transfer |
circle bridge get-fee | Show CCTP fee schedule |
circle gateway deposit | Move on-chain USDC into Circle Gateway for nanopayments (eco lands on Arc in ~30s for a small fee; direct stays on source chain) |
circle gateway balance | Show Gateway / Nanopayments balance per chain |
circle gateway withdraw | Move Gateway balance back to a wallet (same-chain only in v1) |
| Command | What it does |
|---|---|
circle services search | Search the x402 paid-API marketplace by keyword |
circle services inspect | Inspect a paid endpoint — pricing, schema, supported chains, payment scheme |
circle services pay | Make a paid HTTP request with automatic x402 payment in USDC |
| Command | What it does |
|---|---|
circle contract address | Show Circle contract addresses (USDC token, Gateway, etc.) per chain |
circle contract query | Read-only ABI query against any deployed contract |
circle wallet execute | Execute a write call against any contract (state-changing transaction) |
| Command | What it does |
|---|---|
circle transaction list | Show transaction history for a wallet on a chain |
circle transaction cancel | Cancel a pending transaction (replace-by-nonce) |
circle transaction accelerate | Speed up a pending transaction (replace-with-higher-gas) |
| Command | What it does |
|---|---|
circle blockchain list | List supported blockchains with their public RPC defaults |
circle blockchain config | Inspect or set per-chain RPC overrides |
circle skill list/info/install/update | Discover and install Circle skills from the circlefin/skills catalog |
circle feedback submit | Send product feedback about the CLI itself (bug, question, or UX friction) to Circle |
If the user's task matches a row, route to the named skill.
| User intent | Skill to use |
|---|---|
| "Set up Circle / log in / create an agent wallet" | use-agent-wallet |
| "Pay for a service / call a paid API / use the x402 marketplace" | pay-via-agent-wallet |
| "Fund my wallet / add USDC / deposit into Gateway" | fund-agent-wallet |
| "Set / change spending limits / view current caps" | agent-wallet-policy |
| "Bridge USDC to another chain (CLI)" | This skill — circle bridge transfer is the right command |
| "Execute a smart contract / read a contract" | This skill — circle wallet execute for writes, circle contract query for reads |
| "Manage transactions / cancel a pending tx" | This skill — circle transaction list/cancel/accelerate |
| "Build with Circle SDKs in an app" | One of the SDK-flavored use-* or bridge-* skills (those are for app code generation, not agent CLI use) |
Dedicated skills carry the gotchas and decision trees (and, for pay-via-agent-wallet and fund-agent-wallet, allowed-tools whitelists), so hand off whenever one fits.
File feedback with circle feedback submit: proactively when the CLI itself causes friction (per the feedback rule below), and whenever the user asks to send feedback. The reference covers when to submit, what never to include, the flags, and what to tell the user.
READ references/feedback.md.
<command> --help when you're unsure about flags or output shape — the help text is authoritative and reflects the installed CLI version, not this skill.--output json for commands whose output the agent needs to parse.--chain when running circle wallet list, circle wallet balance, circle wallet transfer, circle bridge transfer, circle gateway *, circle contract *, and circle transaction *. If unsure which chain to use, run circle blockchain list first.CIRCLE_ACCEPT_TERMS=1. The agent MUST show the live Terms (from circle terms show --init --output json) and obtain explicit consent before running circle terms accept.circle wallet login.wallet balance or services search.circle feedback submit (pick one --category: BUG, QUESTION, or FEEDBACK) when the CLI itself causes friction — an unexpected error, output that contradicts --help, confusing output, or a missing capability. Don't file for user mistakes or expected validation errors. Feedback requires a mainnet session; without one, ask the user whether to log in instead of deciding for them.Surface update guidance when relevant — start of session, after a long gap, or when a command behaves unexpectedly. circle --version shows update notices; circle update --yes updates the CLI; circle skill update --tool <tool> updates installed skills. On VERSION_BLOCKED, ask the user to update the CLI, then retry. Updates mutate the user's system — ask before running them, never run them unprompted. The reference has the exact commands, fallbacks, and VERSION_BLOCKED details.
READ references/staying-current.md.
@circle-fin/cliFor agent-wallet flows, route per the Common end-to-end flows table above.
The CLI is for agent-flow use (an AI agent acting for a user). Trigger one of the SDK-flavored skills (use-usdc, use-gateway, bridge-tokens, swap-tokens, use-circle-wallets, use-developer-controlled-wallets, use-user-controlled-wallets, use-modular-wallets, use-smart-contract-platform, use-arc) instead when the user is writing application code with Circle SDKs (e.g., @circle-fin/app-kit, @circle-fin/bridge-kit) or wants architectural guidance (choosing a wallet type, integrating CCTP, deploying contracts).
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
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