@agnic/wallet-skills 1.0.0 → 1.0.1
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/README.md +55 -0
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# @agnic/wallet-skills
|
|
2
|
+
|
|
3
|
+
Pre-built AI agent skills for [AgnicPay](https://pay.agnic.ai) — x402 payments, token trading, and identity.
|
|
4
|
+
|
|
5
|
+
Compatible with the [Vercel AI SDK](https://sdk.vercel.ai) skills system.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx skills add @agnic/wallet-skills
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Available Skills
|
|
14
|
+
|
|
15
|
+
| Skill | Trigger Phrases | What It Does |
|
|
16
|
+
|-------|-----------------|--------------|
|
|
17
|
+
| **authenticate-wallet** | "log in", "sign in" | Email OTP login flow |
|
|
18
|
+
| **check-balance** | "check balance", "how much do I have" | USDC balance across networks |
|
|
19
|
+
| **send-usdc** | "send", "transfer", "pay someone" | Send USDC to a wallet |
|
|
20
|
+
| **trade-tokens** | "trade", "swap", "buy ETH" | Swap tokens on Base |
|
|
21
|
+
| **search-for-service** | "find an API", "search for" | Discover x402-enabled APIs |
|
|
22
|
+
| **pay-for-service** | "call this API", "use this service" | Make x402 payment requests |
|
|
23
|
+
| **fund-wallet** | "add funds", "deposit" | Instructions for funding |
|
|
24
|
+
| **get-agent-identity** | "agent identity", "trust score" | ERC-8004 identity & credentials |
|
|
25
|
+
|
|
26
|
+
## Prerequisites
|
|
27
|
+
|
|
28
|
+
Skills use the `agnic` CLI under the hood:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
npm install -g agnic
|
|
32
|
+
agnic auth login you@example.com
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## How It Works
|
|
36
|
+
|
|
37
|
+
Each skill is a markdown instruction file that teaches AI assistants how to complete wallet tasks using CLI commands. When a user's request matches a skill, the AI follows the instructions automatically.
|
|
38
|
+
|
|
39
|
+
**Example:** User says "swap 10 USDC for ETH" → `trade-tokens` skill runs:
|
|
40
|
+
```bash
|
|
41
|
+
agnic balance --network base --json
|
|
42
|
+
agnic trade 10 usdc eth --json
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Unique: Agent Identity
|
|
46
|
+
|
|
47
|
+
The `get-agent-identity` skill has no equivalent in other wallet tools. It lets AI agents check their on-chain [ERC-8004](https://eips.ethereum.org/EIPS/eip-8004) identity, trust score, and KYA credentials.
|
|
48
|
+
|
|
49
|
+
## Documentation
|
|
50
|
+
|
|
51
|
+
Full docs at [docs.agnic.ai/docs/agnicpay-features/skills](https://docs.agnic.ai/docs/agnicpay-features/skills)
|
|
52
|
+
|
|
53
|
+
## License
|
|
54
|
+
|
|
55
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agnic/wallet-skills",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "AI agent wallet skills for x402 payments, token trading, and identity",
|
|
5
5
|
"skills": "skills/",
|
|
6
6
|
"files": [
|
|
7
|
-
"skills/"
|
|
7
|
+
"skills/",
|
|
8
|
+
"README.md"
|
|
8
9
|
],
|
|
9
10
|
"keywords": [
|
|
10
11
|
"vercel-ai-skills",
|