Skip to main content
Glama

xno-skills

npm version License: MIT TypeScript

A CLI, MCP server, and AI skills for Nano (XNO). Built on top of Open Wallet Standard (OWS) for secure key custody — OWS ships as a bundled dependency, so there is nothing extra to install.

xno-skills CLI preview

Design Overview

CLI/MCP transaction command
        ↓
build unsigned Nano state block
        ↓
OWS signs the block hash
        ↓
choose work root + threshold
        ↓
local PoW, or remote work_generate → local fallback
        ↓
attach signature + work
        ↓
RPC process

xno-skills separates block construction, signing, proof of work, and publication. The CLI and MCP server use the same transaction code. The transaction code reads the account frontier and balance, builds the state block, and asks OWS to sign it without exposing wallet keys. It selects the Nano work root and threshold from the block subtype.

PoW runs locally through the nano-core work provider when recommended. Otherwise, xno-skills tries the configured work_generate endpoints and falls back to local generation if they fail. It then attaches the signature and work nonce and publishes the block with RPC process. Send and representative-change blocks use the send threshold. Receive and open blocks use the lower receive threshold. Open blocks use the account public key as their work root.

Related MCP server: NANO MCP Server

Agent Skills

skills.sh

Built-in skill for Personal AI Agents (OpenClaw etc.) and humans with AI Coding Assistants (Claude Code, Cursor, etc.) alike:

npx skills add CasualSecurityInc/xno-skills -g
# or non-interactively, i.e. for agent use:
npx -y skills add CasualSecurityInc/xno-skills -g -y --all

Claude Code

/plugin marketplace add CasualSecurityInc/xno-skills
/plugin install xno-skills@casual-security-inc
IMPORTANT

If you installed skills from this repository before May 4, 2026, you have 11 individualnano-* skills that have been consolidated into a single nano skill. Remove the old ones first:

npx skills remove nano-block-lattice-expert nano-check-balance nano-convert-units nano-create-wallet nano-generate-qr nano-mcp-wallet nano-request-payment nano-return-funds nano-sign-message nano-validate-address nano-verify-message -g -y

Then reinstall as above.

Available skills:

  • nano: Wallet ops, balance, send/receive, QR codes, address validation, unit conversion, payment requests, refunds, block-lattice protocol expertise, and more — all in one skill. Uses xno-mcp MCP tools first, falls back to xno-skills CLI.

No separate ows install is required. xno-skills ships @open-wallet-standard/core as a dependency and uses its local vault directly, so wallet listing, creation, and signing work out of the box.

The optional Open Wallet Standard skill adds wallet lifecycle operations that xno-skills does not expose (import, rename, delete). Install it only if you need those:

npx skills add open-wallet-standard/core@ows

CLI

Installation

To install the CLI, AI agent skills, and wallet dependencies, run:

npm install -g xno-skills && npx -y skills add CasualSecurityInc/xno-skills -g -y --all
xno-skills --help

To upgrade an existing installation, rerun the same command. Reinstall the Nano skill and restart any MCP clients that use xno-skills mcp afterwards. Existing OWS wallet data stays in the local vault and needs no migration. Use a supported Node.js LTS release such as 22, 24, or 26.

Linux compatibility

The native proof-of-work binding ships separate builds for glibc and musl Linux:

Distribution

Requirement

Ubuntu 22.04+, Debian 12+, RHEL 9+

glibc 2.34 or newer

Alpine, or any other musl-based distro

musl build, no glibc dependency

RHEL 8 / Rocky 8, Ubuntu 20.04

use the musl build (Alpine, or a musl-based image)

The package manager selects the right variant automatically. See nano-rspow's GLIBC_COMPAT.md for the full support matrix and verification commands.

Wallet Operations

Command

Description

wallet create --name <name> [--json]

Create a Nano wallet in the local OWS vault

wallets [options]

List wallets that have Nano accounts

balance [options]

Show balances and pending amounts

receive [options]

Receive pending blocks

send [options]

Send Nano

change-rep [options]

Submit a change representative block

submit-block [options]

Sign and submit a prepared block hex

history [options]

Show transaction history

#Run the packaged wallet creation acceptance check with npm run test:wallet-create:docker. It installs the candidate into a temporary image and runs the checks offline with a disposable vault. To select a Linux architecture, pass -- --platform linux/amd64 or -- --platform linux/arm64.

Utilities

Command

Description

info [options]

Discover the current state and representative of any Nano account

