{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/lnbits",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=lnbits",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/lnbits_cli.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/lnbits",
    "agentPageUrl": "https://openagent3.xyz/skills/lnbits/agent",
    "manifestUrl": "https://openagent3.xyz/skills/lnbits/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/lnbits/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "LNbits Wallet Manager",
        "body": "Enable the assistant to safely and effectively manage an LNbits Lightning Network wallet."
      },
      {
        "title": "🛑 CRITICAL SECURITY PROTOCOLS 🛑",
        "body": "NEVER Expose Secrets: Do NOT display Admin Keys, User IDs, or Wallet IDs.\nExplicit Confirmation: You MUST ask for \"Yes/No\" confirmation before paying.\n\nFormat: \"I am about to send [Amount] sats to [Memo/Dest]. Proceed? (y/n)\"\n\n\nCheck Balance First: Always call balance before pay to prevent errors."
      },
      {
        "title": "0. Setup / Create Wallet",
        "body": "If the user does not have an LNbits wallet, you can create one for them on the demo server.\n\npython3 {baseDir}/scripts/lnbits_cli.py create --name \"My Wallet\"\n\nAction:\n\nRun the command.\nCapture the adminkey (Admin Key) and base_url (defaults to https://demo.lnbits.com).\nIMPORTANT: Instruct the user to save these credentials securely:\n\n\"I've created a new wallet! Please add these to your Moltbot configuration or .env file:\nexport LNBITS_BASE_URL=https://demo.lnbits.com\nexport LNBITS_API_KEY=<adminkey>\""
      },
      {
        "title": "1. Check Balance",
        "body": "Get the current wallet balance in Satoshis.\n\npython3 {baseDir}/scripts/lnbits_cli.py balance"
      },
      {
        "title": "2. Create Invoice (Receive)",
        "body": "Generate a Bolt11 invoice to receive funds.\n\namount: Amount in Satoshis (Integer).\nmemo: Optional description.\n\npython3 {baseDir}/scripts/lnbits_cli.py invoice --amount 1000 --memo \"Pizza\""
      },
      {
        "title": "3. Pay Invoice (Send)",
        "body": "⚠️ REQUIRES CONFIRMATION: Decode first, verify balance, ask user, then execute.\n\n# Step 1: Decode to verify amount/memo\npython3 {baseDir}/scripts/lnbits_cli.py decode <bolt11_string>\n\n# Step 2: Pay (Only after user CONFIRMS)\npython3 {baseDir}/scripts/lnbits_cli.py pay <bolt11_string>"
      },
      {
        "title": "Error Handling",
        "body": "If the CLI returns a JSON error (e.g., {\"error\": \"Insufficient funds\"}), summarize it clearly for the user. Do not show raw stack traces."
      }
    ],
    "body": "LNbits Wallet Manager\n\nEnable the assistant to safely and effectively manage an LNbits Lightning Network wallet.\n\n🛑 CRITICAL SECURITY PROTOCOLS 🛑\nNEVER Expose Secrets: Do NOT display Admin Keys, User IDs, or Wallet IDs.\nExplicit Confirmation: You MUST ask for \"Yes/No\" confirmation before paying.\nFormat: \"I am about to send [Amount] sats to [Memo/Dest]. Proceed? (y/n)\"\nCheck Balance First: Always call balance before pay to prevent errors.\nUsage\n0. Setup / Create Wallet\n\nIf the user does not have an LNbits wallet, you can create one for them on the demo server.\n\npython3 {baseDir}/scripts/lnbits_cli.py create --name \"My Wallet\"\n\n\nAction:\n\nRun the command.\nCapture the adminkey (Admin Key) and base_url (defaults to https://demo.lnbits.com).\nIMPORTANT: Instruct the user to save these credentials securely:\n\n\"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>\"\n\n1. Check Balance\n\nGet the current wallet balance in Satoshis.\n\npython3 {baseDir}/scripts/lnbits_cli.py balance\n\n2. Create Invoice (Receive)\n\nGenerate a Bolt11 invoice to receive funds.\n\namount: Amount in Satoshis (Integer).\nmemo: Optional description.\npython3 {baseDir}/scripts/lnbits_cli.py invoice --amount 1000 --memo \"Pizza\"\n\n3. Pay Invoice (Send)\n\n⚠️ REQUIRES CONFIRMATION: Decode first, verify balance, ask user, then execute.\n\n# Step 1: Decode to verify amount/memo\npython3 {baseDir}/scripts/lnbits_cli.py decode <bolt11_string>\n\n# Step 2: Pay (Only after user CONFIRMS)\npython3 {baseDir}/scripts/lnbits_cli.py pay <bolt11_string>\n\nError Handling\n\nIf the CLI returns a JSON error (e.g., {\"error\": \"Insufficient funds\"}), summarize it clearly for the user. Do not show raw stack traces."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/talvasconcelos/lnbits",
    "publisherUrl": "https://clawhub.ai/talvasconcelos/lnbits",
    "owner": "talvasconcelos",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}