← All skills
Tencent SkillHub Β· AI

Cashu Emoji

Encode and decode Cashu tokens that are hidden inside emojis using Unicode variation selectors.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Encode and decode Cashu tokens that are hidden inside emojis using Unicode variation selectors.

⬇ 0 downloads β˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
README.md, SKILL.md, bin/cashu-emoji.js, examples/minimal-1sat-emoji.txt, package-lock.json, package.json

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

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.

Upgrade existing

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.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
0.1.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 9 sections Open source page

Cashu Emoji Tokens (Variation Selector encoding)

This skill helps agents decode Cashu tokens received as emoji (and encode tokens for sending), and it also supports general hidden messages inside emojis. If the decoded text starts with cashu, it’s likely a Cashu token. Otherwise treat it as a plain hidden message.

Why this exists

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. Important: many messengers can truncate or normalize Unicode. If the variation selectors are lost, the embedded token cannot be recovered.

Quickstart (copy/paste)

git clone https://github.com/robwoodgate/cashu-emoji.git cd cashu-emoji npm ci # decode a whole message (recommended) node ./bin/cashu-emoji.js decode "<paste message>" # decode and print mint/unit/amount if it’s a cashu token node ./bin/cashu-emoji.js decode "<paste message>" --metadata # decode as structured JSON (agent-friendly) node ./bin/cashu-emoji.js decode "<paste message>" --metadata --json # encode a hidden message node ./bin/cashu-emoji.js encode "πŸ₯œ" "hello from inside an emoji" # encode a cashu token node ./bin/cashu-emoji.js encode "πŸ₯œ" "cashuB..."

1) Decode

Input: entire message text (may include other text/emojis) Output: the embedded UTF‑8 text, usually a cashuA.../cashuB... token node ./bin/cashu-emoji.js decode "<paste entire message>" Decode 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.

2) Encode

Input: a carrier emoji (recommend πŸ₯œ) and a token string Output: an emoji string that visually looks like the emoji but contains the hidden token node ./bin/cashu-emoji.js encode "πŸ₯œ" "cashuB..." Tip: 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. Tip (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.

Optional metadata

To sanity-check the decoded token without redeeming it, you can request metadata. For programmatic/agent use, prefer JSON output: node ./bin/cashu-emoji.js decode "<message>" --metadata --json Example JSON response (Cashu token): { "text": "cashuB...", "isCashu": true, "metadata": { "mint": "https://mint.example", "unit": "sat", "amount": 21 }, "metadataError": null } Example JSON response (plain hidden message): { "text": "hello from inside an emoji", "isCashu": false } node ./bin/cashu-emoji.js decode "<message>" --metadata This prints mint/unit/amount using @cashu/cashu-ts getTokenMetadata() (no mint calls).

Cashu gotchas for new agents

A decoded cashu... token is a bearer asset. Treat it like cash. --metadata is a local parse. It can’t prove the token is unspent/valid. If 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).

Files

src/emoji-encoder.ts: core encode/decode bin/cashu-emoji.js: CLI wrapper examples/: test vectors

Safety

This tool only encodes/decodes text. It does not spend funds.

Category context

Agent frameworks, memory systems, reasoning layers, and model-native orchestration.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Docs2 Config1 Scripts1 Files
  • SKILL.md Primary doc
  • README.md Docs
  • bin/cashu-emoji.js Scripts
  • package-lock.json Config
  • package.json Config
  • examples/minimal-1sat-emoji.txt Files