Skip to content

feat(skill): add Nostr signing daemon#1056

Open
jorgenclaw wants to merge 2 commits intoqwibitai:mainfrom
jorgenclaw:skill/add-nostr-signer
Open

feat(skill): add Nostr signing daemon#1056
jorgenclaw wants to merge 2 commits intoqwibitai:mainfrom
jorgenclaw:skill/add-nostr-signer

Conversation

@jorgenclaw
Copy link

Summary

  • Adds add-nostr-signer skill: a background daemon that stores the Nostr private key in the Linux kernel keyring and exposes signing operations via a Unix socket
  • The private key never touches disk or enters containers — agents can USE the key without SEEING it
  • Foundation dependency for three other skills: add-nostr-dm, add-whitenoise, add-nwc-wallet

Files Added

  • tools/nostr-signer/index.js — signing daemon (reads nsec from kernel keyring, listens on Unix socket)
  • tools/nostr-signer/clawstr-post.js — CLI tool for posting to Nostr relays via daemon
  • tools/nostr-signer/package.json — daemon dependencies (nostr-tools, ws)
  • .claude/skills/add-nostr-signer/SKILL.md — 5-phase installation guide

Signing Methods

Method Purpose
get_public_key Returns the hex pubkey
sign_event Signs a Nostr event (kind, content, tags)
unwrap_gift_wrap Decrypts NIP-17 gift-wrapped DMs
wrap_dm Encrypts outgoing NIP-17 DMs

Test plan

  • Install daemon dependencies: cd tools/nostr-signer && npm install
  • Store test nsec in kernel keyring
  • Start daemon and verify socket creation
  • Test get_public_key via socat
  • Test sign_event produces valid Nostr event

🤖 Generated with Claude Code

jorgenclaw and others added 2 commits March 13, 2026 23:13
…x socket

Adds the add-nostr-signer skill: a background daemon that stores the Nostr
private key in the Linux kernel keyring and exposes signing operations via
a Unix socket. The key never touches disk or enters containers.

Required by: add-nostr-dm, add-whitenoise, add-nwc-wallet skills.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Andy-NanoClaw-AI Andy-NanoClaw-AI added Status: Needs Review Ready for maintainer review PR: Skill Skill package or skill-related changes labels Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Skill Skill package or skill-related changes Status: Needs Review Ready for maintainer review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants