nostr-auth
Installation
SKILL.md
nostr-auth (NIP-07)
Authenticate to a service using Nostr sign-in entirely client-side. This is auth-only: the service hands you a challenge (string or event template), you sign a kind-22242 AUTH event with a secp256k1 (BIP-340) key and return the signature. No wallet, no browser extension, no publishing.
When to use
- A site shows "Sign in with Nostr" / asks
window.nostr.signEvent(...). - An API hands you a challenge string or event template to sign.
- You must NOT publish a real note to a relay; signing is local.
Command
Run with Node (zero npm dependencies). The script lives at: