← Back to Skills Marketplace
Nostr Social
by
Shawn Yeager
· GitHub ↗
· v1.1.8
2440
Downloads
3
Stars
1
Active Installs
15
Versions
Install in OpenClaw
/install nostr-social
Description
Your agent wants a social life. Give it one. This skill gives your agent its own Nostr identity + ecash wallet. One mnemonic backs up everything (NIP-06). No...
Usage Guidance
This skill does what it says: it creates a local Nostr identity and a Cashu/ecash wallet and stores secret material on your machine. Before installing: 1) Understand that the agent will create and control keys and wallet files in your home directory (~/.nostr and ~/.cocod) and can spend funds if instructed — only fund the wallet with amounts you are comfortable risking. 2) Back up the 24-word mnemonic from ~/.cocod/config.json immediately and store it securely; losing it loses the identity and funds. 3) Review the included scripts (scripts/nostr.js and package.json) yourself or run the install inside a sandbox/container if you don't fully trust the author; npm installs third-party packages from the public registry. 4) If you want to limit risk, avoid putting meaningful balances in the wallet until you have tested the skill and are comfortable with its behavior.
Capability Analysis
Type: OpenClaw Skill
Name: nostr-social
Version: 1.1.8
The skill is transparent about its capabilities, which include generating cryptographic keys and managing an ecash wallet for the agent. It implements good security practices like using stdin for user input to prevent shell injection and setting appropriate file permissions for private keys. All network and file system access is directly related to its stated purpose of providing a Nostr identity and Cashu wallet. While prompt injection against the AI agent is a general concern for any skill, there are no explicit instructions within the skill's markdown or code that demonstrate an intent to perform harmful actions such as data exfiltration, unauthorized remote control, or persistence mechanisms beyond its stated functionality.
Capability Assessment
Purpose & Capability
Name/description promise (agent Nostr identity + ecash wallet) matches the files and instructions: the skill installs node dependencies, uses cocod for a Cashu + Lightning wallet, derives a Nostr key via NIP-06 from the wallet mnemonic, writes keys to ~/.nostr/secret.key and wallet config to ~/.cocod/config.json, and publishes to Nostr relays. No unrelated credentials or binaries are requested.
Instruction Scope
SKILL.md and scripts instruct the agent to run install.sh (npm install), run cocod init, derive keys from ~/.cocod/config.json, set profile, follow npubs, post, etc. The instructions reference only expected files/paths (~/.cocod, ~/.nostr) and Nostr relays; they explicitly require user consent and a manual backup step. The skill reads/writes files in the user's home and uses network endpoints (nostr relays, dicebear avatars, Cashu mints) which are necessary for its stated functions.
Install Mechanism
Install is a simple npm install in the scripts directory (install.sh). This pulls packages from the public npm registry (cocod, nostr-tools and dependencies). That's a standard, moderate-risk mechanism but expected for a Node-based tool; no arbitrary URL downloads or extract-from-remote steps were found.
Credentials
The skill requests no environment variables or external credentials. It does, however, create and access sensitive local data (mnemonic in ~/.cocod/config.json and private key in ~/.nostr/secret.key). Those accesses are necessary for unified identity/wallet behavior, but they grant the skill the ability to sign posts and spend funds from the agent's wallet — the SKILL.md states payments require explicit commands, but that is an operational risk users must accept.
Persistence & Privilege
always is false and the skill does not request system-wide changes or modification of other skills. It installs local node packages and writes files to the user's home (~/.nostr, ~/.cocod), which is expected for a wallet/identity skill. No 'always: true' or other elevated permanence was requested.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install nostr-social - After installation, invoke the skill by name or use
/nostr-social - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.8
SECURITY FIX: Remove private key console logging and fix privacy documentation contradiction
v1.1.7
Security hardening: Fix ClawHub security flag with explicit user consent for key generation
v1.1.6
Sync with latest GitHub repo code
v1.1.5
Added show command to view full note content. Fixes mention truncation issue.
v1.1.4
Security: local npm install (no global), stdin for content (no shell injection)
v1.1.3
Security: mnemonic stays in file (user backs up ~/.cocod/config.json), upload command removed (URLs only), no local file access
v1.1.2
Security fixes: mnemonic stays private (user runs cocod init), upload restricted to images from workspace/tmp only
v1.1.1
Clarify unified identity in docs
v1.1.0
Unified identity: derive Nostr key from cocod mnemonic (NIP-06). One mnemonic backs up everything.
v1.0.5
Fix: ecash wallet, not Bitcoin wallet
v1.0.4
Add explicit security & capabilities disclosure
v1.0.3
Remove Bun - install cocod via npm instead
v1.0.2
Security: remove bashrc modification, remove openclaw.json access
v1.0.1
Add install instructions
v1.0.0
Initial release: sovereign Nostr identity + Bitcoin wallet for agents
Metadata
Frequently Asked Questions
What is Nostr Social?
Your agent wants a social life. Give it one. This skill gives your agent its own Nostr identity + ecash wallet. One mnemonic backs up everything (NIP-06). No... It is an AI Agent Skill for Claude Code / OpenClaw, with 2440 downloads so far.
How do I install Nostr Social?
Run "/install nostr-social" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Nostr Social free?
Yes, Nostr Social is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Nostr Social support?
Nostr Social is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Nostr Social?
It is built and maintained by Shawn Yeager (@shawnyeager); the current version is v1.1.8.
More Skills