用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/javimosch/open-claw-skills --skill cashu-emoji命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cashu-emoji |
| description | Encode and decode Cashu tokens that are hidden inside emojis using Unicode variation selectors. |
| metadata | {"openclaw":{"emoji":"🥜","examples":["Decode an emoji token from a full chat message","Encode a Cashu token into an emoji for sending"]}} |
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.
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.
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..."
cashuA.../cashuB... tokennode ./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.
🥜) and a token stringnode ./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.
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... token is a bearer asset. Treat it like cash.--metadata is a local parse. It can’t prove the token is unspent/valid.src/emoji-encoder.ts: core encode/decodebin/cashu-emoji.js: CLI wrapperexamples/: test vectorsThis tool only encodes/decodes text. It does not spend funds.