Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

nostr-nip-advisor诺斯特·尼普顾问

Agent Skill

nostr-nip-advisor 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

238

周安装

10

GitHub Stars

4

下载量

83
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:nostr-nip-advisor(诺斯特·尼普顾问)
来源仓库:https://github.com/accolver/skill-maker
仓库路径:skills/nostr-nip-advisor
安装命令:
npx skills add https://github.com/accolver/skill-maker --skill nostr-nip-advisor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/accolver/skill-maker --skill nostr-nip-advisor

简介

用于查找、检索和筛选相关信息,快速定位候选结果。

  • 适合在关键词搜索、任务场景或来源线索下使用,提升信息获取效率。
  • 可结合来源仓库和原始 README 核验具体用法,确保适用性。
  • 安装方式:通过 npx 从 GitHub 仓库添加,支持 Codex、Claude、Cursor、Gemini CLI。
  • 注意:安装前建议确认权限范围和维护状态,避免触发不必要的联网或文件操作。

SKILL.md

Nostr NIP Advisor

Identifies which NIPs a developer needs when implementing a Nostr feature, warns about deprecated approaches, and provides the correct event structures and NIP interaction patterns.

Overview

Agents already know what Nostr is, but they lack current knowledge of which NIPs are deprecated, which NIPs must be combined for a feature to work, and what the correct event structures look like. This skill fills those gaps.

When to use

  • The task is to determine which Nostr NIPs are required, optional, deprecated, or interacting for a feature.
  • The user is in planning mode and needs protocol selection before implementation details.
  • The request asks “which NIPs do I need?”, “is this NIP deprecated?”, or “what replaces this older approach?”.
  • The output should map features to NIPs and warn about bad protocol choices.

Do NOT use when:

  • The task is to build a concrete event, filter, client, or relay implementation directly.
  • The work is non-Nostr protocol planning.
  • The question is low-level cryptography with no NIP-selection decision.

Response format

Always structure the final response with these top-level sections, in this order:

  1. Summary — state the task, scope, and main conclusion in 1-3 sentences.
  2. Decision / Approach — state the key classification, assumptions, or chosen path.
  3. Artifacts — provide the primary deliverable(s) for this skill. Use clear subheadings for multiple files, commands, JSON payloads, queries, or documents.
  4. Validation — state checks performed, important risks, caveats, or unresolved questions.
  5. Next steps — list concrete follow-up actions, or write None if nothing remains.

Rules:

  • Do not omit a section; write None when a section does not apply.
  • If files are produced, list each file path under Artifacts before its contents.
  • If commands, JSON, SQL, YAML, or code are produced, put each artifact in fenced code blocks with the correct language tag when possible.
  • Keep section names exactly as written above so output stays predictable across skills.

Workflow

1. Understand the feature

Ask what the developer wants to build. Map their description to one or more feature categories from the NIP map.

2. Check for deprecated NIPs

Before recommending anything, cross-reference against the deprecations list. If the developer mentions or their code uses a deprecated NIP, warn immediately with the migration path.

3. Identify required NIPs

Most features require multiple NIPs working together. Identify the full chain:

  • Primary NIP — the core spec for the feature
  • Required dependencies — NIPs that must be implemented alongside
  • Related NIPs — optional but commonly used together

4. Provide event structures

For each primary NIP, show the event kind, required tags, and content format. Use the Nostr MCP tools (read_nip, read_kind, read_tag) to fetch current spec details when available.

5. Warn about interaction patterns

Many NIPs have non-obvious requirements. Call these out explicitly:

  • DMs require 4 NIPs working together (17 + 44 + 59 + 51)
  • Zaps require LNURL integration outside the Nostr protocol
  • Marketplace checkout still depends on legacy NIP-04 in some flows

Deprecation Warnings

Always check this table first. Using deprecated NIPs causes interoperability failures with modern clients.

Deprecated NIPWhat it wasReplacementWhy deprecated
NIP-04 (kind:4)Encrypted DMsNIP-17 (kind:14) + NIP-44 + NIP-59Leaks metadata (sender, receiver, timestamps visible)
NIP-08Handling MentionsNIP-27 (text note references)Superseded by better reference format
NIP-96HTTP File StorageBlossom (NIP-B7)Replaced by simpler, more decentralized Blossom APIs
NIP-26Delegated Event SigningNone (removed)Adds unnecessary burden for little gain
Positional e tagsThread references by positionMarked e tags (NIP-10)Ambiguous when events reference without replying

Feature-to-NIP Quick Reference

