Nostr Tools
Nostr Tools empowers users to interact with the Nostr protocol, facilitating decentralized social media access and data retrieval.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add nostr-tools npx -- -y @trustedskills/nostr-tools
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"nostr-tools": {
"command": "npx",
"args": [
"-y",
"@trustedskills/nostr-tools"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to interact with the Nostr protocol. It can fetch event data from relays, construct and sign new events (like posts), and generally manage a Nostr identity. The agent can be used for tasks like following specific users or subscribing to certain types of content on the decentralized social network.
When to use it
- Decentralized Social Media Management: Automate posting updates or interacting with other users on Nostr.
- Content Curation: Subscribe to and summarize events related to a particular topic or keyword within the Nostr network.
- Relay Monitoring: Track activity and identify trends on specific Nostr relays.
- Automated Notifications: Receive alerts when certain types of events are published on Nostr.
Key capabilities
- Fetching event data from Nostr relays
- Constructing new Nostr events
- Signing Nostr events
- Managing a Nostr identity
Example prompts
- "Find the latest posts from user 'alice' on relay 'wss://relay.example.com'."
- "Create and publish a post to Nostr saying 'Hello, world!'"
- "Subscribe to all events tagged with #bitcoin."
Tips & gotchas
- You will need to provide the skill with your Nostr private key for signing events. Keep this key secure!
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.