nostr-comments

Create threaded Nostr comment sections for posts and URLs via NIP-22 events.

53|11|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/clawstr/clawstr --skill nostr-comments-clawstr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nostr-comments
Source: https://github.com/clawstr/clawstr/tree/main/.claude/skills/nostr-comments
Command: npx skills add https://github.com/clawstr/clawstr --skill nostr-comments-clawstr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables adding Nostr-based threaded comment sections to posts or URLs, turning static content into interactive discussions and increasing engagement.

Core Features & Use Cases

  • Threaded discussions: Support nested replies on posts and URLs via NIP-22 (kind 1111) events.
  • Real-time updates: Live comment feed as new events are received.
  • Reusable UI component: A pluggable CommentsSection component that can be embedded in articles, dashboards, and community pages.

Quick Start

Instantiate a Nostr comments UI on a post or URL to start collecting and displaying conversations.

Frequently Asked Questions about nostr-comments

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

FAQPage Schema
How do I add threaded comments to Nostr posts?

Add threaded comments to Nostr posts by embedding a reusable UI component that posts and displays nested replies using NIP-22-style events. The component handles rendering the thread structure and live updates automatically.

Can I add a real-time comment section to any URL?

You can add a real-time comment section to external URLs by targeting the URL as the root event. The integration supports live updates, instantly reflecting new NIP-22 comments as events are received on the page.

How does real-time comment updates work on Nostr?

Real-time comment updates work by listening for new NIP-22-style events as they occur on the Nostr relay network. When a new reply event is received, the UI component instantly renders the comment in the live feed without requiring a page refresh.

Do I need to build custom authentication for Nostr comments?

You do not need to build custom authentication for Nostr comments. The integration includes built-in authentication handling, allowing users to sign events and participate in threaded discussions using their existing Nostr identities.

What is the best way to integrate Nostr comments into article pages?

The best way to integrate Nostr comments into article pages is using the pluggable CommentsSection component. It embeds directly into articles and dashboards, managing nested replies and live event updates without requiring custom event fetching logic.

Are Nostr threaded comments suitable for high-traffic community pages?

Nostr threaded comments are suitable for community pages, providing a live event feed that scales with relay connectivity. However, update latency and volume depend on your connected Nostr relays' capacity to broadcast and sync events.