lnd
Install and run Lightning Terminal (litd) which bundles lnd, loop, pool, tapd, and faraday in a single Docker container. Defaults to neutrino backend with SQLite storage on testnet. Supports watch-only mode with remote signer, standalone mode, and regtest development. Use when setting up a Lightning node for payments, channel management, liquidity management (loop), channel marketplace (pool), taproot assets (tapd), or enabling agent L402 commerce.
Why use this skill?
Learn how to install and manage a Lightning Network node with the OpenClaw lnd skill. Support for payments, liquidity, and asset management.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/roasbeef/lndWhat This Skill Does
The lnd skill provides an robust, enterprise-grade interface for managing a Lightning Network node using Lightning Terminal (litd). It simplifies the complex orchestration of LND, Loop, Pool, Tapd, and Faraday into a unified containerized architecture. Designed for AI agents, this skill enables seamless integration with the Lightning Network, allowing your agent to participate in commerce, liquidity provision, and asset management without needing deep knowledge of the underlying infrastructure.
Installation
The skill relies on the OpenClaw skill management system. Install the component using the following command:
clawhub install openclaw/skills/skills/roasbeef/lnd
Post-installation, ensure your Docker environment is active. Use skills/lnd/scripts/install.sh to pull the necessary images. For production environments, it is strongly recommended to use the --watchonly flag to decouple your private keys from the operational node, keeping them isolated within a separate signer container.
Use Cases
- Agent-to-Agent Payments: Enable your agent to pay for services using L402 protocols or native lightning invoices.
- Liquidity Management: Use the built-in Loop integration to swap between on-chain and off-chain funds, ensuring your channels remain balanced.
- Channel Marketplace: Utilize the Pool integration to lease liquidity from other nodes.
- Taproot Asset Management: Issue and manage Taproot-enabled assets directly via the
tapdinterface. - Regtest Development: Build and test lightning-enabled applications locally without risking real capital using the provided
regtestpreset.
Example Prompts
- "Check the status of my lightning node and report the current channel balance."
- "I need to pay a 50,000 sat invoice. Use my connected node to pay this payment request: [invoice_string]."
- "Set up a new watch-only node for production using the standard security configuration and provide the connection details."
Tips & Limitations
Always prioritize security by using the --watchonly mode in any environment connected to mainnet. Standalone mode is strictly for testing and local development; it stores wallet seeds on disk, which presents a significant security risk. Regularly check lncli.sh getinfo to monitor your node's sync status. Be aware that the neutrino backend, while efficient, may take time to synchronize with headers upon first startup. Ensure that your system has adequate storage for the SQLite databases used by the sub-daemons.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-roasbeef-lnd": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, code-execution
Related Skills
aperture
Install and run Aperture, the L402 Lightning reverse proxy from Lightning Labs. Use when creating L402 paywalls, configuring paid API endpoints, hosting paid content for other agents, or testing L402 authentication flows.
lightning-mcp-server
Build and configure the MCP server for Lightning Node Connect (LNC). Connects AI assistants to lnd nodes via encrypted WebSocket tunnels using pairing phrases — no direct network access or TLS certs needed. Read-only by default (18 tools for querying node state, channels, payments, invoices, peers, on-chain data).
lnget
Install and use lnget, a Lightning-native HTTP client with automatic L402 payment support. Use when downloading files behind Lightning paywalls, managing L402 tokens, checking Lightning backend status, or making HTTP requests that may require micropayments.
macaroon-bakery
Bake, inspect, and manage lnd macaroons for least-privilege agent access. Use when an agent needs scoped credentials — pay-only, invoice-only, read-only, or custom permissions. Also covers signer macaroon scoping and macaroon rotation.
commerce
End-to-end agentic commerce workflow using Lightning Network. Use when an agent needs to set up a full payment stack (lnd + lnget + aperture), buy or sell data via L402, or enable agent-to-agent micropayments.