@heyamiko/amiko-cli 0.9.9 → 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 +21 -6
- package/dist/index.js +1512 -3755
- package/package.json +1 -1
- package/skills/SKILL.md +22 -5
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
|
|
|
@@ -116,8 +133,8 @@ amiko wallets transfer --to <addr> --amount 100 --token amiko --yes # send toke
|
|
|
116
133
|
amiko wallets swap quote 1.0 SOL USDC # Jupiter quote (free)
|
|
117
134
|
amiko wallets swap send 1.0 SOL USDC --yes # --wallet defaults to your Solana wallet
|
|
118
135
|
amiko wallets swap tokens # supported tokens list
|
|
119
|
-
amiko wallets bridge quote 10 --from solana --to
|
|
120
|
-
amiko wallets bridge send 10 --from solana --to
|
|
136
|
+
amiko wallets bridge quote 10 --from solana --to base --recipient <addr>
|
|
137
|
+
amiko wallets bridge send 10 --from solana --to base --recipient <addr> --yes
|
|
121
138
|
amiko wallets bridge status <txHash>
|
|
122
139
|
amiko wallets bridge routes
|
|
123
140
|
amiko wallets bridge limits
|