Skip to content

Commit 673624d

Browse files
Update skills to use mm binary (#10)
* chore: update skills to use mm binary * update to major version
1 parent 6dce0f4 commit 673624d

35 files changed

Lines changed: 524 additions & 524 deletions

skills/metamask-agent-wallet/SKILL.md

Lines changed: 73 additions & 73 deletions
Large diffs are not rendered by default.

skills/metamask-agent-wallet/references/auth.md

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ Use these commands to initialize wallet mode, sign in, inspect authentication st
44

55
## `init` Command
66

7-
Initialize the project by selecting wallet mode and trading mode. Requires an authenticated session — run `mm-dev login` first.
7+
Initialize the project by selecting wallet mode and trading mode. Requires an authenticated session — run `mm login` first.
88

99
### Syntax
1010

1111
```bash
12-
mm-dev init [--wallet <mode>] [--mode <mode>] [--mnemonic <phrase>] [--password <password>]
12+
mm init [--wallet <mode>] [--mode <mode>] [--mnemonic <phrase>] [--password <password>]
1313
```
1414

1515
### Supported Flags
@@ -24,14 +24,14 @@ mm-dev init [--wallet <mode>] [--mode <mode>] [--mnemonic <phrase>] [--password
2424
### Example
2525

2626
```bash
27-
mm-dev init
28-
mm-dev init --wallet server-wallet --mode beast
27+
mm init
28+
mm init --wallet server-wallet --mode beast
2929
export MM_MNEMONIC="word1 word2 ..."
30-
mm-dev init --wallet byok
30+
mm init --wallet byok
3131

3232
export MM_MNEMONIC="word1 word2 ..."
3333
export MM_PASSWORD="mypassword"
34-
mm-dev init --wallet byok
34+
mm init --wallet byok
3535
```
3636

3737
## `init show` Command
@@ -41,7 +41,7 @@ Display the current initialization settings (wallet mode, trading mode, policies
4141
### Syntax
4242

4343
```bash
44-
mm-dev init show
44+
mm init show
4545
```
4646

4747
### Supported Flags
@@ -51,17 +51,17 @@ This command does not support additional flags beyond output format options.
5151
### Example
5252

5353
```bash
54-
mm-dev init show
54+
mm init show
5555
```
5656

5757
## `login` Command
5858

59-
Sign in to the CLI. On a TTY, bare `mm-dev login` shows a method picker (QR, Google, or email). QR is recommended but not auto-selected.
59+
Sign in to the CLI. On a TTY, bare `mm login` shows a method picker (QR, Google, or email). QR is recommended but not auto-selected.
6060

6161
### Syntax
6262

6363
```bash
64-
mm-dev login [qr | google | email] [--token <token>] [--timeout <seconds>] [--no-wait]
64+
mm login [qr | google | email] [--token <token>] [--timeout <seconds>] [--no-wait]
6565
```
6666

6767
### Supported Flags
@@ -70,24 +70,24 @@ mm-dev login [qr | google | email] [--token <token>] [--timeout <seconds>] [--no
7070
| --- | --- | --- |
7171
| `--token` | No | Pre-minted CLI token in `cliToken:cliRefreshToken` format [env: `MM_CLI_TOKEN`] |
7272
| `--timeout` | No | Seconds to wait for QR or browser callback |
73-
| `--no-wait` | No | Print the sign-in URL and exit without waiting (for non-interactive/CI use). Not supported with QR login. Complete later with `mm-dev login --token` |
73+
| `--no-wait` | No | Print the sign-in URL and exit without waiting (for non-interactive/CI use). Not supported with QR login. Complete later with `mm login --token` |
7474

7575
### Example
7676

7777
```bash
78-
mm-dev login --no-wait
79-
mm-dev login google --no-wait
80-
mm-dev login email --no-wait
81-
mm-dev login --token "cliToken:cliRefreshToken"
78+
mm login --no-wait
79+
mm login google --no-wait
80+
mm login email --no-wait
81+
mm login --token "cliToken:cliRefreshToken"
8282
```
8383

8484
### Note
8585

86-
- If already authenticated, the CLI returns `ALREADY_AUTHENTICATED`. Run `mm-dev logout` first, then log in again.
87-
- `mm-dev login qr` returns `COMING_SOON`. Use Google or email sign-in instead.
86+
- If already authenticated, the CLI returns `ALREADY_AUTHENTICATED`. Run `mm logout` first, then log in again.
87+
- `mm login qr` returns `COMING_SOON`. Use Google or email sign-in instead.
8888
- Pairing codes tolerate `-` and whitespace separators (e.g. `608-225` is equivalent to `608225`).
89-
- Use `mm-dev login google --no-wait` or `mm-dev login email --no-wait` for non-interactive/CI flows. Bare `mm-dev login --no-wait` fails without a TTY because no method is selected.
90-
- `--no-wait` is not supported with QR login. Complete authentication later with `mm-dev login --token`.
89+
- Use `mm login google --no-wait` or `mm login email --no-wait` for non-interactive/CI flows. Bare `mm login --no-wait` fails without a TTY because no method is selected.
90+
- `--no-wait` is not supported with QR login. Complete authentication later with `mm login --token`.
9191

9292
## `auth status` Command
9393

@@ -96,7 +96,7 @@ Show the current authentication status.
9696
### Syntax
9797

9898
```bash
99-
mm-dev auth status [--toon]
99+
mm auth status [--toon]
100100
```
101101

102102
### Supported Flags
@@ -106,8 +106,8 @@ This command does not support additional flags beyond output format options.
106106
### Example
107107

108108
```bash
109-
mm-dev auth status
110-
mm-dev auth status --toon
109+
mm auth status
110+
mm auth status --toon
111111
```
112112

113113
## `logout` Command
@@ -117,7 +117,7 @@ Sign out and clear auth credentials plus local init state, wallet selection, and
117117
### Syntax
118118

119119
```bash
120-
mm-dev logout
120+
mm logout
121121
```
122122

123123
### Supported Flags
@@ -127,7 +127,7 @@ This command does not support flags.
127127
### Example
128128

129129
```bash
130-
mm-dev logout
130+
mm logout
131131
```
132132

133133
## `reset` Command
@@ -137,7 +137,7 @@ Clear the local CLI session entirely.
137137
### Syntax
138138

139139
```bash
140-
mm-dev reset
140+
mm reset
141141
```
142142

143143
### Supported Flags
@@ -147,7 +147,7 @@ This command does not support flags.
147147
### Example
148148

149149
```bash
150-
mm-dev reset
150+
mm reset
151151
```
152152

153153
## `wallet password set` Command
@@ -157,7 +157,7 @@ Set a password to encrypt the BYOK mnemonic at rest. Only available in BYOK mode
157157
### Syntax
158158

159159
```bash
160-
mm-dev wallet password set [--new <password>]
160+
mm wallet password set [--new <password>]
161161
```
162162

163163
### Supported Flags
@@ -169,8 +169,8 @@ mm-dev wallet password set [--new <password>]
169169
### Example
170170

171171
```bash
172-
mm-dev wallet password set
173-
mm-dev wallet password set --new "mypassword"
172+
mm wallet password set
173+
mm wallet password set --new "mypassword"
174174
```
175175

176176
## `wallet password change` Command
@@ -180,7 +180,7 @@ Change the BYOK mnemonic encryption password. Only available when the mnemonic i
180180
### Syntax
181181

182182
```bash
183-
mm-dev wallet password change [--current <password>] [--new <password>]
183+
mm wallet password change [--current <password>] [--new <password>]
184184
```
185185

186186
### Supported Flags
@@ -193,8 +193,8 @@ mm-dev wallet password change [--current <password>] [--new <password>]
193193
### Example
194194

195195
```bash
196-
mm-dev wallet password change
197-
mm-dev wallet password change --current "oldpassword" --new "newpassword"
196+
mm wallet password change
197+
mm wallet password change --current "oldpassword" --new "newpassword"
198198
```
199199

200200
## `wallet password remove` Command
@@ -204,7 +204,7 @@ Remove the BYOK mnemonic encryption password, storing the mnemonic as plaintext.
204204
### Syntax
205205

206206
```bash
207-
mm-dev wallet password remove [--current <password>]
207+
mm wallet password remove [--current <password>]
208208
```
209209

210210
### Supported Flags
@@ -216,8 +216,8 @@ mm-dev wallet password remove [--current <password>]
216216
### Example
217217

218218
```bash
219-
mm-dev wallet password remove
220-
mm-dev wallet password remove --current "mypassword"
219+
mm wallet password remove
220+
mm wallet password remove --current "mypassword"
221221
```
222222

223223
## Wallet Modes

skills/metamask-agent-wallet/references/chain.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ List all supported EVM blockchain networks (EIP-155).
99
### Syntax
1010

1111
```bash
12-
mm-dev chains list [--toon]
12+
mm chains list [--toon]
1313
```
1414

1515
### Supported Flags
@@ -19,8 +19,8 @@ This command does not support additional flags beyond output format options.
1919
### Example
2020

2121
```bash
22-
mm-dev chains list
23-
mm-dev chains list --toon
22+
mm chains list
23+
mm chains list --toon
2424
```
2525

2626
## Supported Namespaces

skills/metamask-agent-wallet/references/decode.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ Decode hex-encoded EVM calldata into its function name, parameters, and a plain-
99
### Syntax
1010

1111
```bash
12-
mm-dev decode --payload <0x-calldata> [--toon]
12+
mm decode --payload <0x-calldata> [--toon]
1313
```
1414

15-
The payload can also be passed positionally: `mm-dev decode <0x-calldata>`.
15+
The payload can also be passed positionally: `mm decode <0x-calldata>`.
1616

1717
### Supported Flags
1818

@@ -31,11 +31,11 @@ The payload can also be passed positionally: `mm-dev decode <0x-calldata>`.
3131
### Example
3232

3333
```bash
34-
mm-dev decode --payload 0x095ea7b3000000000000000000000000...
35-
mm-dev decode 0x095ea7b3000000000000000000000000... --toon
34+
mm decode --payload 0x095ea7b3000000000000000000000000...
35+
mm decode 0x095ea7b3000000000000000000000000... --toon
3636
```
3737

3838
## Notes
3939

40-
- Use this before `mm-dev wallet send-transaction` whenever the calldata is unfamiliar or was not constructed by you, to confirm what the transaction actually does.
40+
- Use this before `mm wallet send-transaction` whenever the calldata is unfamiliar or was not constructed by you, to confirm what the transaction actually does.
4141
- If the selector is not recognized, `intent` falls back to `Call unknown function`. Treat unrecognized calldata as higher risk and warn the user before proceeding.

skills/metamask-agent-wallet/references/errors.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This reference lists error codes the CLI actually emits. SDK-only or remapped co
66

77
| Code | Meaning |
88
| --- | --- |
9-
| `ALREADY_AUTHENTICATED` | Valid session already exists; run `mm-dev logout` before logging in again |
9+
| `ALREADY_AUTHENTICATED` | Valid session already exists; run `mm logout` before logging in again |
1010
| `AUTH_FAILED` | Authentication failed (includes missing refresh token cases) |
1111
| `AUTH_ERROR` | Generic authentication error (includes missing auth token cases) |
1212
| `TOKEN_INVALID` | Invalid CLI token, token pair, or project ID |
@@ -72,13 +72,13 @@ This reference lists error codes the CLI actually emits. SDK-only or remapped co
7272
| Code | Meaning |
7373
| --- | --- |
7474
| `ABORTED` | Operation aborted by user |
75-
| `NOT_INITIALIZED` | Project not initialized — run `mm-dev init` |
75+
| `NOT_INITIALIZED` | Project not initialized — run `mm init` |
7676
| `NO_MNEMONIC` | Mnemonic not stored |
7777
| `NO_TTY` | No TTY available for interactive prompts |
7878
| `MISSING_ID` | Missing ID parameter |
7979
| `MISSING_QUOTE_ID` | Missing quote ID |
8080
| `MISSING_SWAP_PARAMS` | Missing swap parameters |
81-
| `COMING_SOON` | Feature not yet available (e.g. `mm-dev login qr`) |
81+
| `COMING_SOON` | Feature not yet available (e.g. `mm login qr`) |
8282

8383
## Swap & Bridge Errors
8484

0 commit comments

Comments
 (0)