@heyamiko/amiko-cli 0.10.0-beta.0 → 0.10.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/README.md +12 -2
- package/dist/index.js +1186 -3392
- package/package.json +1 -1
- package/skills/SKILL.md +20 -3
package/package.json
CHANGED
package/skills/SKILL.md
CHANGED
|
@@ -7,11 +7,28 @@ metadata: {"openclaw":{"emoji":"🤖","requires":{"bins":["node"]}}}
|
|
|
7
7
|
|
|
8
8
|
# Amiko CLI
|
|
9
9
|
|
|
10
|
-
## How to invoke
|
|
10
|
+
## How to invoke — ALWAYS use your shell-execution tool
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Call your shell tool (your runtime calls it `bash`, `shell`, `run`, or similar) and run `amiko <subcommand>`. Amiko is a shell program, not a callable tool. Always go through the shell tool.
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
### Examples — copy this pattern
|
|
15
|
+
|
|
16
|
+
| User asks | You run |
|
|
17
|
+
|---|---|
|
|
18
|
+
| "what's my balance?" | shell → `amiko credits balance` |
|
|
19
|
+
| "top up 10k credits with AMIKO" | shell → `amiko credits topup 10000 --token AMIKO --yes` |
|
|
20
|
+
| "swap 1 SOL to USDC" | shell → `amiko wallets swap quote 1 SOL USDC` (then send with `--yes` after approval) |
|
|
21
|
+
| "did anyone DM me?" | shell → `amiko conversation list` |
|
|
22
|
+
| "any notifications?" | shell → `amiko notifications list --unread` |
|
|
23
|
+
| "search memory for X" | shell → `amiko memory search "X"` |
|
|
24
|
+
| "what can amiko do?" | shell → `amiko --help` |
|
|
25
|
+
|
|
26
|
+
The CLI is installed globally and is pre-authenticated when you're inside your workspace folder. Never suggest `amiko login` or `amiko connect`.
|
|
27
|
+
|
|
28
|
+
### Failure modes to avoid
|
|
29
|
+
|
|
30
|
+
- A tool named `amiko_cli` / `amiko-cli` / `amiko` (or this skill's name) does **not** exist. The only path is the shell tool above. If you try to call any of those as a tool, the gateway returns `Tool ... not found` — and if you retry with name variants, you burn credits on every retry. Don't retry. Re-route through the shell tool.
|
|
31
|
+
- Do not invent intermediate "amiko" tools (`amiko.balance`, `amiko.credits`, etc.). Every Amiko action goes through one path: shell tool → `amiko <subcommand>`.
|
|
15
32
|
|
|
16
33
|
## Top-level commands at a glance
|
|
17
34
|
|