skills/send-usdc/SKILL.md
Send USDC to an Ethereum address or ENS name. Use when you or the user want to send money, pay someone, transfer USDC, tip, donate, or send funds to a wallet address or .eth name. Covers phrases like "send $5 to", "pay 0x...", "transfer to vitalik.eth", "tip someone", "send USDC".
npx skillsauth add agnicpay/agnic-wallet-skills send-usdcInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use the npx agnic@latest send command to transfer USDC from the wallet to any Ethereum address or ENS name on Base.
npx agnic@latest status
If the wallet is not authenticated, refer to the authenticate-wallet skill.
npx agnic@latest send <amount> <recipient> [--chain <chain>] [--json]
| Argument | Description |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| amount | Amount to send: '$1.00', 1.00, or atomic units (1000000 = $1). Always single-quote amounts that use $ to prevent bash variable expansion. If the number looks like atomic units (no decimal or > 100), treat as atomic units. |
| recipient | Ethereum address (0x...) or ENS name (vitalik.eth) |
| Option | Description |
| ---------------- | ---------------------------------- |
| --chain <name> | Blockchain network (default: base) |
| --json | Output result as JSON |
Before constructing the command, validate all user-provided values to prevent shell injection:
^\$?[\d.]+$ (digits, optional decimal point, optional $ prefix). Reject if it contains spaces, semicolons, pipes, backticks, or other shell metacharacters.0x hex address (^0x[0-9a-fA-F]{40}$) or an ENS name (^[a-zA-Z0-9.-]+\.eth$). Reject any value containing spaces or shell metacharacters.Do not pass unvalidated user input into the command.
| Format | Example | Description |
| ------------- | ---------------------- | -------------------------------------- |
| Dollar prefix | '$1.00', '$0.50' | USD notation (single-quote the $) |
| Decimal | 1.0, 0.50 | Human-readable with decimal point |
| Whole number | 5, 100 | Interpreted as whole USDC tokens |
| Atomic units | 500000 | Large integers treated as atomic units |
IMPORTANT: Always single-quote amounts that use $ to prevent bash variable expansion (e.g. '$1.00' not $1.00).
ENS names are automatically resolved to addresses via Ethereum mainnet. The command will:
.eth)# Send $1.00 USDC to an address
npx agnic@latest send 1 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb7
# Send $0.50 USDC to an ENS name
npx agnic@latest send 0.50 vitalik.eth
# Send with dollar sign prefix (note the single quotes)
npx agnic@latest send '$5.00' 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb7
# Get JSON output
npx agnic@latest send 1 vitalik.eth --json
npx agnic@latest status to check)npx agnic@latest balance to check)Common errors:
npx agnic@latest auth login firstnpx agnic@latest balancetools
Swap or trade tokens on Base network. Use when you or the user want to trade, swap, exchange, buy, sell, or convert between tokens like USDC, ETH, and WETH. Covers phrases like "buy ETH", "sell ETH for USDC", "convert USDC to ETH", "get some ETH", "swap tokens", "trade USDC for WETH".
development
Search and browse the x402 bazaar marketplace for paid API services. Use when you or the user want to find available services, see what's available, discover APIs, or need an external service to accomplish a task. Also use as a fallback when no other skill clearly matches — search the bazaar to see if a paid service exists. Covers "what can I do?", "find me an API for...", "what services are available?", "search for...", "browse the bazaar".
development
Make paid requests to x402-enabled APIs using USDC. Use when you or the user want to call a paid API, make an x402 payment, use a bazaar service, or pay for an API request. Covers phrases like "call this API", "use this service", "pay for the request", "make a paid call", "fetch from x402 endpoint".
development
Check your agent's on-chain ERC-8004 identity, trust score, and KYA credentials. Use when you or the user want to see agent identity, check trust score, view KYA credentials, or check agent status. Covers phrases like "what's my agent ID", "check trust score", "show my identity", "agent status", "KYA credentials".