AI Agent Skills
Pre-built AI agent skills for wallet operations, x402 transactions, and identity verification
AI Agent Skills
The @agnic/wallet-skills package provides pre-built skills that teach AI assistants how to use Agnic. Compatible with any AI coding tool that supports the SKILL.md specification — Claude Code, Cline, Cursor, Windsurf, and more.
Installation
npx skills add agnicpay/agnic-wallet-skillsOr clone locally:
git clone https://github.com/agnicpay/agnic-wallet-skills
npx skills add ./agnic-wallet-skillsAvailable Skills
| Skill | Trigger Phrases | Description | Side Effects |
|---|---|---|---|
| authenticate-wallet | "log in", "sign in", "authenticate" | Browser OAuth or headless token auth | None |
| check-balance | "check balance", "how much do I have" | USDC balance across networks | None |
| search-for-service | "find an API", "search for" | Discover x402-enabled APIs | None |
| pay-for-service | "call this API", "use this service" | Make x402 requests | Spends USDC |
| fund-wallet | "add funds", "deposit", "top up" | Instructions for funding wallet | None |
| get-agent-identity | "agent identity", "trust score" | ERC-8004 identity and credentials | None |
| agent-email | "agent email", "check inbox", "send email" | Send, receive, and manage agent email | Sends email |
| ai-gateway | "ask GPT", "generate an image", "list models" | Access 340+ AI models — chat and image generation | Spends USDC |
How Skills Work
Each skill is a markdown file (SKILL.md) 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: Accessing an x402 API
When a user says "call this weather API", the pay-for-service skill instructs the AI to:
- Check the wallet balance
- Execute the x402 request
- Report the results
# The AI runs these commands automatically:
npx agnic@latest balance --network base --json
npx agnic@latest x402 pay https://api.example.com/weather --jsonAuthentication
Skills support two authentication modes:
Headless (CI, servers, AI agents)
Generate an API token at app.agnic.ai > Settings > API Tokens:
export AGNIC_TOKEN=<your-api-token>
agnic status --jsonInteractive (browser available)
agnic auth login
# Opens browser → sign in → set spending limits → donePrerequisites
Skills require the agnic CLI to be available:
npm install -g agnicUnique: 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.