How to announce a Nyxs release (or a feature) on Nyxs' X account, @nyxscode, in the style of @ClaudeDevs, and how to show the post to the user before publishing it. Use after every release is published (the step after the website in nyxs-release), and whenever the user asks for a post, tweet or announcement on X.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Nyxs X Posts?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nyxs-code-nyxs-x-posts)
---
name: nyxs-x-posts
description: How to announce a Nyxs release (or a feature) on Nyxs' X account, @nyxscode, in the style of @ClaudeDevs, and how to show the post to the user before publishing it. Use after every release is published (the step after the website in nyxs-release), and whenever the user asks for a post, tweet or announcement on X.
---
# Posts on X (@nyxscode)
Every release gets a post on https://x.com/nyxscode once it is published and nyxs.dev shows it.
**Nothing is published before the user approves the exact post** (text and image) in the chat.
## The model: @ClaudeDevs
Read its latest posts first (`https://x.com/ClaudeDevs` in the built-in browser; read them with
`eval` on `article [data-testid="tweetText"]` and their media). What they do:
- **One feature per post.** First sentence: what's new, in the user's terms ("You can now…",
"Nyxs now…", "<Feature> is now in beta…"). A second short paragraph: what it does and why it
helps. Plain, concrete, no hype words.
- **No hashtags, no emojis**, no "🚀 New release!".
- **One image (or a short video) of the feature itself.**
- **A reply under it** with how to get it and the link (the changelog page or a docs page).
**Where Nyxs differs, by the user's rule: the link goes in the first post, as high as possible**
(in its first line), so people see it without tapping "Show more". Never only in a reply, never at
the end of a long post.
## For a release
1. Pick from the release's `changelog.ts` entry (and its update card) **the one novelty a user
notices most**: it gets the post and the image.
2. Write the thread in **English** (the account's language), each post **≤ 280 characters**: the
account is verified and could post longer, but X folds a post behind "Show more" past about
280, and people should read it all at a glance:
- Post 1: first line "Nyxs 0.8.68 is out: https://nyxs.dev/changelog/0-8-68/", then the
headline feature in two short paragraphs.
- Post 2 (reply): "Also in 0.8.68:" with 2-3 more novelties, one line each, and how to get it
("Update from the app").
X counts a link as 23 characters.
Only what the code confirms; never promise "ad-free" or anything against a service's terms.
3. Make the image (below).
## The image
It must make people stop scrolling and want to know more: a hook, the brand's night and the
feature itself. ClaudeDevs' plain screenshots are the floor, not the goal.
- **1200×675 (16:9) PNG**, in the style of the X cover (`Pictures\Nyxs\x-portada-nyxs.png`):
- **Background:** the night drawn in dots on a canvas: `#08080b`, a violet glow
(`rgba(106,79,207,…)`), a dotted moon top-right, sparse stars, two dotted ranges of mountains
along the bottom, faint grain. Deterministic noise, so a re-render looks the same.
- **Left, the hook:** a small kicker pill (`NYXS 0.8.68`, monospace, lavender on a violet
tint), a 2-line headline at ~62 px bold that makes people curious, its second line in the
lavender gradient (`#cfc2f7 → #8f75e3 → #6a4fcf`), and one line under it saying what it does.
Example: "Take a nap. / Your agents won't." + "Background agents keep working after the turn
ends, and your session stays free."
- **Right, the feature:** its real UI rebuilt from the component (see `nyxs-site-pictures`), in
English with realistic content, zoomed ~1.6×, floating with a violet glow and a deep shadow,
plus one small floating piece that tells the story (the sidebar row "2 in background").
- **No mascot.** The user chose to keep Mango out of the posts' images.
- Nothing important within 40 px of the edges, and the headline never wraps to a third line.
- Inter (Google Fonts) and lucide icons; wait for `document.fonts.ready` and the images before the
screenshot.
- Render with Playwright and the installed Edge (no browser download):
`chromium.launch({ channel: "msedge" })`, viewport 1200×675, `deviceScaleFactor: 1`, screenshot
`#frame`. Keep the HTML, its assets and the render script in a scratch folder outside the repos
(`%TEMP%\nyxs-x\`) and save the PNG to `Pictures\Nyxs\x-posts\<version>-<slug>.png` in the user's
folder.
- Look at the PNG (Read it) and fix what's off before showing it: text cut or wrapping, overlaps,
empty areas, a UI too small to read on a phone.
## Show it before publishing
Show the user, in one `preview` block, the post **exactly as it will look on X**: the dark X
layout (`#000` background, `#e7e9ea` text, `#71767b` muted, 15 px), avatar (the purple N,
`https://pbs.twimg.com/profile_images/2114510755995205632/yvoSIq5R_200x200.png`), "Nyxs Code
@nyxscode", the text with its line breaks, the real PNG (embedded as a base64 `data:` URL, saved as
JPEG to keep it light), and the replies under it. Then list the texts with their character counts and ask for the go-ahead.
Change and show again until the user says to publish.
## Publishing (only after the user's OK)
The built-in browser is signed in as @nyxscode.
1. `navigate` to `https://x.com/compose/post`, `find` "post text" and `fill` post 1 (line breaks
are kept; X shows "N characters remaining"). Check it with
`eval` on `[data-testid="tweetTextarea_0"]`'s `innerText`.
2. The image: the browser's `upload` only reads files inside the project, so copy the PNG into
`E:\optimicer` for the moment, `upload` it to `input[data-testid="fileInput"]`, and delete the
copy right after (it must never be committed).
3. Alt text: "Add description" → X asks whether to generate one; that prompt's "No, thanks" closes
the whole dialog, so open "Add description" again, `fill` the box with what the image shows and
says, and Save.
4. The thread in one go: "Add post" adds post 2 in the same composer (`tweetTextarea_1`); `fill`
it, then "Post all".
5. Open the profile, check both posts (the image on the first, the reply under it) and give the
user the link (`/nyxscode/status/<id>`). If the user wants, pin it.
Never post, reply, like or follow anything else from the account.