@heyamiko/amiko-cli 0.7.2 → 0.7.3
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 +2 -0
- package/package.json +1 -1
- package/skills/SKILL.md +14 -4
package/README.md
CHANGED
|
@@ -200,6 +200,8 @@ openclaw plugins install @heyamiko/amiko-cli
|
|
|
200
200
|
|
|
201
201
|
This registers the CLI's skill file so the agent discovers all commands through the normal skill system. Updates to the CLI (`npm update -g @heyamiko/amiko-cli`) also update the skill docs.
|
|
202
202
|
|
|
203
|
+
> **The skill is documentation, not a tool.** Agents must run `amiko <command>` through their shell/bash execution tool. Weaker models sometimes slugify the skill name (`amiko-cli` → `amiko_cli`) and try to call it as a tool, which fails with `Tool amiko_cli not found`. If you see that error, switch to a model with stronger tool discipline (e.g. Claude Sonnet 4.6) — see `skills/SKILL.md`.
|
|
204
|
+
|
|
203
205
|
### Authentication
|
|
204
206
|
|
|
205
207
|
Agents auto-authenticate via `.amiko.json` — no manual connect needed. The platform writes this file during twin init with wallets, billing config, and twin token.
|
package/package.json
CHANGED
package/skills/SKILL.md
CHANGED
|
@@ -7,6 +7,10 @@ metadata: {"openclaw":{"emoji":"🤖","requires":{"bins":["node"]}}}
|
|
|
7
7
|
|
|
8
8
|
# Amiko CLI
|
|
9
9
|
|
|
10
|
+
## How to invoke
|
|
11
|
+
|
|
12
|
+
Run `amiko <command>` via your **shell execution tool** (e.g. `bash`). This skill is a documentation reference, not a callable tool. **Do NOT** try to call `amiko_cli`, `amiko-cli`, `amiko`, or this skill's name as a tool — no such tool exists. The only working invocation is the shell command `amiko`.
|
|
13
|
+
|
|
10
14
|
The `amiko` CLI is installed globally. Auth and payments are automatic via `.amiko.json` — never suggest `amiko login` or `amiko connect`.
|
|
11
15
|
|
|
12
16
|
## Critical Rules
|
|
@@ -21,13 +25,19 @@ The `amiko` CLI is installed globally. Auth and payments are automatic via `.ami
|
|
|
21
25
|
|
|
22
26
|
### Credits & Wallet
|
|
23
27
|
|
|
24
|
-
**Credits are NOT tokens.** 10,000 credits = $1.00 USD. The `topup` command's `<amount>` argument is in **credits**, not tokens.
|
|
28
|
+
**Credits are NOT tokens.** 10,000 credits = $1.00 USD. The `topup` command's `<amount>` argument is always in **credits**, not tokens.
|
|
29
|
+
|
|
30
|
+
**When the user says "top up X AMIKO" or "top up X dollars"** — they mean spend that amount of tokens/dollars. You must convert to credits first:
|
|
31
|
+
- "top up 1 AMIKO" → check AMIKO price (~$0.04), so 1 AMIKO ≈ $0.04 ≈ 400 credits → `amiko credits topup 400 --token AMIKO --yes`
|
|
32
|
+
- "top up $5" → $5 = 50,000 credits → `amiko credits topup 50000 --token AMIKO --yes`
|
|
33
|
+
- "top up 10000 credits" → already in credits → `amiko credits topup 10000 --token AMIKO --yes`
|
|
34
|
+
|
|
35
|
+
Always clarify with the user: "That's X credits (≈$Y), paying Z AMIKO from your wallet. Proceed?"
|
|
25
36
|
|
|
26
37
|
```bash
|
|
27
38
|
amiko credits balance # credit balance + wallet balances
|
|
28
|
-
amiko credits topup 10000 --token AMIKO --yes # buy 10,000 credits (~$1) paying in AMIKO
|
|
29
|
-
amiko credits topup 50000 --token USDC --yes # buy 50,000 credits (~$5) paying in USDC
|
|
30
|
-
amiko credits topup 10000 --token SOL --yes # buy 10,000 credits (~$1) paying in SOL from wallet
|
|
39
|
+
amiko credits topup 10000 --token AMIKO --yes # buy 10,000 credits (~$1) paying in AMIKO
|
|
40
|
+
amiko credits topup 50000 --token USDC --yes # buy 50,000 credits (~$5) paying in USDC
|
|
31
41
|
```
|
|
32
42
|
|
|
33
43
|
**How topup works:**
|