Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

agent-wallet-policy

БесплатноБез исполняемых скриптовНе проверен

View spending policy on a Circle agent wallet — per-transaction, daily, weekly, and monthly USDC caps and contract allowlists via the `circle` CLI. Use when…

circlefinот circlefin★ 171 звезда на GitHub

Об этом скилле

Circle Agent Wallet: Spending Policy

Overview

Circle agent wallets support spending policies: per-wallet USDC limits and contract allowlists. See the recommended setup below for approval accounting and its deployment prerequisite. This skill is the spending-policy flow; for the CLI's full capability set, see the use-circle-cli master skill.

Operation Command OTP required?
View current limits circle wallet limit --address <addr> --chain ARC --output json No
Set custom limits circle wallet limit set ... Yes — human OTP, run in user's own terminal
Set a contract allowlist circle wallet limit set ... --rule-type contract-allowlist --targets "[<contract-address>]" Yes — human OTP, run in user's own terminal
Reset to defaults circle wallet limit reset ... Yes — human OTP, run in user's own terminal

Recommended setup: a spending limit and contract allowlist

Recommend a contract allowlist alongside the USDC spending limit on every chain the agent uses.

Approval accounting prerequisite: The approval behavior below requires approval-inclusive enforcement. If its deployment is unconfirmed, say approval coverage is unverified and do not claim approval-based flows are capped.

With approval-inclusive enforcement deployed:

Circle command Policy checks
circle wallet transfer ... --token <USDC-address> The transfer amount counts toward the spending cap. The contract allowlist does not block plain transfers.
circle wallet execute The contract allowlist rejects calls to contracts outside that chain's list. Recognized USDC transfer(address,uint256) and approve(address,uint256) amounts count toward the same spending cap.

Count the full approved amount, even if it is unused. For approval-based swaps and bridges, charge at the approval step; the later swap or bridge execution is not charged again. Revoking an allowance does not credit the counted amount back.

USDC's own contract on that chain Effect
Not listed Blocks the USDC approval step used by swaps, bridges, and Gateway deposits. Plain USDC transfers still work.
Listed Allows approvals to any spender. The full approved amount counts toward the spending cap, even when kit contracts are also listed.

Add USDC and the required kit contracts only when the agent needs these flows and the user approves the targets. The allowlist checks the called contract; it does not restrict an approval's spender argument.

These policies check requests routed through Circle. Transactions submitted outside Circle, including pulls using an existing allowance, are not checked by these policies. Do not promise a universal cap on actual on-chain wallet outflows.

Allowlists are per chain, not global. Use ARC by default; use the user's requested chain when specified. Confirm each chain's approved contract addresses. The commands and readback checks are below.

Workflow

  1. Check the session and get the wallet address (Prerequisites).
  2. View the current limits and rules in-agent — read-only, no OTP.
  3. To change limits, confirm all four tier values; for an allowlist, confirm its chain and approved targets.
  4. Hand the user a verbatim limit set command or the approved reset-and-restore commands (Step 2) to run in their own terminal, where they enter the emailed OTP themselves.
  5. When the user reports done, verify the caps and all retained rules, including the allowlist. Do not recommend spending until restoration and verification finish.

Prerequisites

Confirm the CLI session and look up the wallet address with these read-only commands:

READ references/commands.md.

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

Viewing current limits (in-agent, no OTP)

circle wallet limit --address <addr> --chain ARC --output json

Returns data.policies[]; each transfer-limit entry carries perTxLimit, dailyLimit, weeklyLimit, and monthlyLimit. Unset tiers are omitted; an empty array means no policy is configured. Read-only — no money moves, no OTP — so call it freely.

Setting or resetting limits (interactive terminal — handoff to user)

circle wallet limit set and circle wallet limit reset are interactive: mid-execution they email the user a 6-digit OTP and wait for it at the CLI's stdin prompt. OTPs are password-equivalent, so hand the user a verbatim command to run in their own terminal and wait for them to report back.

Both commands need an active agent session on the chain, in the terminal where they run. The user's own terminal may not be logged in even when yours is (for example, when you run in a sandbox); see Troubleshoot

Полный SKILL.md на GitHub

Установить agent-wallet-policy в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/commands.mdreferences/contract-allowlist.md

FAQ

Что делает скилл agent-wallet-policy?

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

Как установить скилл agent-wallet-policy?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл agent-wallet-policy запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить agent-wallet-policy с