xno-skills 1.4.0 → 1.4.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 +36 -24
- package/dist/cjs/version.d.ts +2 -2
- package/dist/cjs/version.js +1 -1
- package/dist/esm/.xno-mcp/requests.json +6 -6
- package/dist/esm/version.d.ts +2 -2
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
- package/skills/nano-convert-units/SKILL.md +2 -2
- package/skills/nano-create-wallet/SKILL.md +4 -4
- package/skills/nano-generate-qr/SKILL.md +1 -1
- package/skills/nano-mcp-wallet/SKILL.md +1 -1
- package/skills/nano-request-payment/SKILL.md +5 -5
- package/skills/nano-return-funds/SKILL.md +3 -3
- package/skills/nano-sign-message/SKILL.md +1 -1
- package/skills/nano-verify-message/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -16,15 +16,30 @@ This repository includes built-in skills for AI agents (Claude Code, Cursor, etc
|
|
|
16
16
|
npx skills add CasualSecurityInc/xno-skills
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
Available skills:
|
|
20
|
-
- `
|
|
21
|
-
- `convert-units`: High-precision unit conversion reference.
|
|
22
|
-
- `
|
|
23
|
-
- `
|
|
24
|
-
- `
|
|
25
|
-
- `
|
|
26
|
-
- `
|
|
27
|
-
- `
|
|
19
|
+
Available skills (v1.4.0+):
|
|
20
|
+
- `nano-check-balance`: Check balance/pending via Nano node RPC.
|
|
21
|
+
- `nano-convert-units`: High-precision unit conversion reference.
|
|
22
|
+
- `nano-create-wallet`: Wallet creation/import guidance (BIP39/Legacy support).
|
|
23
|
+
- `nano-generate-qr`: Terminal-friendly Nano payment QR codes.
|
|
24
|
+
- `nano-mcp-wallet`: Use `xno-mcp` as a private “wallet” custody blackbox.
|
|
25
|
+
- `nano-request-payment`: Request XNO from operator (payment request workflow).
|
|
26
|
+
- `nano-return-funds`: Return XNO to sender safely.
|
|
27
|
+
- `nano-sign-message`: Sign off-chain messages (NOMS/ORIS-001).
|
|
28
|
+
- `nano-validate-address`: Address format and checksum verification.
|
|
29
|
+
- `nano-verify-message`: Verify off-chain message signatures.
|
|
30
|
+
- `nano-block-lattice-expert`: Deep protocol wisdom and 2026 operational facts.
|
|
31
|
+
|
|
32
|
+
### Migration (from < v1.4.0)
|
|
33
|
+
|
|
34
|
+
If you have old skills installed without the `nano-` prefix, you should remove them and re-add the repo to avoid name collisions and "ghost" skills:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
# 1. Remove old generic names
|
|
38
|
+
npx skills remove -g check-balance convert-units create-wallet generate-qr mcp-wallet request-payment return-funds sign-message validate-address verify-message
|
|
39
|
+
|
|
40
|
+
# 2. Add the new prefixed skills
|
|
41
|
+
npx skills add -g CasualSecurityInc/xno-skills
|
|
42
|
+
```
|
|
28
43
|
|
|
29
44
|
## MCP Server
|
|
30
45
|
|
|
@@ -37,27 +52,24 @@ To use it, add the following to your MCP client configuration:
|
|
|
37
52
|
"mcpServers": {
|
|
38
53
|
"xno": {
|
|
39
54
|
"command": "npx",
|
|
40
|
-
"args": ["-y", "
|
|
55
|
+
"args": ["-y", "xno-skills@latest", "xno-mcp"]
|
|
41
56
|
}
|
|
42
57
|
}
|
|
43
58
|
}
|
|
44
59
|
```
|
|
45
60
|
|
|
46
61
|
Exposed tools:
|
|
47
|
-
- `
|
|
48
|
-
- `wallet_balance
|
|
49
|
-
- `wallet_receive` / `wallet_send`: Receive pending blocks
|
|
50
|
-
- `
|
|
51
|
-
- `
|
|
52
|
-
- `
|
|
53
|
-
- `
|
|
54
|
-
- `
|
|
55
|
-
- `
|
|
56
|
-
- `
|
|
57
|
-
- `
|
|
58
|
-
- `probe_mnemonic`: Probe both derivations via RPC (helps resolve 24-word ambiguity).
|
|
59
|
-
- `convert_units`: Converts between XNO and raw units.
|
|
60
|
-
- `validate_address`: Validates address format and checksum.
|
|
62
|
+
- `wallet_list`: List available wallets.
|
|
63
|
+
- `wallet_balance`: Check balance/pending for a wallet account.
|
|
64
|
+
- `wallet_receive` / `wallet_send`: Receive pending blocks or send funds.
|
|
65
|
+
- `payment_request_create` / `payment_request_status` / `payment_request_receive` / `payment_request_list` / `payment_request_refund`: Full payment request lifecycle.
|
|
66
|
+
- `wallet_history`: Persistent transaction log.
|
|
67
|
+
- `config_get` / `config_set`: Manage server settings (RPC URL, representative, etc.).
|
|
68
|
+
- `convert_units`: High-precision unit conversion.
|
|
69
|
+
- `validate_address`: Offline address validation.
|
|
70
|
+
- `rpc_account_balance`: Direct RPC balance check for any address.
|
|
71
|
+
- `generate_qr`: Generate ASCII QR codes.
|
|
72
|
+
- `sign_message` / `verify_message`: Sign and verify off-chain messages (NOMS).
|
|
61
73
|
|
|
62
74
|
## Installation
|
|
63
75
|
|
package/dist/cjs/version.d.ts
CHANGED
package/dist/cjs/version.js
CHANGED
|
@@ -5,7 +5,7 @@ exports.version = exports.pkg = void 0;
|
|
|
5
5
|
// Keep this in sync by running "npm run build" (prebuild hook).
|
|
6
6
|
exports.pkg = {
|
|
7
7
|
name: "xno-skills",
|
|
8
|
-
version: "1.4.
|
|
8
|
+
version: "1.4.2"
|
|
9
9
|
};
|
|
10
10
|
exports.version = exports.pkg.version;
|
|
11
11
|
//# sourceMappingURL=version.js.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"requests": [
|
|
3
3
|
{
|
|
4
|
-
"id": "
|
|
4
|
+
"id": "mofiqe8g7gaair",
|
|
5
5
|
"owsWalletId": "A",
|
|
6
6
|
"accountIndex": 0,
|
|
7
7
|
"address": "nano_1link1111111111111111111111111111111111111111111111111111111",
|
|
8
8
|
"amountRaw": "10000000000000000000000000000",
|
|
9
9
|
"reason": "explicit wallet test",
|
|
10
10
|
"status": "pending",
|
|
11
|
-
"createdAt": "2026-04-26T08:
|
|
12
|
-
"updatedAt": "2026-04-26T08:
|
|
11
|
+
"createdAt": "2026-04-26T08:40:43.408Z",
|
|
12
|
+
"updatedAt": "2026-04-26T08:40:43.408Z",
|
|
13
13
|
"receivedBlocks": []
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
|
-
"id": "
|
|
16
|
+
"id": "mofiqe95or7usb",
|
|
17
17
|
"owsWalletId": "A",
|
|
18
18
|
"accountIndex": 0,
|
|
19
19
|
"address": "nano_1link1111111111111111111111111111111111111111111111111111111",
|
|
20
20
|
"amountRaw": "500000000000000000000000000000",
|
|
21
21
|
"reason": "status check test",
|
|
22
22
|
"status": "pending",
|
|
23
|
-
"createdAt": "2026-04-26T08:
|
|
24
|
-
"updatedAt": "2026-04-26T08:
|
|
23
|
+
"createdAt": "2026-04-26T08:40:43.433Z",
|
|
24
|
+
"updatedAt": "2026-04-26T08:40:43.433Z",
|
|
25
25
|
"receivedBlocks": []
|
|
26
26
|
}
|
|
27
27
|
]
|
package/dist/esm/version.d.ts
CHANGED
package/dist/esm/version.js
CHANGED
package/package.json
CHANGED
|
@@ -231,5 +231,5 @@ npx xno-skills convert 1 raw --to XNO # 0.00000000000000000000000000000
|
|
|
231
231
|
|
|
232
232
|
## Related Skills
|
|
233
233
|
|
|
234
|
-
- **create-wallet** - Generate XNO wallet with seed phrase
|
|
235
|
-
- **validate-address** - Validate XNO addresses (BIP-44, legacy)
|
|
234
|
+
- **nano-create-wallet** - Generate XNO wallet with seed phrase
|
|
235
|
+
- **nano-validate-address** - Validate XNO addresses (BIP-44, legacy)
|
|
@@ -64,7 +64,7 @@ Nano funds show as **pending** until the recipient publishes a receive block.
|
|
|
64
64
|
|
|
65
65
|
## Related skills
|
|
66
66
|
|
|
67
|
-
- `mcp-wallet` – Use OWS wallets via the `xno-mcp` service (recommended for agents)
|
|
68
|
-
- `generate-qr` – Make a QR for the address
|
|
69
|
-
- `validate-address` – Verify a Nano address before sending
|
|
70
|
-
- `check-balance` – Verify balance/pending via RPC
|
|
67
|
+
- `nano-mcp-wallet` – Use OWS wallets via the `xno-mcp` service (recommended for agents)
|
|
68
|
+
- `nano-generate-qr` – Make a QR for the address
|
|
69
|
+
- `nano-validate-address` – Verify a Nano address before sending
|
|
70
|
+
- `nano-check-balance` – Verify balance/pending via RPC
|
|
@@ -72,4 +72,4 @@ In interactive flows, ask for:
|
|
|
72
72
|
- The receiving address (or confirm it).
|
|
73
73
|
- Optional amount in XNO.
|
|
74
74
|
|
|
75
|
-
If the user asks to send XNO “to the agent” or “to you”, initialize or import a wallet via the MCP server (`mcp-wallet` skill) and generate a QR code for its active address. Remember that you must subsequently call `wallet_receive` from the `mcp-wallet` skill to actually pocket the funds once they send them.
|
|
75
|
+
If the user asks to send XNO “to the agent” or “to you”, initialize or import a wallet via the MCP server (`nano-mcp-wallet` skill) and generate a QR code for its active address. Remember that you must subsequently call `wallet_receive` from the `nano-mcp-wallet` skill to actually pocket the funds once they send them.
|
|
@@ -91,7 +91,7 @@ By default, the wallet uses **automatic PoW selection** from `@openrai/nano-core
|
|
|
91
91
|
Call MCP tool:
|
|
92
92
|
- `wallet_list` to see which wallets exist in your OWS vault.
|
|
93
93
|
|
|
94
|
-
To create a new wallet, use the `ows` CLI (outside of MCP) or the `create-wallet` skill instructions.
|
|
94
|
+
To create a new wallet, use the `ows` CLI (outside of MCP) or the `nano-create-wallet` skill instructions.
|
|
95
95
|
|
|
96
96
|
## 2. Reading Balances (MCP Resources & Tools)
|
|
97
97
|
|
|
@@ -48,7 +48,7 @@ This returns:
|
|
|
48
48
|
Tell the operator:
|
|
49
49
|
- How much you need and why
|
|
50
50
|
- The `nano:` address to send to
|
|
51
|
-
- Offer to generate a QR code (use `generate-qr` skill or the `generate_qr` MCP tool if available)
|
|
51
|
+
- Offer to generate a QR code (use `nano-generate-qr` skill or the `generate_qr` MCP tool if available)
|
|
52
52
|
|
|
53
53
|
Example message:
|
|
54
54
|
> I need 0.1 XNO for [reason]. Please send to:
|
|
@@ -81,7 +81,7 @@ Once funds are received, confirm to the operator:
|
|
|
81
81
|
|
|
82
82
|
## Related Skills
|
|
83
83
|
|
|
84
|
-
- `mcp-wallet` — wallet custody operations
|
|
85
|
-
- `check-balance` — manual balance checking
|
|
86
|
-
- `generate-qr` — QR code generation for payment addresses
|
|
87
|
-
- `return-funds` — returning funds to the operator
|
|
84
|
+
- `nano-mcp-wallet` — wallet custody operations
|
|
85
|
+
- `nano-check-balance` — manual balance checking
|
|
86
|
+
- `nano-generate-qr` — QR code generation for payment addresses
|
|
87
|
+
- `nano-return-funds` — returning funds to the operator
|
|
@@ -89,6 +89,6 @@ If spending limits prevent the refund:
|
|
|
89
89
|
|
|
90
90
|
## Related Skills
|
|
91
91
|
|
|
92
|
-
- `request-payment` — the inbound counterpart
|
|
93
|
-
- `mcp-wallet` — wallet operations
|
|
94
|
-
- `validate-address` — verify addresses before sending
|
|
92
|
+
- `nano-request-payment` — the inbound counterpart
|
|
93
|
+
- `nano-mcp-wallet` — wallet operations
|
|
94
|
+
- `nano-validate-address` — verify addresses before sending
|