convert [options] <amount> <from>

Convert between XNO units

qr [options] <address>

Generate a QR code for a Nano address

validate [options] <input>

Validate a Nano address or block hash

Cryptography & Signing

Command

Description

sign [options] <message>

Sign a NOMS message with a private key

verify [options] <address> <message> <signature>

Verify a NOMS message signature

Advanced & RPC

Command

Description

rpc

Query a Nano node RPC

rpc probe-caps [url]

Probe one or more comma-separated RPC URLs for JSON RPC, ledger-read, process, and remote PoW support

block

Build unsigned Nano state blocks for manual/expert workflows

System

Command

Description

diag

Show version, environment, effective RPC/work URLs, and local PoW recommendation without network probes

mcp

Start the MCP server or view configuration instructions

Batch independent balance and receivable reads with balance --wallet A --wallet B, rpc account-balance <address1> <address2>, or rpc receivable <address1> <address2>. The corresponding MCP tools accept wallets or addresses arrays.

All commands support -j / --json for machine-readable output.

Use diag for local configuration diagnostics. Use rpc probe-caps <effective-work-url> when you need live endpoint capability checks, including work_generate support.

Wallet lifecycle is managed by OWS, which xno-skills bundles as a dependency — no separate ows install and no global ows executable are needed. Listing, creating, and signing wallets all go through the bundled runtime against the local OWS vault.

xno-skills exposes wallet listing and creation directly (wallet_list, wallet_create, xno-skills wallet create). Import, rename, and delete are not exposed by xno-skills; use the optional OWS tooling for those — either the OWS quick-start for terminal usage, or the optional OWS agent skill:

npx skills add open-wallet-standard/core@ows

MCP Server

The MCP server requires Node.js 20 or newer. Use a supported Node.js LTS release, such as 22, 24, or 26. It supports the 2026-07-28 protocol alongside legacy stdio clients.

The Nano wallet MCP server runs on your machine over stdio and uses your local OWS wallet. There is no hosted endpoint. Use the npm setup below and see skill installation for the GitHub install command.

Exposes Nano wallet functions as tools for AI agents (Claude Desktop, Cursor, Codex, etc.). MCP resources (xno-wallet:// URIs) are served but require client-side resources/read support — not yet available in OpenCode (#15535).

Preferred (global install — avoids npx concurrency handshake failures):

npm install -g xno-skills
{
  "mcpServers": {
    "nano": {
      "command": "xno-skills",
      "args": ["mcp"]
    }
  }
}

Fallback (if global install is not possible):

{
  "mcpServers": {
    "nano": {
      "command": "npx",
      "args": ["-y", "-p", "xno-skills", "xno-mcp"]
    }
  }
}

Client Setup Examples

# Preferred (after npm install -g xno-skills):
codex mcp add nano \
  -c sandbox_mode="danger-full-access" \
  -c 'sandbox_permissions=["network-access"]' \
  -- xno-skills mcp

# Fallback:
codex mcp add nano \
  -c sandbox_mode="danger-full-access" \
  -c 'sandbox_permissions=["network-access"]' \
  -- npx -y -p xno-skills xno-mcp
{
  "mcpServers": {
    "nano": {
      "command": "xno-skills",
      "args": ["mcp"]
    }
  }
}
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "nano": {
      "type": "local",
      "command": ["xno-skills", "mcp"],
      "enabled": true,
    },
  },
}
{
  "mcpServers": {
    "nano": {
      "command": "xno-skills",
      "args": ["mcp"]
    }
  }
}
{
  "mcpServers": {
    "nano": {
      "command": "xno-skills",
      "args": ["mcp"]
    }
  }
}
{
  "servers": {
    "nano": {
      "type": "stdio",
      "command": "xno-skills",
      "args": ["mcp"]
    }
  }
}

Library

For using xno-skills as a TypeScript library, see LIBRARY.md.

Security Notes

  • Never share your seed or private keys. Anyone with access can fully control your wallet.

  • Store seeds securely. Use hardware wallets or encrypted storage — never in plain text or version control.

  • Address validation. Always validate addresses before sending. Nano addresses include checksums.

  • Unit precision. Nano uses 30 decimal places. Always use string-based conversion to avoid floating-point errors.

Development

npm install
npm test
npm run build

Opt-in Codex wallet journey evaluation

