Agnic
Agnic Features

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-skills

Or clone locally:

git clone https://github.com/agnicpay/agnic-wallet-skills
npx skills add ./agnic-wallet-skills

Available Skills

SkillTrigger PhrasesDescriptionSide Effects
authenticate-wallet"log in", "sign in", "authenticate"Browser OAuth or headless token authNone
check-balance"check balance", "how much do I have"USDC balance across networksNone
search-for-service"find an API", "search for"Discover x402-enabled APIsNone
pay-for-service"call this API", "use this service"Make x402 requestsSpends USDC
fund-wallet"add funds", "deposit", "top up"Instructions for funding walletNone
get-agent-identity"agent identity", "trust score"ERC-8004 identity and credentialsNone
agent-email"agent email", "check inbox", "send email"Send, receive, and manage agent emailSends email
ai-gateway"ask GPT", "generate an image", "list models"Access 340+ AI models — chat and image generationSpends 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:

  1. Check the wallet balance
  2. Execute the x402 request
  3. 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 --json

Authentication

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 --json

Interactive (browser available)

agnic auth login
# Opens browser → sign in → set spending limits → done

Prerequisites

Skills require the agnic CLI to be available:

npm install -g agnic

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.


Next Steps