nostr-nak

Query Nostr relays, fetch events and profiles, and publish signed events.

Updated Apr 18, 2026
One-click install
npx skills add https://github.com/PlebeiusGaragicus/dot-pi --skill nostr-nak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nostr-nak
Source: https://github.com/PlebeiusGaragicus/dot-pi/tree/main/shared/skills/nostr-nak
Command: npx skills add https://github.com/PlebeiusGaragicus/dot-pi --skill nostr-nak

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

Enables users to easily interact with Nostr relays and manage identifiers for working with Nostr data.

Core Features & Use Cases

  • Query and fetch Nostr events and profiles from relays using straightforward commands.
  • Decode, encode, and interpret NIP-19 identifiers for seamless data sharing and reference.
  • Publish signed Nostr events securely without exposing private keys, supporting content creation and broadcasting for developers and content creators.

Quick Start

Use the nak CLI to fetch recent events from a relay or decode a pubkey; for example, "nak fetch nevent1..." or "nak decode npub1...".

Frequently Asked Questions about nostr-nak

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

FAQPage Schema
How do I fetch Nostr events from a relay?

You can fetch Nostr events from a relay using straightforward `nak fetch` commands. This tool queries relays to retrieve recent events and profiles seamlessly without manual relay connection logic.

What is a NIP-19 identifier and how do I decode it?

NIP-19 identifiers are bech32-encoded references used for Nostr data sharing. You can decode and interpret these identifiers using the `nak decode` command to extract the underlying data.

Can I publish signed Nostr events without exposing my private keys?

Yes, you can publish signed Nostr events without exposing private keys. The tool manages secure signing and broadcasting operations aligned with Nostr protocols to protect your identity.

Does this tool support fetching user profiles from Nostr decentralized social media?

Yes, it supports fetching user profiles from Nostr relays. It is designed for developers and users engaging with Nostr decentralized social media and identity systems to easily retrieve profile data.

What is the best way to interact with Nostr relays and manage identifiers?

The best way to interact with Nostr relays and manage identifiers is using dedicated CLI tools. It facilitates event querying, profile fetching, and secure event publishing aligned with Nostr protocols.

Why do I need to decode NIP-19 identifiers for Nostr data sharing?

You need to decode NIP-19 identifiers to interpret the underlying bech32-encoded data for seamless Nostr data sharing. Decoding allows you to extract pubkeys and event references for relay queries.