Publish notes to Nostr from Kimi Code
Kimi Code can publish notes on Nostr through ClipSpeed. Add the ClipSpeed server with one config block, sign in, and then ask Kimi Code to publish notes, pick the time, and apply Nostr's settings, without leaving the Kimi Code CLI. Nostr is on the roadmap on ClipSpeed's rail; this page describes how it works and says so.
Keep a human in the loop: Kimi Code shows the plan and asks before anything is public. Posting today: YouTube, TikTok, Instagram, X (Twitter) and LinkedIn.
Also try
How to publish notes Nostr from Kimi Code
Add ClipSpeed as an HTTP MCP server in Kimi Code's configuration, complete the sign-in, and the tools appear. Connect Nostr in ClipSpeed, then describe the post. Setup takes about a minute.
# One-time setup: Kimi Code MCP config
{
"mcpServers": {
"clipspeed": { "url": "https://api.clipspeed.ai/mcp" }
}
}
# Then ask Kimi Code:
> Publish a note about the launch at 9am
Kimi Code: Preview — nothing booked yet. Nostr — text. Book it?ClipSpeed has not yet run an end-to-end check inside Kimi Code. The server is standard MCP over HTTP.
- Add the clipspeed server with the URL to Kimi Code's MCP configuration (its docs name the file).
- Start Kimi Code; complete the ClipSpeed sign-in, or use an API key header.
- Ask it to list your channels.
- Connect Nostr in the ClipSpeed app, or ask Kimi Code for a connect link: it is private, valid for ten minutes, and Nostr signs you in itself.
What can Kimi Code do on Nostr?
On Nostr, Kimi Code can publish signed notes with linked media to your relays. Every booking runs through the same rules as the ClipSpeed app.
Text, Image and Video posts
Nostr takes text, image and video through ClipSpeed. Video: linked by URL. Image: linked by URL.
Limits checked at booking
Nostr notes have no protocol limit; most clients truncate near 1,000 characters. Titles are optional.
Exact time or refused
Name the minute and Kimi Code books it, or you are told why not and offered the next open slot. A booked Nostr post is never moved behind your back.
Preview before anything posts
preview: true runs the whole booking and writes nothing. Kimi Code shows the plan, with each slot and the day's remaining cap, and books only on your yes.
Clips cut in the same session
Submit a video or stream link, get captioned 9:16 clips with a viral score, and post the best as native video on Nostr. No download, no re-upload.
Pacing and numbers
Planned: Text posts on Nostr are at least 30 minutes apart, up to 10 a day. After a post goes out, Kimi Code can read back views and engagement where Nostr provides them.
How does Kimi Code post to Nostr through ClipSpeed?
You describe what you want in plain language and Kimi Code makes the ClipSpeed calls. A typical conversation has three beats.
Find your Nostr channel
Ask Kimi Code whether Nostr is connected. It calls list_channels and reads platform_settings, so it also knows what Nostr accepts and the limits before you write a word.
Compose within the rules
Describe the post. Kimi Code drafts within Nostr's limits; mention a clip or a file and it attaches it.
Schedule or publish
Name a time, or say now. The slot is booked exactly or refused with the next open one, and the reply carries the id you can cancel or edit by.
Nostr settings reference
These are the schedule_post fields that apply to Nostr. Mention any of them in plain language and Kimi Code sets them; the server checks them at booking. Fields marked planned land with the Nostr release.
| Field | Type | Required | What it does on Nostr |
|---|---|---|---|
platforms | string[] | Yes | Include "nostr". Up to ten platforms per call; each books its own slot. |
text | string | Yes | The note. No protocol limit; keep it short because clients truncate. |
relays | string[] | Planned | Relays to publish to; defaults to the ones on your connected profile. |
media_url | string | No | A public link; Nostr embeds media by URL. |
scheduled_at | ISO 8601 | No | Exact or refused with the next open slot. |
preview | boolean | No | Plan only. |
Common Nostr configurations
Ask Kimi Code for any of these and it applies the matching settings.
Short note
Note with a clip link
Specific relays
Day of notes, previewed
Example prompts for Nostr in Kimi Code
Type these into the Kimi Code CLI. Kimi Code calls ClipSpeed and confirms before publishing.
Publish notes Nostr with a scheduled time
Publish a note about the launch at 9am. Preview first.
Cut the clips, then post the best
Clip this link, keep the top three by viral score, and schedule them to Nostr at 11am, 3pm and 7pm tomorrow. Show me the plan before booking.
Check and adjust the Nostr calendar
What is scheduled on Nostr this week? Cancel tomorrow's post and tell me the next open Nostr slot on Friday.
Nostr limits and gotchas to know
Nostr enforces a few rules that Kimi Code and ClipSpeed respect automatically, but knowing them helps you phrase requests.
- Notes are signed with your key. ClipSpeed will use a signing method that never asks for your private key in chat; details land with the release.
- There is no protocol character limit, but clients truncate long notes, so short wins.
- Media is a URL in the note, not an upload; ClipSpeed clips are already hosted.
- Nostr is on ClipSpeed's roadmap, not the next rail. Bookings are refused plainly until it posts.
- A note is published to each relay you choose; a relay that is down simply misses it.
| Rule | Nostr |
|---|---|
| Accepts | Text, Image, Video |
| Text limit | Nostr notes have no protocol limit; most clients truncate near 1,000 characters |
| Title | No title field |
| Links in the caption | Kept; media is linked by URL |
| Pacing | Planned: Text posts on Nostr are at least 30 minutes apart, up to 10 a day. |
| Formats | Image: linked by URL. Video: linked by URL. Aspect: any |
| Status | On the roadmap; described here, not yet bookable |
What Postiz-style schedulers cannot do
Cut the clips first
Kimi Code does not need finished video to start. Hand it a YouTube link, a podcast, a stream VOD or a local export. ClipSpeed finds the moments, cuts them to 9:16 with word-by-word captions, scores each one 0 to 100 for shareability, and returns them in the same conversation. Kimi Code picks by score, writes the caption from the transcript, and books the clips on Nostr. Three tool calls, one approval, no download and no re-upload.
- Clips arrive with a title written from the hook, a transcript and a viral score, so the agent can choose and caption without watching the footage.
- Live streams can be clipped while they are still on air; the agent books the highlights for the next morning before the stream ends.
- Every clip is already hosted, so
schedule_posttakes its id directly. Nothing moves through your laptop.
submit_to_clipspeedPaste the link. ClipSpeed starts the job and returns a project id.check_clipsPoll with the project id. Back come the finished 9:16 clips with titles, transcripts, viral scores and preview links.schedule_postPass the clip id, the platforms, a caption and a time. Kimi Code shows the plan with preview: true, you say yes, it books.generate_image or generate_videoDescribe the shot. ClipSpeed runs it on the model that fits (Seedance, Kling, Veo, Nano Banana Pro, GPT Image and others) and quotes the credits first.wait_for_generationReturns the hosted result link and a preview the agent can show you.schedule_post with media_urlThe result link goes straight into the booking on Nostr. The caption, the time and the file are approved together.The other half nobody else has
Generate the image or video, then post it
A product shot for Instagram, a 16:9 announcement graphic for X, a six-second opener before a clip: Kimi Code can make an image or a short video with ClipSpeed's image and video models and book the result in the same reply. There is no separate design tool, no export, no upload page. The generated file is hosted, so media_url is the only thing the booking needs.
- The price in credits is quoted before anything renders, within the per-generation and daily caps you set in Settings.
- Results are previewed in the conversation, so you approve the picture and the post at once.
- Images post as JPG, PNG or WebP up to 25 MB; video posts as MP4, MOV or WebM up to 1 GB.
What is Kimi Code?
Kimi Code is Moonshot AI's coding agent for the terminal, built on the Kimi models. It runs tasks in your project and connects to MCP servers. With ClipSpeed registered, it can clip videos, generate media and schedule posts.
How ClipSpeed works with Kimi Code
- Connects over HTTP
- Reads platform rules
- Exact-or-refused booking
preview: true- Same tools everywhere
Kimi Code vs DeepSeek vs Claude Code: Kimi Code (terminal), DeepSeek (terminal / plugin surfaces), Claude Code (terminal). This page is about Kimi Code; the Kimi Code guide compares them.
{
"mcpServers": {
"clipspeed": {
"url": "https://api.clipspeed.ai/mcp"
// or: "headers": { "Authorization": "Bearer csai_live_..." }
}
}
}# What the agent reads at connect time (tool descriptions, abridged)
list_channels Connected platforms, what each accepts, limits, your time zone
connect_channel A private 10-minute link to connect one platform
platform_settings Limits, title rules, link handling, pacing per platform
schedule_post clip_id | text | media_url → platforms[], scheduled_at, preview
list_scheduled_posts Scheduled, sending, posted, failed — with post links
update_scheduled_post Edit copy while still scheduled (the time never moves)
cancel_scheduled_post Cancel; undoable 72 h in the app
post_analytics Views, likes, comments, shares where the platform gives them
submit_to_clipspeed Start clipping a video or stream link → projectId
check_clips Finished 9:16 clips with titles, transcripts, viral scores
generate_image / generate_video / wait_for_generation
# Nostr: text/image/video · text n/aPublish notes to Nostr and other platforms from Kimi Code
One request can book the same content to Nostr and other channels, each keeping its own settings and its own slot. Every platform below has its own Kimi Code guide.
Also works with
Nostr and Kimi Code: frequently asked questions
How do I publish notes to Nostr from Kimi Code?
Add the clipspeed server with the URL to Kimi Code's MCP configuration (its docs name the file). Start Kimi Code; complete the ClipSpeed sign-in, or use an API key header. Connect Nostr in ClipSpeed (or ask Kimi Code for a connect link; it is private and valid for ten minutes), then describe the post in plain language. Kimi Code reads the Nostr rules, drafts within them, shows the plan and books on your yes. Nostr is on the roadmap; until the badge changes, the booking is refused with a plain message.
What can Kimi Code post to Nostr through ClipSpeed?
Publish signed notes with linked media to your relays. Nostr takes text, image and video posts.
Which Nostr settings can Kimi Code control?
The fields in the settings reference above: text, relays, media_url, scheduled_at, preview. Mention any of them in plain language ("unlisted", "tomorrow at 9", "preview first") and Kimi Code sets the matching field before it books.
Do I need a Nostr API key or developer account?
No. You connect Nostr to ClipSpeed once through Nostr's own sign-in, and Kimi Code talks to ClipSpeed over OAuth. No Nostr developer key, bearer token or password is pasted anywhere.
How many Nostr posts a day can Kimi Code schedule?
Planned: Text posts on Nostr are at least 30 minutes apart, up to 10 a day. When a time is taken, the booking is refused with the next open slot rather than moved. Ask for preview to see a day's plan and the remaining cap before anything is booked.
Can posts go out to Nostr while I am away?
Yes. Once booked, ClipSpeed publishes at the scheduled minute whether or not Kimi Code is open. For unattended runs that decide what to post, use a headless agent such as Claude Code or Codex with the same account.
Is posting to Nostr from Kimi Code different from DeepSeek?
The booking is identical: the same rules, the same calendar, the same refusals. What differs is where you work. Kimi Code: terminal. DeepSeek: terminal / plugin surfaces, plugin model.