Home / Claude Code / Nostr
Claude Code + Nostr Skill

Claude Code + Nostr Publish Notes to the Decentralized Web with AI

Use the Upload-Post skill to publish text notes to Nostr directly from Claude Code. Broadcast to the decentralized network across multiple relays using your private key, no central account or gatekeeper required.

Install in Seconds

Works with Claude Code, Cursor, Windsurf, and any AI coding agent that supports skills.

Terminal
$ npx skills add Upload-Post/upload-post-skill

What You Can Post to Nostr

Text

Features for Nostr

Everything you need to publish and automate Nostr content from your terminal.

Text Notes

Publish text notes with full support for hashtags, mentions, and links. Your note is signed and broadcast so it appears in Nostr clients exactly as written.

Multi-Relay Broadcast

Publish to multiple relays at once for wide propagation. Reaching several relays maximizes how many clients and followers see your note across the network.

Key-Based Signing

Notes are signed with your private key (nsec), so you own your identity outright. There is no platform account that can be revoked or handed to someone else.

Decentralized Reach

Nostr is an open, censorship-resistant protocol with no central server. Your note lives across the relays you publish to rather than on a single company platform.

No Central Account

There is no sign-up, no approval, and no gatekeeper. Your public and private keys are your identity, so you can start publishing to the network right away.

Multi-Platform Reach

Publish the same update to Nostr and other platforms in a single call, so your note reaches the decentralized network and your other channels at once.

How It Works

1

Install the Skill

Run the install command in your terminal. The skill is added to Claude Code instantly.

2

Connect Nostr

Link your Nostr account on the Upload-Post dashboard and create a profile with your API key.

3

Publish from Claude Code

Tell your AI agent to post content to Nostr. It handles formatting, uploading, and publishing automatically.

Start Posting to Nostr from Claude Code

Join thousands of developers automating their social media workflow with AI. Free plan available.

Prefer another integration path? Explore the Nostr Upload API or the Nostr MCP server.

Frequently Asked Questions

How does posting to Nostr work through Claude Code?
Upload-Post handles the Nostr protocol behind a simple API. When you tell Claude Code to post to Nostr, the skill sends your note to the Upload-Post API, which signs it with your key and broadcasts it to your configured relays. The note then appears in any Nostr client that reads from those relays.
What are relays and can I publish to several at once?
Relays are the servers that store and forward Nostr notes. There is no single central server, so publishing to several relays at once increases how widely your note propagates. You configure the relays you want, and every note is broadcast to all of them.
How is my Nostr identity authenticated?
Nostr through Upload-Post uses your private key (nsec) to sign notes. That key is your identity on the network, so anything you publish is verifiably yours. You keep full ownership of your identity rather than relying on a platform login.
Is my private key handled securely?
Yes. Your key is used only to sign the notes you publish, and signing happens as part of the delivery pipeline. Because Nostr is key-based, no platform can lock you out or take over your identity the way a centralized account could.
Can I cross-post to Nostr and other platforms simultaneously?
Yes. Upload-Post supports multi-platform publishing in a single API call. Include multiple platforms in your request, such as platform[]=nostr&platform[]=bluesky&platform[]=x, and your content is published to all of them at once. Each platform receives properly formatted content that respects its specific requirements.