Vercel AI Skills
Pre-built AI agent skills for wallet operations, trading, and x402 payments
Vercel AI Skills
The @agnic/wallet-skills package provides pre-built skills that teach AI assistants how to use AgnicPay. Compatible with the Vercel AI SDK skills system.
Installation
Or clone locally:
Available Skills
| Skill | Trigger Phrases | Description |
|---|---|---|
| authenticate-wallet | "log in", "sign in", "authenticate" | Email OTP login flow |
| check-balance | "check balance", "how much do I have" | USDC balance across networks |
| send-usdc | "send", "transfer", "pay someone" | Send USDC to a wallet address |
| trade-tokens | "trade", "swap", "buy ETH" | Swap tokens on Base |
| search-for-service | "find an API", "search for" | Discover x402-enabled APIs |
| pay-for-service | "call this API", "use this service" | Make x402 payment requests |
| fund-wallet | "add funds", "deposit", "top up" | Instructions for funding wallet |
| get-agent-identity | "agent identity", "trust score" | ERC-8004 identity and credentials |
How Skills Work
Each skill is a markdown file that instructs the AI assistant on how to complete a task using the agnic CLI. When a user's request matches a skill, the AI follows the instructions to execute the right commands.
Example: Trading Tokens
When a user says "swap 10 USDC for ETH", the trade-tokens skill instructs the AI to:
- Check the wallet balance
- Optionally preview the trade with
--dry-run - Execute the swap
- Report the results
Prerequisites
Skills require the agnic CLI to be available:
And the agent must be authenticated:
Unique: Agent Identity Skill
The get-agent-identity skill has no equivalent in other wallet tools. It lets AI agents check their on-chain ERC-8004 identity, trust score, and KYA credentials — enabling identity-verified transactions.