@agnic/wallet-skills 1.3.0 → 1.3.2
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 +6 -2
- package/package.json +1 -1
- package/skills/agnic/SKILL.md +1 -1
- package/skills/ai-gateway/SKILL.md +13 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AgnicPay Agentic Wallet Skills
|
|
2
2
|
|
|
3
|
-
Agent Skills for crypto wallet operations. These skills enable AI agents to authenticate, check balances, send USDC, trade tokens, make x402 payments, and verify on-chain identity using the `agnic` CLI.
|
|
3
|
+
Agent Skills for crypto wallet operations. These skills enable AI agents to authenticate, check balances, send USDC, trade tokens, make x402 payments, access 340+ AI models, generate images, and verify on-chain identity using the `agnic` CLI.
|
|
4
4
|
|
|
5
5
|
## Available Skills
|
|
6
6
|
|
|
@@ -15,7 +15,8 @@ Agent Skills for crypto wallet operations. These skills enable AI agents to auth
|
|
|
15
15
|
| **fund-wallet** | Get instructions for adding funds to the wallet |
|
|
16
16
|
| **get-agent-identity** | Check on-chain ERC-8004 identity and trust score |
|
|
17
17
|
| **agent-email** | Manage agent email — send, receive, check inbox |
|
|
18
|
-
| **
|
|
18
|
+
| **ai-gateway** | Access 340+ AI models — chat, image generation (GPT, Claude, Gemini, Llama, Flux) |
|
|
19
|
+
| **agnic** | Unified skill — all wallet, payment, email, identity, and AI capabilities |
|
|
19
20
|
|
|
20
21
|
## Installation
|
|
21
22
|
|
|
@@ -38,6 +39,9 @@ Examples:
|
|
|
38
39
|
- `Find a sentiment analysis API`
|
|
39
40
|
- `Pay for https://api.example.com/data`
|
|
40
41
|
- `What's my agent identity?`
|
|
42
|
+
- `List available AI models`
|
|
43
|
+
- `Ask GPT-4o to explain quantum computing`
|
|
44
|
+
- `Generate an image of a sunset over mountains`
|
|
41
45
|
|
|
42
46
|
## Contributing
|
|
43
47
|
|
package/package.json
CHANGED
package/skills/agnic/SKILL.md
CHANGED
|
@@ -95,7 +95,7 @@ npx agnic@latest ai image --prompt 'Logo design' --aspect-ratio 16:9 --output lo
|
|
|
95
95
|
```
|
|
96
96
|
|
|
97
97
|
340+ models from OpenAI, Anthropic, Google, Meta, Mistral, DeepSeek, and more.
|
|
98
|
-
Model format: `provider/model-name` (e.g., `openai/gpt-4o`, `google/gemini-2.
|
|
98
|
+
Model format: `provider/model-name` (e.g., `openai/gpt-4o`, `google/gemini-2.5-flash-image`)
|
|
99
99
|
Free models: `meta-llama/*`, `google/gemma-*`, `mistralai/*`
|
|
100
100
|
|
|
101
101
|
### Workflow: Sign Up + Pay + Report
|
|
@@ -46,7 +46,7 @@ Models use `provider/model-name` format:
|
|
|
46
46
|
| ----------- | ----------------------------------------- |
|
|
47
47
|
| openai | `openai/gpt-4o`, `openai/gpt-4-turbo` |
|
|
48
48
|
| anthropic | `anthropic/claude-3.5-sonnet` |
|
|
49
|
-
| google | `google/gemini-2.
|
|
49
|
+
| google | `google/gemini-2.5-flash-image`, `google/gemma-*` |
|
|
50
50
|
| meta-llama | `meta-llama/llama-3.3-70b` |
|
|
51
51
|
| mistralai | `mistralai/mistral-large-latest` |
|
|
52
52
|
| deepseek | `deepseek/deepseek-chat` |
|
|
@@ -79,7 +79,7 @@ Free models: `meta-llama/*`, `google/gemma-*`, `mistralai/*`
|
|
|
79
79
|
| Option | Description |
|
|
80
80
|
| ------------------------- | ---------------------------------------- |
|
|
81
81
|
| `--prompt <text>` | Image description (required) |
|
|
82
|
-
| `--model <id>` | Model (default: google/gemini-2.
|
|
82
|
+
| `--model <id>` | Model (default: google/gemini-2.5-flash-image) |
|
|
83
83
|
| `--aspect-ratio <ratio>` | 1:1, 16:9, 9:16, 4:3, 3:2 (default: 1:1)|
|
|
84
84
|
| `--output <path>` | Save image to file |
|
|
85
85
|
| `--json` | Output as JSON |
|
|
@@ -123,6 +123,10 @@ npx agnic@latest ai image --prompt 'A sunset over mountains' --output sunset.png
|
|
|
123
123
|
# Generate widescreen image
|
|
124
124
|
npx agnic@latest ai image --prompt 'Cyberpunk cityscape' --aspect-ratio 16:9 --output city.png
|
|
125
125
|
|
|
126
|
+
# Use a specific image model
|
|
127
|
+
npx agnic@latest ai image --prompt 'A portrait painting' --model openai/gpt-5-image --output portrait.png
|
|
128
|
+
npx agnic@latest ai image --prompt 'Abstract art' --model black-forest-labs/flux.2-max --output art.png
|
|
129
|
+
|
|
126
130
|
# Get image as JSON (base64)
|
|
127
131
|
npx agnic@latest ai image --prompt 'Logo design for a tech startup' --json
|
|
128
132
|
```
|
|
@@ -131,7 +135,13 @@ npx agnic@latest ai image --prompt 'Logo design for a tech startup' --json
|
|
|
131
135
|
|
|
132
136
|
- Must be authenticated (`npx agnic@latest status` to check)
|
|
133
137
|
- Wallet must have USDC balance (free models available for testing)
|
|
134
|
-
- Image generation
|
|
138
|
+
- Image generation models:
|
|
139
|
+
- `google/gemini-2.5-flash-image` (default) — fast, good quality
|
|
140
|
+
- `google/gemini-3-pro-image-preview` — highest quality Google model
|
|
141
|
+
- `google/gemini-3.1-flash-image-preview` — latest flash preview
|
|
142
|
+
- `openai/gpt-5-image` — OpenAI image generation
|
|
143
|
+
- `black-forest-labs/flux.2-max` — Flux high quality
|
|
144
|
+
- `black-forest-labs/flux.2-klein-4b` — Flux lightweight/fast
|
|
135
145
|
|
|
136
146
|
## Error Handling
|
|
137
147
|
|