This live evaluator makes ten real, owned transfers (five CLI and five MCP). It creates and retains the recipient wallets, places a local guard in front of the supplied Nano RPC, and writes raw Codex JSONL plus an independently checked report. Use only a dedicated source wallet whose balance meets the preflight requirements:

npm run eval:codex-wallet-journey -- --model <model> --source-wallet <name> --upstream-rpc <url> --out <private-output-dir>

For OpenCode’s Kilo Auto Free router, use the parallel command below. It runs opencode run --format json --model kilo/kilo-auto/free and requires the normal Kilo/OpenCode provider authentication or free-tier access:

npm run eval:opencode-wallet-journey -- --source-wallet <name> --upstream-rpc <url> --out <private-output-dir>

It is never part of CI or the release flow. The report deliberately makes no token-efficiency claim unless the captured Codex events provide an authoritative per-run token count.

For a manual, tool-by-tool routing check instead of the end-to-end journey, use test/user-journey-prompts.md: 28 prompts mapped one-to-one to the 28 MCP tools, run one at a time in a fresh agent session with the file withheld. It is also never part of CI.

Releasing

See RELEASING.md.

Similar Projects

License

MIT

Available Tools

29 tools
block_changeBuild Change BlockA
Read-onlyIdempotent

Build an unsigned change representative block hex for a manual/expert workflow. Does NOT sign, generate PoW, or broadcast.

Inputs: account (required), representative (required), rpcUrl.

block_receiveBuild Receive BlockA
Read-onlyIdempotent

Build an unsigned receive (or open) block hex for a manual/expert workflow. Does NOT sign, generate PoW, or broadcast.

Inputs: account (required), hash, rpcUrl, amountRaw.

block_sendBuild Send BlockA
Read-onlyIdempotent

Build an unsigned send block hex for a manual/expert workflow. Does NOT sign, generate PoW, or broadcast.

Inputs: to (required), account (required), amountXno (required), rpcUrl.

config_getGet ConfigurationA
Read-onlyIdempotent

Read the current xno-mcp configuration including RPC URLs, timeouts, and spending limits.

Inputs: no named parameters.

config_setSet ConfigurationA

Update the xno-mcp configuration. Any provided fields overwrite existing values; omitted fields are preserved. Set a string field to "" or null to reset it to default; set a number field to null to reset it to default.

Inputs: rpcUrl, workUrl, timeoutMs, maxSendXno, +2 more.

payment_createCreate Payment RequestB

Create a tracked Nano payment request. Generates a QR code and returns a request ID for tracking.

Inputs: reason (required), amountXno (required), walletName (required), accountIndex.

payment_listList Payment RequestsA
Read-onlyIdempotent

List tracked Nano payment requests, optionally filtered by wallet or status.

Inputs: limit, offset, status, walletName.

payment_receiveReceive PaymentB

Receive pending funds associated with a payment request. Updates the request status.

Inputs: id (required), sendHash.

payment_refundRefund PaymentA
DestructiveIdempotent

Refund a payment request by sending received funds back to their recorded original source. Requires confirmation with execute: true.

Inputs: id (required), execute, confirmAddress.

payment_statusGet Payment StatusA
Read-onlyIdempotent

Check the status of a specific payment request by ID.

Inputs: id (required).

rpc_account_balanceGet Account Balance (RPC)B
Read-onlyIdempotent

Fetch confirmed balances and pending amounts via RPC. Prefer addresses for multiple Nano accounts.

Inputs: rpcUrl, address, addresses. Returns: object

rpc_account_infoGet Account Info (RPC)B
Read-onlyIdempotent

Fetch detailed account info including frontier hash, balance, representative, and block count via RPC.

Inputs: address (required), rpcUrl.

rpc_probe_capsProbe RPC CapabilitiesA
Read-onlyIdempotent

Probe Nano node RPC capabilities: JSON RPC, version, ledger-read, process, and remote PoW (work_generate) support.

Inputs: rpcUrl, timeoutMs.

rpc_receivableList Receivable (RPC)A
Read-onlyIdempotent

List pending receivable blocks via RPC. Prefer addresses for multiple Nano accounts.

Inputs: count, rpcUrl, address, addresses. Returns: object

system_diagSystem DiagnosticsA
Read-onlyIdempotent

Show version and environment metadata for xno-skills and OWS. Useful for troubleshooting.

Inputs: no named parameters.

util_convertConvert UnitsB
Read-onlyIdempotent

Convert between Nano units (raw, XNO).

Inputs: to (required), from (required), amount (required).

util_qrGenerate QR CodeA
Read-onlyIdempotent

Generate an ASCII or SVG QR code for a Nano address, optionally with an amount.

Inputs: address (required), format, amountXno.

util_validateValidate AddressA
Read-onlyIdempotent

Validate a Nano address offline. Checks prefix, alphabet, and Blake2b-40 checksum.

Inputs: address (required).

wallet_addressGet Wallet AddressA
Read-onlyIdempotent

Show the Nano address for a specific OWS wallet and account index.

Inputs: wallet (required), index.

wallet_balanceGet Wallet BalanceA
Read-onlyIdempotent

Show balances and pending blocks for OWS wallets. Prefer wallets for multiple names in one batch.

Inputs: count, index, rpcUrl, wallet, +1 more. Returns: object

wallet_change_repChange RepresentativeA

Change the representative for an OWS wallet account. Signs via OWS, generates PoW, and broadcasts.

Inputs: wallet (required), representative (required), index, rpcUrl.

wallet_createCreate Nano WalletA

Create a wallet in the local OWS vault. Call only when the user explicitly asks to create a wallet.

Inputs: name (required).

wallet_historyGet Transaction HistoryB
Read-onlyIdempotent

View the confirmed transaction history for an OWS wallet account.

Inputs: wallet (required), index, limit, offset.

wallet_infoGet Account InfoA
Read-onlyIdempotent

Discover the current state (balance, frontier, representative) of any Nano account by wallet name or explicit address.

Inputs: wallet, address.

wallet_listList WalletsA
Read-onlyIdempotent

List all OWS wallets that have Nano accounts.

Inputs: no named parameters.

wallet_ows_healthOWS Health CheckA
Read-onlyIdempotent

Check whether the OWS wallet daemon is reachable and responding correctly.

Inputs: no named parameters.

wallet_receiveReceive Pending BlocksA

Receive pending Nano blocks for an OWS wallet. Automatically handles open vs receive block creation, signs via OWS, generates PoW, and broadcasts.

Inputs: wallet (required), count, index, rpcUrl, +2 more.

wallet_sendSend NanoA

Send Nano from an OWS wallet. Signs via OWS, generates PoW, and broadcasts. Gated by a configurable per-transaction limit.

Inputs: wallet (required), amountXno (required), destination (required), index, +1 more.

wallet_submit_blockSubmit Prepared BlockA

Sign and submit a previously prepared unsigned Nano block hex using an OWS wallet. Useful for custom block workflows.

Inputs: txHex (required), wallet (required), subtype (required), index, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 29 tools

    Disambiguation3/5

    There is meaningful overlap between tiers: wallet_balance vs rpc_account_balance vs wallet_info vs rpc_account_info all report account state, and wallet_receive vs payment_receive vs block_receive all pull in funds. Descriptions do distinguish the OWS-vs-raw-RPC-vs-manual-block layers, so a careful agent can pick correctly, but boundaries require reading and are easy to misjudge.

    Naming Consistency4/5

    Strong, predictable namespace_verb naming across payment_*, wallet_*, config_*, util_*, rpc_*, and block_* groups. Minor deviations: system_diag breaks the namespace_verb form and wallet_ows_health is a three-part outlier, but overall the pattern holds.

    Tool Count3/5

    29 tools is on the heavy side for one server and partly driven by exposing three parallel layers (high-level wallet ops, raw RPC reads, and manual block construction). Each tool is defensible, but the volume raises selection cost.

    Completeness4/5

    Covers the full lifecycle: wallet creation, addressing, balances, send/receive, rep change, history, plus payment request create/receive/refund/status and manual block building. Gaps are minor — no explicit wallet export/backup or payment cancel/delete operation.

    Maintenance

    ActivityActive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables AI agents using the Model Context Protocol (MCP) to send Nano cryptocurrency and retrieve account/block information via Nano node RPC.
      4
      15 npm
      11
      MIT
    • A
      license
      Not graded
      quality
      F
      maintenance
      MCP server for NANO cryptocurrency operations, enabling AI agents to generate wallets, send/receive transactions, check balances, and more via JSON-RPC.
      55 npm
      3
      MIT
    • A
      license
      B
      quality
      A
      maintenance
      Enables AI agents to hold XNO and make feeless, instant per-API-call payments via the public rpc.nano.to node, including wallet management, paid tool execution, and a self-hostable x402 payment facilitator.
      7
      MIT