# Send LNbits Wallet to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "lnbits",
    "name": "LNbits Wallet",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/talvasconcelos/lnbits",
    "canonicalUrl": "https://clawhub.ai/talvasconcelos/lnbits",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/lnbits",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=lnbits",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/lnbits_cli.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "lnbits",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T10:22:13.336Z",
      "expiresAt": "2026-05-07T10:22:13.336Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=lnbits",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=lnbits",
        "contentDisposition": "attachment; filename=\"lnbits-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "lnbits"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/lnbits"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/lnbits",
    "downloadUrl": "https://openagent3.xyz/downloads/lnbits",
    "agentUrl": "https://openagent3.xyz/skills/lnbits/agent",
    "manifestUrl": "https://openagent3.xyz/skills/lnbits/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/lnbits/agent.md"
  }
}
```
## Documentation

### LNbits Wallet Manager

Enable the assistant to safely and effectively manage an LNbits Lightning Network wallet.

### 🛑 CRITICAL SECURITY PROTOCOLS 🛑

NEVER Expose Secrets: Do NOT display Admin Keys, User IDs, or Wallet IDs.
Explicit Confirmation: You MUST ask for "Yes/No" confirmation before paying.

Format: "I am about to send [Amount] sats to [Memo/Dest]. Proceed? (y/n)"


Check Balance First: Always call balance before pay to prevent errors.

### 0. Setup / Create Wallet

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:

Run the command.
Capture the adminkey (Admin Key) and base_url (defaults to https://demo.lnbits.com).
IMPORTANT: Instruct the user to save these credentials securely:

"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=<adminkey>"

### 1. Check Balance

Get the current wallet balance in Satoshis.

python3 {baseDir}/scripts/lnbits_cli.py balance

### 2. Create Invoice (Receive)

Generate a Bolt11 invoice to receive funds.

amount: Amount in Satoshis (Integer).
memo: Optional description.

python3 {baseDir}/scripts/lnbits_cli.py invoice --amount 1000 --memo "Pizza"

### 3. Pay Invoice (Send)

⚠️ 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>

### Error Handling

If the CLI returns a JSON error (e.g., {"error": "Insufficient funds"}), summarize it clearly for the user. Do not show raw stack traces.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: talvasconcelos
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T10:22:13.336Z
- Expires at: 2026-05-07T10:22:13.336Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/lnbits)
- [Send to Agent page](https://openagent3.xyz/skills/lnbits/agent)
- [JSON manifest](https://openagent3.xyz/skills/lnbits/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/lnbits/agent.md)
- [Download page](https://openagent3.xyz/downloads/lnbits)