nostr

Explain Nostr protocol fundamentals, event structures, and NIP references.

38|15|Updated Dec 10, 2025
One-click install
npx skills add https://github.com/purrgrammer/grimoire --skill nostr-purrgrammer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nostr
Source: https://github.com/purrgrammer/grimoire/tree/main/.claude/skills/nostr
Command: npx skills add https://github.com/purrgrammer/grimoire --skill nostr-purrgrammer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides expert-level knowledge of the Nostr protocol, including event structures, cryptographic operations, client-relay communication patterns, and all standard NIPs, enabling developers to design, implement, and debug Nostr-based applications.

Core Features & Use Cases

  • Comprehensive reference for core and extended NIPs, event kinds, and tags
  • Guidance on signing, verification, and relay communication
  • Practical patterns for building and debugging Nostr clients and relays

Quick Start

Ask questions like "Explain NIP-01 basics" or "Show a minimal signed event example".

Frequently Asked Questions about nostr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create and sign a basic Nostr event?

To create a Nostr event, you construct the event payload, serialize it canonically, and apply cryptographic signing using your private key. This skill provides practical patterns for generating minimal signed events and ensuring secure key handling.

What is NIP-01 and how does it define Nostr client and relay communication?

NIP-01 is the foundational Nostr Implementation Possibility defining core event structures and WebSocket messaging. This skill explains NIP-01 basics, detailing how clients subscribe to events and relays broadcast them over WebSocket connections.

How does WebSocket messaging work for filtering events in a Nostr client?

WebSocket messaging in Nostr allows clients to send subscription requests with specific filters to relays. This skill covers correct implementation of event lifecycle and filtering, guiding how to request and handle WebSocket messages robustly.

What are the standard NIPs and event kinds I need to build a robust Nostr relay?

Standard NIPs and event kinds define the protocol's extended features and data structures. This skill serves as a comprehensive reference for core and extended NIPs, helping you implement and debug robust Nostr relays successfully.

How do I verify cryptographic signatures when building Nostr-based applications?

Verifying cryptographic signatures involves checking the event's signature against the public key and serialized event data. This skill provides expert-level guidance on signing, verification, and secure handling of keys for Nostr apps.

What are common implementation patterns for debugging Nostr clients and relays?

Debugging Nostr clients and relays requires understanding event lifecycle, WebSocket messaging, and proper signature verification. This skill offers practical patterns and comprehensive NIP references to help design, implement, and debug Nostr-based applications.