{
  "schemaVersion": "1.0",
  "item": {
    "slug": "cashu-emoji",
    "name": "Cashu Emoji",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/robwoodgate/cashu-emoji",
    "canonicalUrl": "https://clawhub.ai/robwoodgate/cashu-emoji",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/cashu-emoji",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cashu-emoji",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "bin/cashu-emoji.js",
      "examples/minimal-1sat-emoji.txt",
      "package-lock.json",
      "package.json"
    ],
    "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-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.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/cashu-emoji"
    },
    "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/cashu-emoji",
    "agentPageUrl": "https://openagent3.xyz/skills/cashu-emoji/agent",
    "manifestUrl": "https://openagent3.xyz/skills/cashu-emoji/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/cashu-emoji/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": "Cashu Emoji Tokens (Variation Selector encoding)",
        "body": "This skill helps agents decode Cashu tokens received as emoji (and encode tokens for sending), and it also supports general hidden messages inside emojis.\n\nIf the decoded text starts with cashu, it’s likely a Cashu token. Otherwise treat it as a plain hidden message."
      },
      {
        "title": "Why this exists",
        "body": "Some services embed a cashu... token into an emoji using Unicode variation selectors (VS1..VS256). Chat apps often display only the emoji, but preserve the hidden selector characters.\n\nImportant: many messengers can truncate or normalize Unicode. If the variation selectors are lost, the embedded token cannot be recovered."
      },
      {
        "title": "Quickstart (copy/paste)",
        "body": "git clone https://github.com/robwoodgate/cashu-emoji.git\ncd cashu-emoji\nnpm ci\n\n# decode a whole message (recommended)\nnode ./bin/cashu-emoji.js decode \"<paste message>\"\n\n# decode and print mint/unit/amount if it’s a cashu token\nnode ./bin/cashu-emoji.js decode \"<paste message>\" --metadata\n\n# decode as structured JSON (agent-friendly)\nnode ./bin/cashu-emoji.js decode \"<paste message>\" --metadata --json\n\n# encode a hidden message\nnode ./bin/cashu-emoji.js encode \"🥜\" \"hello from inside an emoji\"\n\n# encode a cashu token\nnode ./bin/cashu-emoji.js encode \"🥜\" \"cashuB...\""
      },
      {
        "title": "1) Decode",
        "body": "Input: entire message text (may include other text/emojis)\nOutput: the embedded UTF‑8 text, usually a cashuA.../cashuB... token\n\nnode ./bin/cashu-emoji.js decode \"<paste entire message>\"\n\nDecode semantics (important): the decoder ignores normal characters until it finds the first variation-selector byte, then collects bytes until the first normal character after that payload begins."
      },
      {
        "title": "2) Encode",
        "body": "Input: a carrier emoji (recommend 🥜) and a token string\nOutput: an emoji string that visually looks like the emoji but contains the hidden token\n\nnode ./bin/cashu-emoji.js encode \"🥜\" \"cashuB...\"\n\nTip: some messengers are less likely to deliver a truncated/corrupted emoji-token if any normal text follows it (even a single character). It’s not required, just a delivery reliability trick.\n\nTip (Telegram): sending the emoji-token inside a code block / “monospace” formatting can help preserve the hidden characters and makes it easier to tap-to-copy."
      },
      {
        "title": "Optional metadata",
        "body": "To sanity-check the decoded token without redeeming it, you can request metadata.\n\nFor programmatic/agent use, prefer JSON output:\n\nnode ./bin/cashu-emoji.js decode \"<message>\" --metadata --json\n\nExample JSON response (Cashu token):\n\n{\n  \"text\": \"cashuB...\",\n  \"isCashu\": true,\n  \"metadata\": {\n    \"mint\": \"https://mint.example\",\n    \"unit\": \"sat\",\n    \"amount\": 21\n  },\n  \"metadataError\": null\n}\n\nExample JSON response (plain hidden message):\n\n{\n  \"text\": \"hello from inside an emoji\",\n  \"isCashu\": false\n}\n\nnode ./bin/cashu-emoji.js decode \"<message>\" --metadata\n\nThis prints mint/unit/amount using @cashu/cashu-ts getTokenMetadata() (no mint calls)."
      },
      {
        "title": "Cashu gotchas for new agents",
        "body": "A decoded cashu... token is a bearer asset. Treat it like cash.\n--metadata is a local parse. It can’t prove the token is unspent/valid.\nIf decode returns a partial token or nonsense, the messenger likely munged the variation selectors; ask for the token to be re-sent (often with some trailing normal text after the emoji token)."
      },
      {
        "title": "Files",
        "body": "src/emoji-encoder.ts: core encode/decode\nbin/cashu-emoji.js: CLI wrapper\nexamples/: test vectors"
      },
      {
        "title": "Safety",
        "body": "This tool only encodes/decodes text. It does not spend funds."
      }
    ],
    "body": "Cashu Emoji Tokens (Variation Selector encoding)\n\nThis skill helps agents decode Cashu tokens received as emoji (and encode tokens for sending), and it also supports general hidden messages inside emojis.\n\nIf the decoded text starts with cashu, it’s likely a Cashu token. Otherwise treat it as a plain hidden message.\n\nWhy this exists\n\nSome services embed a cashu... token into an emoji using Unicode variation selectors (VS1..VS256). Chat apps often display only the emoji, but preserve the hidden selector characters.\n\nImportant: many messengers can truncate or normalize Unicode. If the variation selectors are lost, the embedded token cannot be recovered.\n\nQuickstart (copy/paste)\ngit clone https://github.com/robwoodgate/cashu-emoji.git\ncd cashu-emoji\nnpm ci\n\n# decode a whole message (recommended)\nnode ./bin/cashu-emoji.js decode \"<paste message>\"\n\n# decode and print mint/unit/amount if it’s a cashu token\nnode ./bin/cashu-emoji.js decode \"<paste message>\" --metadata\n\n# decode as structured JSON (agent-friendly)\nnode ./bin/cashu-emoji.js decode \"<paste message>\" --metadata --json\n\n# encode a hidden message\nnode ./bin/cashu-emoji.js encode \"🥜\" \"hello from inside an emoji\"\n\n# encode a cashu token\nnode ./bin/cashu-emoji.js encode \"🥜\" \"cashuB...\"\n\nWhat you can do\n1) Decode\nInput: entire message text (may include other text/emojis)\nOutput: the embedded UTF‑8 text, usually a cashuA.../cashuB... token\nnode ./bin/cashu-emoji.js decode \"<paste entire message>\"\n\n\nDecode semantics (important): the decoder ignores normal characters until it finds the first variation-selector byte, then collects bytes until the first normal character after that payload begins.\n\n2) Encode\nInput: a carrier emoji (recommend 🥜) and a token string\nOutput: an emoji string that visually looks like the emoji but contains the hidden token\nnode ./bin/cashu-emoji.js encode \"🥜\" \"cashuB...\"\n\n\nTip: some messengers are less likely to deliver a truncated/corrupted emoji-token if any normal text follows it (even a single character). It’s not required, just a delivery reliability trick.\n\nTip (Telegram): sending the emoji-token inside a code block / “monospace” formatting can help preserve the hidden characters and makes it easier to tap-to-copy.\n\nOptional metadata\n\nTo sanity-check the decoded token without redeeming it, you can request metadata.\n\nFor programmatic/agent use, prefer JSON output:\n\nnode ./bin/cashu-emoji.js decode \"<message>\" --metadata --json\n\n\nExample JSON response (Cashu token):\n\n{\n  \"text\": \"cashuB...\",\n  \"isCashu\": true,\n  \"metadata\": {\n    \"mint\": \"https://mint.example\",\n    \"unit\": \"sat\",\n    \"amount\": 21\n  },\n  \"metadataError\": null\n}\n\n\nExample JSON response (plain hidden message):\n\n{\n  \"text\": \"hello from inside an emoji\",\n  \"isCashu\": false\n}\n\nnode ./bin/cashu-emoji.js decode \"<message>\" --metadata\n\n\nThis prints mint/unit/amount using @cashu/cashu-ts getTokenMetadata() (no mint calls).\n\nCashu gotchas for new agents\nA decoded cashu... token is a bearer asset. Treat it like cash.\n--metadata is a local parse. It can’t prove the token is unspent/valid.\nIf decode returns a partial token or nonsense, the messenger likely munged the variation selectors; ask for the token to be re-sent (often with some trailing normal text after the emoji token).\nFiles\nsrc/emoji-encoder.ts: core encode/decode\nbin/cashu-emoji.js: CLI wrapper\nexamples/: test vectors\nSafety\n\nThis tool only encodes/decodes text. It does not spend funds."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/robwoodgate/cashu-emoji",
    "publisherUrl": "https://clawhub.ai/robwoodgate/cashu-emoji",
    "owner": "robwoodgate",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/cashu-emoji",
    "downloadUrl": "https://openagent3.xyz/downloads/cashu-emoji",
    "agentUrl": "https://openagent3.xyz/skills/cashu-emoji/agent",
    "manifestUrl": "https://openagent3.xyz/skills/cashu-emoji/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/cashu-emoji/agent.md"
  }
}