xno-skills 1.3.4 → 1.4.1

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 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
- - `create-wallet`: Wallet creation/import guidance (BIP39 default; legacy supported; safe `--stdin` workflows).
21
- - `convert-units`: High-precision unit conversion reference.
22
- - `generate-qr`: Terminal-friendly Nano payment QR codes (address + optional amount).
23
- - `validate-address`: Address format and checksum verification guide.
24
- - `check-balance`: Check balance/pending via Nano node RPC.
25
- - `mcp-wallet`: Use `xno-mcp` as a private “wallet” custody blackbox (addresses only; no seed leakage).
26
- - `request-payment`: Request XNO from operator (payment request workflow with tracking, QR, receive, report).
27
- - `return-funds`: Return XNO to sender (source attribution, ambiguity guards, safe refund).
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", "-p", "xno-skills@latest", "xno-mcp"]
55
+ "args": ["-y", "xno-skills@latest", "xno-mcp"]
41
56
  }
42
57
  }
43
58
  }
44
59
  ```
45
60
 
46
61
  Exposed tools:
47
- - `wallet_create` / `wallet_list` / `wallet_addresses`: Named “wallets” (custody inside MCP; return addresses only).
48
- - `wallet_balance` / `wallet_probe_balances`: Balance/pending checks for wallet accounts via RPC.
49
- - `wallet_receive` / `wallet_send`: Receive pending blocks and send funds (sign + work + `process` via RPC).
50
- - `config_get` / `config_set`: Store defaults (RPC URL, work URL, timeouts, default representative; optional wallet persistence).
51
- - `wallet_set_allowance` / `wallet_get_allowance`: Spending limits per wallet (per-tx cap, window budget, destination whitelist).
52
- - `wallet_history`: Persistent transaction log (sends, receives, linked payment requests).
53
- - `payment_request_create` / `payment_request_status` / `payment_request_receive` / `payment_request_list`: Payment request lifecycle.
54
- - `payment_request_refund`: Safe refund with source attribution and ambiguity guards.
55
- - `generate_qr`: Generate QR codes for Nano addresses/payment URIs.
56
- - `generate_wallet`: Generate a wallet (default: BIP39 derivation).
57
- - `derive_address`: Derive an address (supports `bip39` + `legacy`, with `auto` preference).
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
 
@@ -1,6 +1,6 @@
1
1
  export declare const pkg: {
2
2
  readonly name: "xno-skills";
3
- readonly version: "1.3.4";
3
+ readonly version: "1.4.1";
4
4
  };
5
- export declare const version: "1.3.4";
5
+ export declare const version: "1.4.1";
6
6
  //# sourceMappingURL=version.d.ts.map
@@ -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.3.4"
8
+ version: "1.4.1"
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": "mofhy2ibb1b4dv",
4
+ "id": "mofinoatyd8xjb",
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:18:41.843Z",
12
- "updatedAt": "2026-04-26T08:18:41.843Z",
11
+ "createdAt": "2026-04-26T08:38:36.485Z",
12
+ "updatedAt": "2026-04-26T08:38:36.485Z",
13
13
  "receivedBlocks": []
14
14
  },
15
15
  {
16
- "id": "mofhy2j23clmdw",
16
+ "id": "mofinobsiy729k",
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:18:41.870Z",
24
- "updatedAt": "2026-04-26T08:18:41.870Z",
23
+ "createdAt": "2026-04-26T08:38:36.520Z",
24
+ "updatedAt": "2026-04-26T08:38:36.520Z",
25
25
  "receivedBlocks": []
26
26
  }
27
27
  ]
@@ -1,6 +1,6 @@
1
1
  export declare const pkg: {
2
2
  readonly name: "xno-skills";
3
- readonly version: "1.3.4";
3
+ readonly version: "1.4.1";
4
4
  };
5
- export declare const version: "1.3.4";
5
+ export declare const version: "1.4.1";
6
6
  //# sourceMappingURL=version.d.ts.map
@@ -2,7 +2,7 @@
2
2
  // Keep this in sync by running "npm run build" (prebuild hook).
3
3
  export const pkg = {
4
4
  name: "xno-skills",
5
- version: "1.3.4"
5
+ version: "1.4.1"
6
6
  };
7
7
  export const version = pkg.version;
8
8
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xno-skills",
3
- "version": "1.3.4",
3
+ "version": "1.4.1",
4
4
  "description": "XNO CLI - Interact with the Nano cryptocurrency",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: check-balance
2
+ name: nano-check-balance
3
3
  description: "Check a Nano account's balance and pending amount. You can check YOUR wallet's balance (via wallet_balance/wallet_probe_balances) or any address (via rpc_account_balance)."
4
4
  triggers:
5
5
  - check balance
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: convert-units
2
+ name: nano-convert-units
3
3
  description: Convert between XNO units (raw/xno/knano/mnano) with exact BigInt precision.
4
4
  triggers:
5
5
  - convert units
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: create-wallet
2
+ name: nano-create-wallet
3
3
  description: "Create or restore a Nano (XNO) wallet via Open Wallet Standard (OWS). For secure custody, rely on the unified OWS framework."
4
4
  triggers:
5
5
  - create wallet
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: generate-qr
2
+ name: nano-generate-qr
3
3
  description: Generate an ASCII QR code for a Nano address (optionally with an amount).
4
4
  triggers:
5
5
  - qr code
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: mcp-wallet
2
+ name: nano-mcp-wallet
3
3
  description: "You ARE a Nano (XNO) wallet operator via xno-mcp (bridging OWS). You can list wallets, check balances, send and receive XNO using OWS keys. Call wallet_list first."
4
4
  triggers:
5
5
  - purse
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: request-payment
2
+ name: nano-request-payment
3
3
  description: Request XNO from the operator. Creates a payment request, presents address/QR, watches for funds, receives them, and reports back.
4
4
  triggers:
5
5
  - request payment
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: return-funds
2
+ name: nano-return-funds
3
3
  description: Return XNO to the operator or original sender. Identifies source addresses, confirms before sending, handles ambiguity safely.
4
4
  triggers:
5
5
  - return funds
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: sign-message
2
+ name: nano-sign-message
3
3
  description: Sign an off-chain message (plain text) using a custodial wallet managed by xno-mcp. Following NOMS (Nano Off-chain Message Signature) / ORIS-001.
4
4
  triggers:
5
5
  - sign message
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: validate-address
2
+ name: nano-validate-address
3
3
  description: Validate Nano (XNO) addresses offline (format, checksum); no network.
4
4
  triggers:
5
5
  - validate address
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: verify-message
2
+ name: nano-verify-message
3
3
  description: Verify an off-chain message signature (NOMS / ORIS-001 standard) against a Nano address or public key.
4
4
  triggers:
5
5
  - verify message