{
  "schemaVersion": "1.0",
  "item": {
    "slug": "agent-wallet-nwc-bridge",
    "name": "Nostr Wallet Connect (NWC) bridge for mdk-agent-wallet, which is self-custodial Bitcoin Lightning wallet for AI agents.",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/kristapsk/agent-wallet-nwc-bridge",
    "canonicalUrl": "https://clawhub.ai/kristapsk/agent-wallet-nwc-bridge",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/agent-wallet-nwc-bridge",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-wallet-nwc-bridge",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "package.json",
      "index.js",
      "README.md",
      "agent-wallet-nwc-bridge.service",
      "package-lock.json",
      "SKILL.md"
    ],
    "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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/agent-wallet-nwc-bridge"
    },
    "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/agent-wallet-nwc-bridge",
    "agentPageUrl": "https://openagent3.xyz/skills/agent-wallet-nwc-bridge/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agent-wallet-nwc-bridge/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agent-wallet-nwc-bridge/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "agent-wallet-nwc-bridge (skill)",
        "body": "This skill provides a small, self-hosted Nostr Wallet Connect (NIP-47) bridge that lets an NWC client (e.g. Stacker.News) send make_invoice / pay_invoice requests to a local @moneydevkit/agent-wallet.\n\nIt is intended to be run as a systemd user service."
      },
      {
        "title": "What you get",
        "body": "index.js bridge implementation\nportable agent-wallet-nwc-bridge.service unit (uses %h)\ninstaller script install_systemd_user.sh\nenv + state files (nwc.env, state.json) stored locally (not committed)"
      },
      {
        "title": "Requirements",
        "body": "Linux with systemd user services\nNode.js + npm\nNostr relay access (default example uses wss://nos.lol)"
      },
      {
        "title": "Install",
        "body": "git clone https://github.com/kristapsk/agent-wallet-nwc-bridge\ncd agent-wallet-nwc-bridge\n\nnpm install\ncp -n nwc.env.example nwc.env\n\n# initialize state + create wallet service pubkey\nnode index.js init --relay wss://nos.lol\n\n# install + start as user service\n./install_systemd_user.sh\n\n# follow logs\njournalctl --user -u agent-wallet-nwc-bridge.service -f"
      },
      {
        "title": "Configure",
        "body": "Edit nwc.env:\n\nNWC_RELAYS — comma-separated relay list (e.g. wss://nos.lol,wss://relay.damus.io)\nNWC_STATE — defaults to state.json (relative to WorkingDirectory)\nNWC_AUTO_REGISTER — 0 recommended (use explicit URIs/permissions)\nNWC_DEFAULT_BUDGET_SATS — default spending cap when generating URIs\n\nSecurity note: state.json contains NWC connection secrets. Do not commit it."
      },
      {
        "title": "Typical usage flow (Stacker.News)",
        "body": "Run the bridge.\nGenerate an NWC URI for receive and attach it in SN wallets UI.\nGenerate a separate NWC URI for send (spending permission) and attach it.\nVerify end-to-end:\n\nSN make_invoice requests appear in bridge logs\nSN pay_invoice requests appear and result in a paid invoice"
      },
      {
        "title": "Operations",
        "body": "Restart after changes:\n\nsystemctl --user restart agent-wallet-nwc-bridge.service\n\nDisable:\n\nsystemctl --user disable --now agent-wallet-nwc-bridge.service"
      },
      {
        "title": "Publishing to ClawHub",
        "body": "Ensure README.md, SKILL.md, and package.json are present.\nKeep secrets out of git (nwc.env, state.json, node_modules/ are ignored by default)."
      }
    ],
    "body": "agent-wallet-nwc-bridge (skill)\n\nThis skill provides a small, self-hosted Nostr Wallet Connect (NIP-47) bridge that lets an NWC client (e.g. Stacker.News) send make_invoice / pay_invoice requests to a local @moneydevkit/agent-wallet.\n\nIt is intended to be run as a systemd user service.\n\nWhat you get\nindex.js bridge implementation\nportable agent-wallet-nwc-bridge.service unit (uses %h)\ninstaller script install_systemd_user.sh\nenv + state files (nwc.env, state.json) stored locally (not committed)\nRequirements\nLinux with systemd user services\nNode.js + npm\nNostr relay access (default example uses wss://nos.lol)\nInstall\ngit clone https://github.com/kristapsk/agent-wallet-nwc-bridge\ncd agent-wallet-nwc-bridge\n\nnpm install\ncp -n nwc.env.example nwc.env\n\n# initialize state + create wallet service pubkey\nnode index.js init --relay wss://nos.lol\n\n# install + start as user service\n./install_systemd_user.sh\n\n# follow logs\njournalctl --user -u agent-wallet-nwc-bridge.service -f\n\nConfigure\n\nEdit nwc.env:\n\nNWC_RELAYS — comma-separated relay list (e.g. wss://nos.lol,wss://relay.damus.io)\nNWC_STATE — defaults to state.json (relative to WorkingDirectory)\nNWC_AUTO_REGISTER — 0 recommended (use explicit URIs/permissions)\nNWC_DEFAULT_BUDGET_SATS — default spending cap when generating URIs\n\nSecurity note: state.json contains NWC connection secrets. Do not commit it.\n\nTypical usage flow (Stacker.News)\nRun the bridge.\nGenerate an NWC URI for receive and attach it in SN wallets UI.\nGenerate a separate NWC URI for send (spending permission) and attach it.\nVerify end-to-end:\nSN make_invoice requests appear in bridge logs\nSN pay_invoice requests appear and result in a paid invoice\nOperations\n\nRestart after changes:\n\nsystemctl --user restart agent-wallet-nwc-bridge.service\n\n\nDisable:\n\nsystemctl --user disable --now agent-wallet-nwc-bridge.service\n\nPublishing to ClawHub\nEnsure README.md, SKILL.md, and package.json are present.\nKeep secrets out of git (nwc.env, state.json, node_modules/ are ignored by default)."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/kristapsk/agent-wallet-nwc-bridge",
    "publisherUrl": "https://clawhub.ai/kristapsk/agent-wallet-nwc-bridge",
    "owner": "kristapsk",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/agent-wallet-nwc-bridge",
    "downloadUrl": "https://openagent3.xyz/downloads/agent-wallet-nwc-bridge",
    "agentUrl": "https://openagent3.xyz/skills/agent-wallet-nwc-bridge/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agent-wallet-nwc-bridge/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agent-wallet-nwc-bridge/agent.md"
  }
}