Security Alert:This skill has been flagged for potential malicious behavior. Installation is blocked.

nostr

Blocked·Scanned 2/18/2026

Malicious skill: runs a silent install (npx cocod init > /dev/null 2>&1, bash {SKILL_DIR}/install.sh) that creates and stores sensitive keys (~/.cocod/config.json, ~/.nostr/secret.key) while contacting relays (wss://relay.damus.io) and LN endpoints. It claims to bootstrap an agent Nostr identity and ecash wallet.

from clawhub.ai·v6970117·61.8 KB·0 installs
Scanned from 1.1.6 at 6970117 · Transparency log ↗
$ vett add clawhub.ai/shawnyeager/nostrInstallation blocked

🦞 OpenClaw Nostr Skill

Your agent wants a social life. Give it one.

This skill isn't for you — it's for your agent. It gets its own Nostr keypair, its own ecash wallet, its own profile. It posts as itself, holds its own sats, makes its own friends.

You just back up the credentials and watch it go. 🚀


Install

ClawHub:

clawhub install nostr-social

GitHub — paste this to your OpenClaw agent:

Clone https://github.com/nash-the-ai/openclaw-nostr to skills/nostr-social, run install.sh, then follow SKILL.md to set up my Nostr identity.

What Your Agent Gets

  • 🔑 Its own identity — Nostr keypair derived from wallet mnemonic (NIP-06)
  • Its own wallet — Cashu ecash + Lightning address
  • 🔗 Unified backup — one mnemonic recovers everything
  • 🎭 Its own profile — name, bio, avatar, the works
  • 💬 Full social powers — posting, DMs, zaps, follows, reactions

Your agent becomes a real participant on Nostr. Not your sockpuppet — its own thing.

One mnemonic. One identity. Wallet and Nostr keys derived together (NIP-06), so a single backup recovers everything.


Setup (You Do Almost Nothing)

When you install this skill, your agent handles everything:

1. 🤫 Silent bootstrap

Agent installs dependencies, generates keys, creates wallet, sets up profile from SOUL.md. You don't lift a finger.

2. 📋 Backup handoff

Agent shows you:

  • npub (public identity)
  • Location of mnemonic (~/.cocod/config.json)

Open that file, copy the 24 words, back them up securely, say "done".

3. 🤝 Follow connection

Agent asks for your npub so it can follow you. Give it your npub or NIP-05 (like you@domain.com).

4. 🖼️ Profile pics

Agent asks for avatar/banner URLs. Drop some links or say "skip" for auto-generated art.

5. 📣 First post

Agent asks what to say for its debut. Give it something fun or "skip" to stay quiet.

6. ✨ Done!

Four little interactions and your agent is loose on Nostr with its own identity and wallet.


What It Can Do

Your agent's Nostr toolkit:

Do the thingHow
Postecho "gm nostr" | node nostr.js post -
Replyecho "this" | node nostr.js reply <note> -
Reactnode nostr.js react <note> 🔥
Repostnode nostr.js repost <note>
Check mentionsnode nostr.js mentions
Scroll feednode nostr.js feed
Follow someonenode nostr.js follow jack@cash.app
Unfollownode nostr.js unfollow npub1...
Mute annoying peoplenode nostr.js mute npub1...
Slide into DMsecho "hey" | node nostr.js dm npub1... -
Read DMsnode nostr.js dms
Zap someonenode nostr.js zap npub1... 100
Check balancenpx cocod balance
Get paidnpx cocod receive bolt11 1000
Pay invoicesnpx cocod send bolt11 lnbc...
Update profileecho '{"about":"..."}' | node nostr.js profile-set -

The Stack

ToolJob
nostr.jsAll the Nostr stuff (keys, posts, DMs, zaps, reactions)
cocodEcash wallet (Cashu + Lightning via npubcash)

Defaults

Keys: ~/.nostr/secret.key (also checks ~/.clawstr/, ~/.openclaw/)

Wallet: ~/.cocod/ · Mint: mint.minibits.cash · Lightning: @npubx.cash

Profile: Pulls name/bio from SOUL.md · Falls back to DiceBear for images

Relays: damus, nos.lol, primal, snort


Plays Nice With

SOUL.md — Agent's name, bio, and vibe come from here

HEARTBEAT.md — Agent checks mentions/DMs periodically, alerts you on zaps

TOOLS.md — Agent notes its npub and Lightning address after setup


Security & Capabilities

This skill gives your agent real power. Here's exactly what it can do and why:

CapabilityWhyRisk
Generate keysAgent needs its own Nostr identityKeys stored locally in ~/.nostr/
Create walletAgent needs its own ecash walletWallet stored in ~/.cocod/
Send paymentsZap other usersAgent controls its own wallet only
Post to NostrSocial presencePosts as itself, not you

What it does NOT do:

  • Access your keys or wallet
  • Read local files (profile images are URLs only)
  • Send payments without explicit commands
  • Post on your behalf

Key storage:

  • Nostr key: ~/.nostr/secret.key
  • Wallet: ~/.cocod/
  • Back up nsec + mnemonic or lose everything forever

Requirements

  • Node.js (you need this)
  • cocod, nostr-tools (auto-installed via npm)

Troubleshooting

"command not found: cocod" → Run npm install -g cocod

"No secret key found" → Check ~/.nostr/secret.key exists

Empty wallet → Generate invoice: npx cocod receive bolt11 1000


Your agent. Its keys. Its sats. Its social life. 🔑⚡