← 返回 Skills 市场
vveerrgg

nostr-profile

作者 vveerrgg · GitHub ↗ · v0.2.0 · MIT-0
cross-platform ⚠ suspicious
256
总下载
0
收藏
0
当前安装
7
版本数
在 OpenClaw 中安装
/install nostr-profile
功能描述
Nostr profile management for AI agents — publish, read, and update kind 0 metadata on any relay
安全使用建议
This skill appears to do what it claims (publish/read/update Nostr profiles) but there are mismatches you should resolve before installing: - Expect to provide sensitive signing material. The skill needs either a passphrase to decrypt a local identity file (NOSTRKEY_PASSPHRASE) or a raw private key (NOSTR_NSEC) to sign events. Do not set NOSTR_NSEC in shared or untrusted environments; prefer an encrypted identity file and passphrase when possible. - Confirm which environment variables the agent platform will expose to the skill (SKILL metadata, registry metadata.json, and examples disagree). Make sure required sensitive env vars are declared and you explicitly consent to providing them. - Verify the install method and package source. metadata.json and SKILL.md reference pip install of 'nostr-profile' but the registry 'install' list also contains an unfamiliar 'uv' installer. Inspect the pip package and the GitHub repo (linked in metadata.json) before installing; review the package code (nostr_profile and its dependency nostrkey) to ensure it only signs and sends properly formed Nostr events and does not exfiltrate secrets. - Be aware the skill will publish public profile data to third-party relays and uses external image services (DiceBear). Published data is public and discoverable. If you do not want public exposure of a name/bio/avatar tied to your private key, do not publish. If you want to proceed: install in an isolated environment, audit the installed package code, and prefer using an encrypted identity file + passphrase rather than exposing raw private keys in environment variables.
功能分析
Type: OpenClaw Skill Name: nostr-profile Version: 0.2.0 The nostr-profile skill is a legitimate utility for managing Nostr identities (Kind 0 metadata) on the Nostr network. It utilizes the 'nostr-profile' and 'nostrkey' libraries to publish, read, and update profile information such as names, bios, and avatars. The SKILL.md instructions include appropriate security guidance, explicitly directing the agent to never log private keys (nsec) and to inform users that profile data is public. The code and examples (e.g., examples/publish_profile.py) align with the stated purpose without any signs of malicious intent or unauthorized data exfiltration.
能力评估
Purpose & Capability
The skill's code and SKILL.md perform exactly the functions described (load a Nostr identity, sign and publish kind-0 profile events to relays, read/update profiles). Requiring pip for installation and accessing Nostr relays is coherent with the stated purpose. However, the registry-level metadata at the top of the submission lists no required environment variables while metadata.json and the examples clearly expect sensitive credentials (NOSTRKEY_PASSPHRASE and/or NOSTR_NSEC). That mismatch is unexpected and should be clarified.
Instruction Scope
SKILL.md instructs the agent to load an identity file and read passphrases/private keys from environment variables (examples use NOSTRKEY_PASSPHRASE and NOSTR_NSEC) and to call external services (Nostr relays and DiceBear image API). Those actions are appropriate for publishing a Nostr profile, but the SKILL.md references environment variables and identity file paths that are not consistently declared in the manifest/registry metadata. Also the examples include an instruction to use an NOSTR_NSEC env var (raw private key), which is highly sensitive and needs explicit declaration and user consent.
Install Mechanism
The skill lists pip as a required binary and metadata.json says install via pip (pip package 'nostr-profile'), which is normal. The registry 'Install specifications' block also lists an 'uv' install kind for the same package and SKILL.md includes both pip and uv entries — 'uv' is not a standard installer name and the presence of two different install kinds is inconsistent. There are no arbitrary download URLs or archive extracts in the submission, which lowers install risk, but confirm which installer will actually be used.
Credentials
The skill legitimately needs access to the agent's Nostr signing material (either a decrypt passphrase for an identity file or the raw NSEC) to sign profile events. That is proportional to its purpose. The problem: the top-level registry info claims no required env vars, metadata.json declares NOSTRKEY_PASSPHRASE (sensitive) and optional NOSTR_RELAY, while examples reference NOSTR_NSEC (a raw private key) and NOSTR_RELAY. The mismatch and the use of a raw private-key env variable are security-relevant and should be made explicit to the operator.
Persistence & Privilege
The skill does not request 'always: true' and does not modify other skills or system-wide settings. It does not require elevated agent privileges beyond normal runtime installation. Autonomous invocation is allowed (platform default) but is not combined here with unusual persistent privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install nostr-profile
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /nostr-profile 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.2.0
Security hardening: SecretStr, sanitized exceptions, input validation
v0.1.9
Entity-aware SKILL.md — identity is you to yourself, profile is you to the world
v0.1.8
Declare env vars in metadata, inline code in SKILL.md
v0.1.7
Security hardening (XSS/SSRF/type guards/timeouts), full field updates (website/lud16/nip05), 66 tests
v0.1.4
DiceBear avatars, public profile framing, What's Next
v0.1.2
agent proposes own name and bio
v0.1.0
Initial release — publish, read, and update Nostr kind 0 profiles. 29 tests, red-teamed.
元数据
Slug nostr-profile
版本 0.2.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 7
常见问题

nostr-profile 是什么?

Nostr profile management for AI agents — publish, read, and update kind 0 metadata on any relay. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 256 次。

如何安装 nostr-profile?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install nostr-profile」即可一键安装,无需额外配置。

nostr-profile 是免费的吗?

是的,nostr-profile 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

nostr-profile 支持哪些平台?

nostr-profile 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 nostr-profile?

由 vveerrgg(@vveerrgg)开发并维护,当前版本 v0.2.0。

💬 留言讨论