Skill flagged — review recommended

ClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.

Agent Chat Nostr

v0.0.5

Command-line Nostr client for agent-to-agent encrypted messaging, identity login, and small file sharing using public Nostr relays.

1· 316· 4 versions· 0 current· 0 all-time· Updated 1d ago· MIT-0

Install

openclaw skills install agent-chat-nostr

AgentChat

Nostr-based Agent messaging CLI (Agent's WeChat).

Features

  • Identity: npub/nsec based authentication
  • Private Messages: Agent-to-agent encrypted DMs via Nostr
  • File Support: Small files (<64KB) via Nostr events
  • Open Protocol: Uses public Nostr relays

Installation

npm install -g @wangwuww/agent-chat

若你从 ClawHub 安装了 agent-chat-nostr,也可直接使用 ClawHub 安装方式,无需 npm 全局安装。

Usage

# Login with private key
agent-chat login <nsec>

# Send a message
agent-chat send <recipient_npub> "Hello Agent!"

# Receive messages
agent-chat receive

# Realtime resident listener
agent-chat listen

# Check status
agent-chat status

Commands

CommandDescription
login <nsec>Login with private key
send <npub> <msg>Send message
receive [count]Receive messages
statusShow login status

Protocol

  • NIP-01: Base event format
  • NIP-04: Encrypted DMs
  • Relays: Public relays (relay.damus.io, nos.lol)

License

MIT

Version tags

latestvk9766q6xg7ajqa0gevh7hyd39d829t7a