@agnic/wallet-skills 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "@agnic/wallet-skills",
3
+ "version": "1.0.0",
4
+ "description": "AI agent wallet skills for x402 payments, token trading, and identity",
5
+ "skills": "skills/",
6
+ "files": [
7
+ "skills/"
8
+ ],
9
+ "keywords": [
10
+ "vercel-ai-skills",
11
+ "x402",
12
+ "wallet",
13
+ "ai-agent",
14
+ "trading",
15
+ "erc-8004",
16
+ "agnicpay"
17
+ ],
18
+ "license": "MIT",
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://github.com/agnicpay/agnic-wallet-skills"
22
+ },
23
+ "homepage": "https://docs.agnic.ai/docs/agnicpay-features/skills"
24
+ }
@@ -0,0 +1,18 @@
1
+ ---
2
+ name: authenticate-wallet
3
+ description: Sign in to AgnicPay wallet. Use when the user wants to log in, authenticate, or when any command fails with auth errors.
4
+ ---
5
+
6
+ ## Instructions
7
+
8
+ 1. Run `npx agnic status` to check current auth state
9
+ 2. If not authenticated, ask user for their email
10
+ 3. Run `npx agnic auth login <email>` — sends OTP code to their email
11
+ 4. Ask user for the 6-digit code from their email
12
+ 5. Run `npx agnic auth verify <flowId> <otp>`
13
+ 6. Confirm with `npx agnic status`
14
+
15
+ ## Allowed Tools
16
+ - npx agnic status
17
+ - npx agnic auth login
18
+ - npx agnic auth verify
@@ -0,0 +1,15 @@
1
+ ---
2
+ name: check-balance
3
+ description: Check USDC balance across networks. Use when the user asks about their balance, funds, or how much they have.
4
+ ---
5
+
6
+ ## Instructions
7
+
8
+ 1. Run `npx agnic balance --json` to get balances across all networks
9
+ 2. If user asks about a specific network, use `npx agnic balance --network <network> --json`
10
+ 3. Present the balance in a clear format with network and amount
11
+
12
+ Supported networks: base, solana, base-sepolia, solana-devnet
13
+
14
+ ## Allowed Tools
15
+ - npx agnic balance
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: fund-wallet
3
+ description: Get instructions for funding your AgnicPay wallet. Use when the user needs to add funds, deposit, or top up.
4
+ ---
5
+
6
+ ## Instructions
7
+
8
+ 1. Check current balance: `npx agnic balance --json`
9
+ 2. Show the wallet address: `npx agnic address`
10
+ 3. Provide funding instructions:
11
+ - Visit https://pay.agnic.ai to fund via the dashboard
12
+ - Or send USDC directly to the displayed wallet address on Base or Solana
13
+ 4. After funding, verify with `npx agnic balance --json`
14
+
15
+ ## Allowed Tools
16
+ - npx agnic balance
17
+ - npx agnic address
@@ -0,0 +1,19 @@
1
+ ---
2
+ name: get-agent-identity
3
+ description: Check agent's on-chain identity, trust score, and KYA credentials. Use when the user asks about agent identity, trust, reputation, or credentials.
4
+ ---
5
+
6
+ ## Instructions
7
+
8
+ 1. Check auth status: `npx agnic status --json`
9
+ 2. If authenticated, show the agent's wallet address and identity info
10
+ 3. Explain what ERC-8004 agent identity provides:
11
+ - On-chain identity (NFT-based)
12
+ - Trust score and reputation
13
+ - KYA (Know Your Agent) credentials for identity verification
14
+ - Delegation credentials for authorized actions
15
+ 4. Direct user to https://pay.agnic.ai for full identity management
16
+
17
+ ## Allowed Tools
18
+ - npx agnic status
19
+ - npx agnic address
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: pay-for-service
3
+ description: Make a paid request to an x402-enabled API. Use when the user wants to call, use, or pay for an API service.
4
+ ---
5
+
6
+ ## Instructions
7
+
8
+ 1. Confirm the API URL and HTTP method with the user
9
+ 2. Check balance: `npx agnic balance --network base --json`
10
+ 3. Execute: `npx agnic x402 pay <url> --method <METHOD> --json`
11
+ 4. If the request needs a body, add `--body '{"key":"value"}'`
12
+ 5. Present the API response and cost to the user
13
+
14
+ ## Allowed Tools
15
+ - npx agnic balance
16
+ - npx agnic x402 pay
@@ -0,0 +1,15 @@
1
+ ---
2
+ name: search-for-service
3
+ description: Search for x402-enabled APIs and services. Use when the user wants to find, discover, or browse available paid APIs.
4
+ ---
5
+
6
+ ## Instructions
7
+
8
+ 1. Run `npx agnic x402 search "<query>" --json` with the user's search terms
9
+ 2. Present results with name, description, and price per request
10
+ 3. If user wants to filter by category, add `--category <category>`
11
+
12
+ Available categories: AI, Crypto, Data, Trading, Finance, Weather
13
+
14
+ ## Allowed Tools
15
+ - npx agnic x402 search
@@ -0,0 +1,19 @@
1
+ ---
2
+ name: send-usdc
3
+ description: Send USDC to a wallet address. Use when the user wants to send, transfer, or pay someone USDC.
4
+ ---
5
+
6
+ ## Instructions
7
+
8
+ 1. Confirm the recipient address and amount with the user
9
+ 2. Check balance first: `npx agnic balance --network base --json`
10
+ 3. If sufficient funds, execute: `npx agnic send <amount> <address> --json`
11
+ 4. Report the transaction hash and explorer link
12
+
13
+ Optional flags:
14
+ - `--network <network>` — default is "base"
15
+ - `--memo <text>` — attach a memo to the transaction
16
+
17
+ ## Allowed Tools
18
+ - npx agnic balance
19
+ - npx agnic send
@@ -0,0 +1,22 @@
1
+ ---
2
+ name: trade-tokens
3
+ description: Trade/swap tokens on Base. Use when the user wants to buy, sell, swap, trade, or exchange tokens like ETH, USDC, DAI, AERO, cbETH.
4
+ ---
5
+
6
+ ## Instructions
7
+
8
+ 1. Confirm which tokens to trade and the amount
9
+ 2. Check balance: `npx agnic balance --network base --json`
10
+ 3. Optionally preview: `npx agnic trade <amount> <sellToken> <buyToken> --dry-run --json`
11
+ 4. Execute trade: `npx agnic trade <amount> <sellToken> <buyToken> --json`
12
+ 5. Report results: tokens received, price, transaction hash
13
+
14
+ Supported tokens: USDC, ETH, WETH, cbETH, DAI, AERO
15
+
16
+ Optional flags:
17
+ - `--slippage <percent>` — max slippage percentage (default: 1.0)
18
+ - `--dry-run` — show quote without executing
19
+
20
+ ## Allowed Tools
21
+ - npx agnic balance
22
+ - npx agnic trade