mcpField
N
nostr

nostr

github.com/soapbox-pubDevelopment1051 installsUpdated 40w ago
Repository

About nostr

A skill for consulting Nostr protocol documentation in the NIPs repository. It helps developers locate specifications for event kinds and check existing capabilities before implementing features.

Key features

  1. 01Fetches individual NIP specifications
  2. 02Locates NIPs for event kinds via the README
  3. 03Reviews client and relay messages and tags
  4. 04Checks existing NIPs before feature design

Use cases

  1. 01Find the specification for a Nostr event kind
  2. 02Check whether a protocol capability already exists
  3. 03Review message formats and standardized tags

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/soapbox-pub/nostr-skills --skill nostr

After installing, type/nostrin Claude Code to confirm it loaded.

Details

From the project README

Nostr Protocol

Nostr is a simple, open protocol that enables truly censorship-resistant and global social networks using cryptographic keys and signatures.

Finding Nostr Documentation

All Nostr protocol documentation is maintained in the NIPs (Nostr Implementation Possibilities) repository. To access this information:

Reading Individual NIPs

Individual NIPs can be fetched from:

https://github.com/nostr-protocol/nips/blob/master/{NIP}.md

For example, NIP-01 (the basic protocol specification) is available at:

https://github.com/nostr-protocol/nips/blob/master/01.md
Finding Event Kinds

Documentation for Nostr event kinds is spread across one or more NIPs. There is no direct relationship between the NIP number and the kind number.

To find which NIPs document a specific event kind:

  1. First, fetch the README:

    https://github.com/nostr-protocol/nips/blob/master/README.md
    
  2. Reference the "Event Kinds" table in the README to find which NIP(s) document the kind you're looking for

Discovering Existing Capabilities

The README should be consulted to:

  • View the list of NIPs - Use this to discover what capabilities already exist on the Nostr network
  • Review client and relay messages - Understand the communication protocol
  • Check the list of tags - See what standardized tags are available
  • Decide on using existing NIPs - Before implementing a feature, check if an existing NIP already covers it
Best Practices

Always start by fetching and reviewing the README to understand the current state of the protocol and avoid reinventing existing functionality.

Comments

Markdown supported