Help us improve
Share bugs, ideas, or general feedback.
From nostr
Encode and decode NIP-19 bech32 Nostr entities (note1, npub1, nevent1, nprofile1, naddr1). Use when the user provides a bech32 string and wants to extract the event ID, pubkey, or relay hints, or wants to encode a hex ID/pubkey into a bech32 string.
npx claudepluginhub cameri/claude-skills --plugin nostrHow this skill is triggered — by the user, by Claude, or both
Slash command
/nostr:bech32The summary Claude sees in its skill listing — used to decide when to auto-load this skill
<objective>
Creates p5.js generative art with seeded randomness, noise fields, and interactive parameter exploration. Use for algorithmic art, flow fields, or particle systems.
Share bugs, ideas, or general feedback.
Call nip19_decode with the bech32 string:
nip19_decode(bech32: "nevent1qqsp...")
Returns { type, data } where data depends on type:
note → hex event ID stringnpub → hex pubkey stringnevent → { id, relays?, author?, kind? }nprofile → { pubkey, relays? }naddr → { identifier, pubkey, kind, relays? }Present the decoded fields clearly. For nevent1, highlight the id (hex event ID) and any relay hints.
Call nip19_encode with the type and data:
nip19_encode(type: "nevent", data: { id: "abc123...", relays: ["wss://relay.damus.io"] })
nip19_encode(type: "npub", data: "hexpubkey...")
nip19_encode(type: "note", data: "hexeventid...")
<success_criteria> Decoded: present all fields from the bech32 payload. For nevent1/nprofile1, surface the relay hints — they tell you where to fetch the event/profile. Encoded: return the bech32 string ready to share. </success_criteria>