FeaturePrimary NIPsRequired DependenciesRelated
Direct Messages1744 (encryption), 59 (gift wrap)51 (kind:10050 DM relays)
Zaps (Lightning)57LNURL (external)47 (Wallet Connect)
Nutzaps (Cashu)6160 (Cashu Wallet)87 (Mint Discovery)
Marketplace1569 (P2P Orders), 99 (Classifieds)
Social / Notes01, 1025 (Reactions), 18 (Reposts), 22 (Comments)
Long-form Content2322 (Comments), 84 (Highlights)
Groups2972 (Moderated Communities)
Relay Auth4211 (Relay Info)98 (HTTP Auth)
Identity05 (NIP-05), 19 (bech32)06 (Key Derivation), 46 (Remote Signing)
DVMs9089 (App Handlers)
Encryption4459 (Gift Wrap), 49 (Key Encryption)
Lists5165 (Relay List)
Search50
File StorageB7 (Blossom)94 (File Metadata), 92 (Media Attachments)

For complete event structures and tag details, see references/nip-map.md.

NIP Interaction Patterns

These are the non-obvious multi-NIP chains that developers frequently miss:

Private DMs (NIP-17 chain)

kind:14 (unsigned rumor) → NIP-44 encrypt → kind:13 (seal) → NIP-44 encrypt → kind:1059 (gift wrap)
  1. Create unsigned kind:14 with p tags for recipients and plaintext content
  2. Seal it (kind:13) — encrypt with NIP-44 using sender's key + recipient's pubkey
  3. Gift wrap (kind:1059) — encrypt seal with a random ephemeral key
  4. Publish to recipient's kind:10050 relay list (NIP-51)
  5. Repeat wrapping for each recipient AND the sender (for sent-message recovery)

Critical: The kind:14 MUST NOT be signed (deniability). Timestamps on seal and gift wrap MUST be randomized up to 2 days in the past (metadata protection).

Zaps (NIP-57 chain)

  1. Fetch recipient's lnurl pay endpoint (from lud16 in kind:0 profile)
  2. Verify allowsNostr: true and nostrPubkey in lnurl response
  3. Create kind:9734 zap request (NOT published to relays)
  4. Send zap request to lnurl callback URL as query parameter
  5. Receive bolt11 invoice, pay it
  6. Recipient's lnurl server publishes kind:9735 zap receipt

Nutzaps (NIP-61 chain)

  1. Fetch recipient's kind:10019 for trusted mints and P2PK pubkey
  2. Mint/swap Cashu tokens P2PK-locked to recipient's specified pubkey
  3. Publish kind:9321 with proofs, tagging recipient and mint URL
  4. Recipient swaps tokens into their NIP-60 wallet
  5. Recipient publishes kind:7376 to mark redemption

Relay Authentication (NIP-42)

  1. Relay sends ["AUTH", "<challenge>"] to client
  2. Client creates kind:22242 event with relay and challenge tags
  3. Client sends ["AUTH", <signed-event>]
  4. Relay responds with ["OK",...]

Common Mistakes

MistakeFix
Using NIP-04 (kind:4) for DMsUse NIP-17 (kind:14) with NIP-44 encryption and NIP-59 gift wrap
Signing the kind:14 DM rumorLeave it unsigned — signatures remove deniability
Publishing kind:9734 zap requests to relaysSend to lnurl callback URL only, never publish
Using positional e tags for threadingUse marked e tags with root and reply markers (NIP-10)
Hardcoding relay URLsUse kind:10002 relay list (NIP-65) for outbox model
Using NIP-96 for file uploadsUse Blossom (NIP-B7) — NIP-96 is unrecommended
Using recipient's main Nostr pubkey for nutzap P2PKUse the dedicated pubkey from their kind:10019 event
Not randomizing gift wrap timestampsRandomize created_at up to 2 days in the past on both seal and wrap
Skipping NIP-11 when implementing NIP-42 authRelay info document tells clients what auth is required before connecting

Key Principles

  1. Deprecation-first checking — Always verify NIPs against the deprecation list before recommending. A working implementation on a deprecated NIP will break interoperability with modern clients.
  2. Full chain awareness — Most features require multiple NIPs. Recommending NIP-17 without NIP-44, NIP-59, and NIP-51 produces a broken implementation.
  3. Metadata protection matters — The shift from NIP-04 to NIP-17 was driven by metadata leakage. When advising on encryption or messaging, always explain what metadata is protected and what isn't.
  4. Verify with the spec — Use the Nostr MCP tools (read_nip, read_kind) to fetch current NIP text when providing event structures. NIPs evolve and details change.
  5. Event kind numbers are canonical — Always include the specific kind number when discussing events. "Use NIP-17" is less useful than "Create a kind:14 event, seal it as kind:13, gift wrap as kind:1059."

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.69%
按下载量换算27

Claude

30.48%
按下载量换算25

Cursor

20.79%
按下载量换算17

Gemini CLI

10.4%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills