← 返回 Skills 市场
Nostr Nak
作者
samthomson
· GitHub ↗
· v1.0.2
1083
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install nostr-nak
功能描述
General purpose skill for using the Nostr Army Knife (nak) CLI tool with PTY support.
安全使用建议
This skill is an instruction-only helper for the 'nak' CLI and appears to do what it claims. Before installing/using: (1) ensure you trust the source — manifest metadata (homepage and tags) looks slightly off and the manifest version differs from the registry version; (2) make sure the 'nak' CLI is installed on your system — this skill only provides usage instructions; (3) avoid passing your nsec (private) key on the command line as shown in examples (command-line args can be seen by other processes and may be stored in shell history). Prefer using secure key storage (files with tight permissions, agent secret store, or prompting stdin), or other nak options that accept keys via files or stdin; (4) verify and be comfortable with the default relays the skill suggests; (5) if you need stronger assurance, run the agent/skill in a restricted environment or test with throwaway keys first.
功能分析
Package: nostr-nak (xpi)
Version: 1.0.1
Description: Powerful Nostr integration using the nak CLI tool. Handles relay discovery, PTY buffering fixes, and provides examples for querying and posting.
The provided source code consists solely of metadata files (`_meta.json`, `manifest.json`) and a Markdown documentation file (`SKILL.md`). There is no executable code (e.g., JavaScript, Python, etc.) present to analyze for security vulnerabilities, malicious logic, or suspicious behavior. The documentation describes how to use an external CLI tool, 'nak', including details on relay logic, identity handling (private and public keys), and PTY requirements for command execution. Based on the provided files, the package itself contains no active components.
能力评估
Purpose & Capability
The skill is an instruction-only helper for the 'nak' (Nostr Army Knife) CLI: relay defaults, PTY wrapper, and flag usage match the stated purpose. Minor metadata oddities exist in manifest.json (homepage points to an unrelated repo and tags include 'iot'), and the manifest version (1.0.1) doesn't match the registry version (1.0.2), but these do not contradict the core purpose.
Instruction Scope
SKILL.md stays on-topic (how to wrap 'nak' with a PTY, relay defaults, how to pass identities). It does instruct using nsec (private) keys or hex private keys on the nak command line, which is functional but is a security risk because command-line arguments can be exposed via process listings or shell history. The instructions do not direct the agent to read unrelated files, environment variables, or contact endpoints outside the listed relays.
Install Mechanism
No install spec and no bundled code — instruction-only. This minimizes risk because nothing is written or executed by the skill itself.
Credentials
The skill requests no environment variables or credentials (proportional). However, it explicitly advises passing private keys on the command line for posting, which is sensitive. The skill itself does not request or store secrets but its recommended usage can expose them if the user follows the example literally.
Persistence & Privilege
always is false and there is no install, so the skill does not request elevated persistence or system-wide changes. The skill can be invoked by the agent (default), which is expected for user-invocable skills.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install nostr-nak - 安装完成后,直接呼叫该 Skill 的名称或使用
/nostr-nak触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Minor SKILL.md refinements for clarity and conciseness.
- Simplified relay override instructions and usage examples.
- Added frontmatter with name and description for better documentation compatibility.
v1.0.1
- Updated manifest.json (details not specified).
- No user-facing documentation changes in SKILL.md.
v1.0.0
- Initial release of the nostr-nak skill for interacting with the Nostr Army Knife (nak) CLI tool.
- Added critical technical note: all nak commands must be wrapped in a PTY using script to avoid hangs.
- Default discovery relays (`wss://relay.damus.io`, `wss://relay.primal.net`, `wss://relay.nostr.band`) are used unless the user specifies their own.
- Supports identity handling for both querying (with npub/hex pubkey) and posting (with nsec/hex private key), with security precautions for secret keys.
- Provides clear usage examples for querying and posting notes.
- Includes a process for discovering unknown NIP or Kind numbers via the official NIPs repository or NostrHub, with clear verification instructions.
元数据
常见问题
Nostr Nak 是什么?
General purpose skill for using the Nostr Army Knife (nak) CLI tool with PTY support. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1083 次。
如何安装 Nostr Nak?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install nostr-nak」即可一键安装,无需额外配置。
Nostr Nak 是免费的吗?
是的,Nostr Nak 完全免费(开源免费),可自由下载、安装和使用。
Nostr Nak 支持哪些平台?
Nostr Nak 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Nostr Nak?
由 samthomson(@samthomson)开发并维护,当前版本 v1.0.2。
推荐 Skills