Manage LNbits Lightning Wallet (Balance, Pay, Invoice)
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install lnbits或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install lnbits⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/lnbits/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: lnbits description: Manage LNbits Lightning Wallet (Balance, Pay, Invoice) homepage: https://lnbits.com metadata: {"clawdbot":{"emoji":"⚡","requires":{"bins":["python3"],"env":["LNBITS_API_KEY", "LNBITS_BASE_URL"]},"primaryEnv":"LNBITS_API_KEY"}} ---
Enable the assistant to safely and effectively manage an LNbits Lightning Network wallet.
Format*: "I am about to send [Amount] sats to [Memo/Dest]. Proceed? (y/n)"
balance before pay to prevent errors.If the user does not have an LNbits wallet, you can create one for them on the demo server.
python3 {baseDir}/scripts/lnbits_cli.py create --name "My Wallet"
Action:
adminkey (Admin Key) and base_url (defaults to https://demo.lnbits.com). > "I've created a new wallet! Please add these to your Moltbot configuration or .env file: > export LNBITS_BASE_URL=https://demo.lnbits.com > export LNBITS_API_KEY="
Get the current wallet balance in Satoshis.
python3 {baseDir}/scripts/lnbits_cli.py balance
Generate a Bolt11 invoice to receive funds.
python3 {baseDir}/scripts/lnbits_cli.py invoice --amount 1000 --memo "Pizza"
⚠️ REQUIRES CONFIRMATION: Decode first, verify balance, ask user, then execute.
# Step 1: Decode to verify amount/memo
python3 {baseDir}/scripts/lnbits_cli.py decode <bolt11_string>
# Step 2: Pay (Only after user CONFIRMS)
python3 {baseDir}/scripts/lnbits_cli.py pay <bolt11_string>
If the CLI returns a JSON error (e.g., {"error": "Insufficient funds"}), summarize it clearly for the user. Do not show raw stack traces.
安装 LNbits Wallet 后,可以对 AI 说这些话来触发它
Help me get started with LNbits Wallet
Explains what LNbits Wallet does, walks through the setup, and runs a quick demo based on your current project
Use LNbits Wallet to manage LNbits Lightning Wallet (Balance, Pay, Invoice)
Invokes LNbits Wallet with the right parameters and returns the result directly in the conversation
What can I do with LNbits Wallet in my design & creative workflow?
Lists the top use cases for LNbits Wallet, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/lnbits/ 目录(个人级,所有项目可用),或 .claude/skills/lnbits/(项目级)。重启 AI 客户端后,用 /lnbits 主动调用,或让 AI 根据上下文自动发现并使用。
LNbits Wallet 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
LNbits Wallet 可免费安装使用。请查阅仓库了解许可证信息。
Manage LNbits Lightning Wallet (Balance, Pay, Invoice)
LNbits Wallet 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using LNbits Wallet
Identifies repetitive steps in your workflow and sets up LNbits Wallet to handle them automatically