NostrDanish

Nostr Skill — Design skill for Claude Code

Design community

Kimi/Claude-style agent skill for Nostr: keys, BIP340 signing, NIP-19/44, relay querying, client dev & relay ops references.

How to install Nostr Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open NostrDanish/nostr-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Nostr Skill does

Kimi/Claude-style agent skill for Nostr: keys, BIP340 signing, NIP-19/44, relay querying, client dev & relay ops references.

Alternatives in Design

  • L Docs Package — Document a core Lowdefy package (api, build, cli, client, engine, layout, operators) 3k ★
  • Guitar — by soramimi - Serves as development guide for Guitar Git GUI Client with build commands for various platforms 1.7k ★
  • Ovis — Ovis (formerly herdr web UI): free, open-source browser and phone client for herdr 1.4k ★

README

Nostr Skill

Portable Agent Skill for implementing and operating Nostr clients, relays, bots and applications.

Install

Clone this repository into a folder named `nostr` inside your agent's skills root. The folder name must match the `name: nostr` frontmatter value.

git clone https://github.com/NostrDanish/nostr-skill /nostr

Security boundary

The included `scripts/nostr_key.py` is now a public-only NIP-19 codec. It handles public references such as `npub`, `note`, `nprofile`, `nevent` and `naddr`; it deliberately refuses `nsec`. Secret-key generation, signing and NIP-44 cryptography have been removed from this script.

Use NIP-07, NIP-46 or a maintained, reviewed cryptographic library behind a dedicated signer. Never pass an nsec through command-line arguments, shell history, model context, logs or ordinary stdout.

The relay query helper reports completeness explicitly and paginates `more` hints using an `until` cursor, with a 10-page safety limit. EOSE without a NIP-67 `finish` hint is unknown; `auth` may require NIP-42 authentication; repeated pages, timeouts/CLOSED and page-limit stops are incomplete.

Contents

  • SKILL.md — Nostr implementation and operating guidance.
  • references/ — client development, kinds, NIPs and relay operations.
  • scripts/nostr_key.py — public-only NIP-19 codec.
  • scripts/nostr_query.py — relay query/publish and NIP-11 inspection.
  • tests/test_nostr_key.py — public NIP-19 safety regression tests.\n- tests/test_nostr_query.py — mocked relay tests for NIP-67 pagination and partial results.

Tests

Python 3.11+ is required for the test environment.

python -m unittest discover -s tests -v
python -m py_compile scripts/nostr_key.py scripts/nostr_query.py

License

See the repository's license file.