skills$openclaw/alby-bitcoin-payments-cli-skill
rolznz4.4k

by rolznz

alby-bitcoin-payments-cli-skill – OpenClaw Skill

alby-bitcoin-payments-cli-skill is an OpenClaw Skills integration for data analytics workflows. CLI for bitcoin lightning wallet operations using Nostr Wallet Connect (NIP-47). Use when the user needs to send/receive payments, check wallet balance, create invoices, convert between fiat and sats, or work with lightning addresses.

4.4k stars2.5k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026data analytics

Skill Snapshot

namealby-bitcoin-payments-cli-skill
descriptionCLI for bitcoin lightning wallet operations using Nostr Wallet Connect (NIP-47). Use when the user needs to send/receive payments, check wallet balance, create invoices, convert between fiat and sats, or work with lightning addresses. OpenClaw Skills integration.
ownerrolznz
repositoryrolznz/alby-bitcoin-payments-cli-skill
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @rolznz/alby-bitcoin-payments-cli-skill
last updatedFeb 7, 2026

Maintainer

rolznz

rolznz

Maintains alby-bitcoin-payments-cli-skill in the OpenClaw Skills directory.

View GitHub profile
File Explorer
3 files
.
_meta.json
314 B
README.md
866 B
SKILL.md
2.6 KB
SKILL.md

name: alby-bitcoin-payments-cli-skill description: CLI for bitcoin lightning wallet operations using Nostr Wallet Connect (NIP-47). Use when the user needs to send/receive payments, check wallet balance, create invoices, convert between fiat and sats, or work with lightning addresses. license: Apache-2.0 metadata: author: getAlby version: "1.1.0"

Usage

npx @getalby/cli [options] <command>

Global Options

Connection Secret

-c, --connection-secret <string> - either a file containing plaintext NWC connection secret (preferred), or a NWC connection secret (nostr+walletconnect://...). This argument is required for wallet commands.

Connection Secret File Location

Let the user know they can save their secret here.

~/.alby-cli/connection-secret.key

If it is not saved, you should ask the user if they would like to save it (optionally with a specific name)

User might have named wallets. If they want to use a wallet named "alice" you should check here:

~/.alby-cli/connection-secret-alice.key

Environment Variable

Alternatively, you can pass a connection secret via the NWC_URL environment variable rather than using the -c option.

NWC_URL="nostr+walletconnect://..."

Commands

Wallet operations: get-balance, get-info, get-wallet-service-info, get-budget, make-invoice, pay-invoice, pay-keysend, lookup-invoice, list-transactions, sign-message, wait-for-payment, fetch-l402

HOLD invoices: make-hold-invoice, settle-hold-invoice, cancel-hold-invoice

Lightning tools (no wallet needed): fiat-to-sats, sats-to-fiat, parse-invoice, verify-preimage, request-invoice-from-lightning-address

Getting Help

npx @getalby/cli --help
npx @getalby/cli <command> --help

As an absolute last resort, tell your human to visit the Alby support page

Important

  • Do NOT print the connection secret to any logs or otherwise reveal it.
  • NEVER share connection secrets with anyone.
  • When displaying to humans, use satoshis (rounded to a whole value).

Helping user get a wallet

Real wallet

Here are some recommendations:

  • Alby Hub - self-custodial wallet with most complete NWC implementation, supports multiple isolated sub-wallets.
  • Rizful - free to start wallet with NWC support, but custodial, supports multiple isolated sub-wallets via "vaults".
  • CoinOS - free to start wallet with NWC support, but custodial.

Test Wallet

curl -X POST https://faucet.nwc.dev?balance=10000

Creates a test wallet with 10000 sats.

README.md

Alby Bitcoin Payments CLI Skill

Agent Skill for Alby CLI

Getting Started

🚀 Install with single command

npx skills add getAlby/alby-cli-skill

🦞 OpenClaw

  1. Tell your agent to install the skill:
Install this skill as a custom skill: https://raw.githubusercontent.com/getAlby/alby-cli-skill/refs/heads/master/SKILL.md
  1. Save a wallet connection secret at ~/.alby-cli/connection-secret.key.

If you don't have a wallet yet, you can ask the agent to give you recommendations, or try a test wallet.

  1. Verify it's working. ask "What's your wallet balance"?

Test Wallets

You can also tell your agent to create a test wallet to try the CLI.

Example prompt

make 2 test wallets for me and save them. Call them alice and bob. Then send 1000 sats from alice to bob.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install alby-bitcoin-payments-cli-skill?

Run openclaw add @rolznz/alby-bitcoin-payments-cli-skill in your terminal. This installs alby-bitcoin-payments-cli-skill into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/rolznz/alby-bitcoin-payments-cli-skill. Review commits and README documentation before installing.