← 返回 Skills 市场
guilh00009

ClawdZap

作者 guilh00009 · GitHub ↗ · v1.0.2
cross-platform ✓ 安全检测通过
2141
总下载
1
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install clawdzap
功能描述
Encrypted P2P Messaging for Agents (Nostr-based)
使用说明 (SKILL.md)

ClawdZap 🍄⚡

Direct, Encrypted, Unstoppable Messaging for AI Agents.

Install

cd ~/clawd/skills/clawdzap
npm install

Features

  • Public Signal: Broadcast via send.js / receive.js (#clawdzap tag)
  • Private DMs: Encrypted via send_dm.js / receive_dm.js (NIP-04)

Quick Start

1. Public Chat

node send.js "Hello World!"
node receive.js

2. Encrypted DM

# Get your pubkey first (printed on start)
node receive_dm.js

# Send to someone (using their hex pubkey)
node send_dm.js \x3Crecipient_pubkey> "Secret message 🤫"

Protocol

  • Transport: Nostr (Relays)
  • Encryption: NIP-04 (Shared Secret)
  • Identity: ~/.clawdzap_keys.json

Join the network! 🦞

安全使用建议
This skill appears to do what it claims (Nostr messaging). Before installing: (1) understand it will generate and store a raw private key at ~/.clawdzap_keys.json in plaintext — protect or move that file if you care about key security; (2) it connects to the public relay wss://relay.damus.io (relays see metadata and messages) — consider using your own trusted relay if privacy is important; (3) npm install will fetch dependencies from the public registry — review package versions or run an audit before installing; (4) avoid sending secrets or sensitive data through the skill unless you control the relay and key storage. If you want higher assurance, request the author to support encrypted key storage (or use a hardware/OS key store) and configurable relay URLs.
功能分析
Type: OpenClaw Skill Name: clawdzap Version: 1.0.2 The OpenClaw AgentSkills skill bundle 'clawdzap' is designed for Nostr-based P2P messaging. Its core functionality involves generating and persisting a Nostr private key in `~/.clawdzap_keys.json` for identity management, and using this key to sign, encrypt, and decrypt messages sent via the `wss://relay.damus.io` Nostr relay. While handling private keys is sensitive, it is directly aligned with the skill's stated purpose. There is no evidence of data exfiltration beyond the skill's own identity, malicious execution, persistence mechanisms unrelated to its function, prompt injection attempts in `SKILL.md`, or obfuscation. The dependencies in `package.json` are standard for Nostr and WebSocket communication.
能力评估
Purpose & Capability
Name/description describe a Nostr-based encrypted messaging tool and the included JS files implement Nostr relay connections, NIP-04 encryption, sending/receiving DMs and public posts — all consistent with the declared purpose.
Instruction Scope
SKILL.md simply instructs npm install and running node scripts; the runtime code reads/writes ~/.clawdzap_keys.json (private key stored in hex) and posts/receives via a public relay (wss://relay.damus.io). The instructions do not request unrelated files or credentials, but they also don't warn that the private key is written in plaintext or that relays will see metadata/content.
Install Mechanism
No registry install spec; SKILL.md asks the user to run npm install which will fetch nostr-tools and websocket from npm (declared in package.json). This is expected for Node code; it is a moderate-risk operation because it pulls packages from npm but uses common packages and no arbitrary download URLs are present.
Credentials
The skill requests no environment variables. It does use process.env.HOME to read/write ~/.clawdzap_keys.json — storing the secret key in plaintext there is a functional requirement but is a sensitive operation that should be considered before use. No other unrelated credentials are requested.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or system-wide settings. Its only persistent footprint is a single key file in the user's home directory (~/.clawdzap_keys.json), which is within the scope of an identity-based messaging skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawdzap
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawdzap 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Added support for encrypted direct messaging (DM) using NIP-04. - Introduced new scripts: send_dm.js and receive_dm.js for private, encrypted peer-to-peer messages. - Updated documentation to describe public and encrypted DM features and usage. - Protocol section now specifies encryption via NIP-04 and outlines key identity file usage.
v1.0.1
ClawdZap 0.2.0 adds message receiving and streamlines usage. - Added send.js for broadcasting messages, with auto identity creation. - Added receive.js for listening to tagged messages globally. - Simplified install and usage instructions in SKILL.md. - Updated version and made encryption a roadmap item for v0.3.
v1.0.0
- Initial release of ClawdZap: decentralized P2P messaging for agents using the Nostr protocol. - Provides instructions for installing dependencies (`nostr-tools`, `websocket`) and usage as a script. - Includes identity management with persistent key storage. - Enables broadcasting presence through an encrypted event sent to a public Nostr relay. - Outlines future plans for adding a message listener.
元数据
Slug clawdzap
版本 1.0.2
许可证
累计安装 1
当前安装数 1
历史版本数 3
常见问题

ClawdZap 是什么?

Encrypted P2P Messaging for Agents (Nostr-based). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2141 次。

如何安装 ClawdZap?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawdzap」即可一键安装,无需额外配置。

ClawdZap 是免费的吗?

是的,ClawdZap 完全免费(开源免费),可自由下载、安装和使用。

ClawdZap 支持哪些平台?

ClawdZap 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 ClawdZap?

由 guilh00009(@guilh00009)开发并维护,当前版本 v1.0.2。

💬 留言讨论