{
  "schemaVersion": "1.0",
  "item": {
    "slug": "dagny-nostr-nak",
    "name": "Dagny Nostr (nak)",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/edwardbickerton/dagny-nostr-nak",
    "canonicalUrl": "https://clawhub.ai/edwardbickerton/dagny-nostr-nak",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/dagny-nostr-nak",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=dagny-nostr-nak",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "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. 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",
      "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/dagny-nostr-nak"
    },
    "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/dagny-nostr-nak",
    "agentPageUrl": "https://openagent3.xyz/skills/dagny-nostr-nak/agent",
    "manifestUrl": "https://openagent3.xyz/skills/dagny-nostr-nak/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/dagny-nostr-nak/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": "Overview",
        "body": "Use nak for all Nostr actions: publish notes, reply in threads, and query relays for replies/mentions. Default relay: wss://relay.primal.net unless the user specifies another."
      },
      {
        "title": "Install / Update nak",
        "body": "Repo: https://github.com/fiatjaf/nak\nInstall (script): curl -sSL https://raw.githubusercontent.com/fiatjaf/nak/master/install.sh | sh\nUpdate: re-run the install script above (it installs latest)\nTip: review the script before running if you want to audit what it does."
      },
      {
        "title": "Onboarding (keys)",
        "body": "Generate a new key: nak key generate (prints nsec + npub)\nSave the secret: store NOSTR_SECRET_KEY in a shell profile or a local .env with restricted permissions.\n\nExample: export NOSTR_SECRET_KEY=\"nsec1...\"\nOptional: chmod 600 .env if you store it locally.\nPrefer env vars over inline --sec in commands."
      },
      {
        "title": "Quick Start (common tasks)",
        "body": "Post a note: nak event -k 1 --sec $NOSTR_SECRET_KEY -c \"...\" <relay>\nReply to a note: include root and reply tags (see below)\nCheck replies: nak req -k 1 -e <event_id> -l <N> <relay>\nCheck mentions: nak req -k 1 -p <your_pubkey_hex> -l <N> <relay>"
      },
      {
        "title": "1) Create a new note",
        "body": "Build content.\nPublish:\nnak event -k 1 --sec $NOSTR_SECRET_KEY -c \"<content>\" wss://relay.primal.net"
      },
      {
        "title": "2) Reply to a reply (correct threading)",
        "body": "Always include both root and reply tags so clients display it as a reply:\n\nroot = original top‑level note id\nreply = the specific note you’re replying to\n\nUse -t e=\"<id>;<relay>;root\" and -t e=\"<id>;<relay>;reply\".\n\nExample:\n\nnak event -k 1 --sec $NOSTR_SECRET_KEY \\\n  -t e=\"<root_id>;wss://relay.primal.net;root\" \\\n  -t e=\"<reply_id>;wss://relay.primal.net;reply\" \\\n  -p <other_pubkey_hex> \\\n  -c \"<reply content>\" \\\n  wss://relay.primal.net"
      },
      {
        "title": "3) Check for replies to a note",
        "body": "nak req -k 1 -e <root_id> -l 20 wss://relay.primal.net"
      },
      {
        "title": "4) Check mentions of your pubkey",
        "body": "nak req -k 1 -p <your_pubkey_hex> -l 20 wss://relay.primal.net"
      },
      {
        "title": "Conventions",
        "body": "Default relay: wss://relay.primal.net\nPrefer NOSTR_SECRET_KEY env var instead of inline --sec.\nWhen tagging users, include -p <npub/hex>.\nFor human-facing links, encode with nak encode nevent ... and format as https://primal.net/e/<nevent>."
      },
      {
        "title": "References",
        "body": "Use nak event --help and nak req --help for flag details."
      }
    ],
    "body": "Nostr (nak)\nOverview\n\nUse nak for all Nostr actions: publish notes, reply in threads, and query relays for replies/mentions. Default relay: wss://relay.primal.net unless the user specifies another.\n\nInstall / Update nak\nRepo: https://github.com/fiatjaf/nak\nInstall (script): curl -sSL https://raw.githubusercontent.com/fiatjaf/nak/master/install.sh | sh\nUpdate: re-run the install script above (it installs latest)\nTip: review the script before running if you want to audit what it does.\nOnboarding (keys)\nGenerate a new key: nak key generate (prints nsec + npub)\nSave the secret: store NOSTR_SECRET_KEY in a shell profile or a local .env with restricted permissions.\nExample: export NOSTR_SECRET_KEY=\"nsec1...\"\nOptional: chmod 600 .env if you store it locally.\nPrefer env vars over inline --sec in commands.\nQuick Start (common tasks)\nPost a note: nak event -k 1 --sec $NOSTR_SECRET_KEY -c \"...\" <relay>\nReply to a note: include root and reply tags (see below)\nCheck replies: nak req -k 1 -e <event_id> -l <N> <relay>\nCheck mentions: nak req -k 1 -p <your_pubkey_hex> -l <N> <relay>\nWorkflow: Posting & Replies\n1) Create a new note\nBuild content.\nPublish:\nnak event -k 1 --sec $NOSTR_SECRET_KEY -c \"<content>\" wss://relay.primal.net\n\n2) Reply to a reply (correct threading)\n\nAlways include both root and reply tags so clients display it as a reply:\n\nroot = original top‑level note id\nreply = the specific note you’re replying to\n\nUse -t e=\"<id>;<relay>;root\" and -t e=\"<id>;<relay>;reply\".\n\nExample:\n\nnak event -k 1 --sec $NOSTR_SECRET_KEY \\\n  -t e=\"<root_id>;wss://relay.primal.net;root\" \\\n  -t e=\"<reply_id>;wss://relay.primal.net;reply\" \\\n  -p <other_pubkey_hex> \\\n  -c \"<reply content>\" \\\n  wss://relay.primal.net\n\n3) Check for replies to a note\nnak req -k 1 -e <root_id> -l 20 wss://relay.primal.net\n\n4) Check mentions of your pubkey\nnak req -k 1 -p <your_pubkey_hex> -l 20 wss://relay.primal.net\n\nConventions\nDefault relay: wss://relay.primal.net\nPrefer NOSTR_SECRET_KEY env var instead of inline --sec.\nWhen tagging users, include -p <npub/hex>.\nFor human-facing links, encode with nak encode nevent ... and format as https://primal.net/e/<nevent>.\nReferences\nUse nak event --help and nak req --help for flag details."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/edwardbickerton/dagny-nostr-nak",
    "publisherUrl": "https://clawhub.ai/edwardbickerton/dagny-nostr-nak",
    "owner": "edwardbickerton",
    "version": "0.1.4",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/dagny-nostr-nak",
    "downloadUrl": "https://openagent3.xyz/downloads/dagny-nostr-nak",
    "agentUrl": "https://openagent3.xyz/skills/dagny-nostr-nak/agent",
    "manifestUrl": "https://openagent3.xyz/skills/dagny-nostr-nak/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/dagny-nostr-nak/agent.md"
  }
}