twitter-x-posts — Claude Code skill: X posts and threads
A skill that writes publish-ready X (Twitter) posts and threads, with character counts and structure tuned to the platform.
npx skills add kostja94/marketing-skills --skill twitter-x-posts -a claude-code
npx skills add kostja94/marketing-skills --skill x -a claude-codeWhat twitter-x-posts does
The skill hands the agent X formatting rules: 280 characters for a standard post, 25,000 for Premium, links counted as 23 characters after t.co shortening, roughly 2 characters per emoji. For engagement it keeps length targets — 71–100 characters for a general post, 120–130 for promotional copy, 60–80 for a question. A thread is built from 3–5 connected posts numbered 1/5, 2/5 and so on, with a strong hook up front and a call to reply at the end.
There is an algorithm breakdown too. Replies carry the most weight, author replies in a chain lift visibility, and external links cut the score by about half, so the skill advises putting the link in a reply rather than the main post. Separate tables cover TweepCred, distribution, how Premium tiers change reach, video, and a content mix of 70% value, 20% interaction, 10% promo. Design agents get image dimensions: 1200×675 for a single image, 800×800 for a square, 1500×500 for a header.
Output is post text with a character count, hashtags, thread structure and image specs. This is copywriting, not long-form writing — the skill description points to article-content for that. If X is not a core channel for you, the Premium reach numbers and link rules will not change much, so decide whether you are publishing there at all before installing.
What it helps with
- write an X post that fits the character limit
- build a numbered thread from connected posts
- pick a length that matches the goal: promo, question, repost
- figure out where a link should go so reach does not drop
- hand a designer the right image dimensions for a post
Example prompts for the agent
- Write an X post about our new release, keep it under 120 characters
- Draft a 5-post thread about how we rewrote the backend
- Make a promo post with a link and tell me where to place it
How to install twitter-x-posts
1Skills CLI (Vercel)
npx skills add kostja94/marketing-skills --skill twitter-x-posts -a claude-codenpx skills add kostja94/marketing-skills --skill x -a claude-code2Manually: put the files in place
~/.claude/skills/x/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/x/
1Skills CLI (Vercel)
npx skills add kostja94/marketing-skills --skill x -a codex2Manually: put the files in place
.agents/skills/x/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add kostja94/marketing-skills --skill x -a cursor2Manually: put the files in place
.cursor/skills/x/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install kostja94/marketing-skills x2Manually: put the files in place
.github/skills/x/SKILL.md1Skills CLI (Vercel)
npx skills add kostja94/marketing-skills --skill x -a gemini-cli2Platform CLI
gemini skills install https://github.com/kostja94/marketing-skills --path skills/platforms/xManually: put the files in place
.devin/skills/x/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add kostja94/marketing-skills --skill x -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about twitter-x-posts
How do I install twitter-x-posts in Claude?
Run npx skills add kostja94/marketing-skills --skill twitter-x-posts -a claude-code. Or use npx skills add kostja94/marketing-skills --skill x -a claude-code; the file lands at ~/.claude/skills/x/SKILL.md.
What does twitter-x-posts do?
It helps the agent write X posts and threads: counts characters, sets a hook-value-CTA structure, and suggests a length for the goal at hand.
How is it different from article-content?
twitter-x-posts covers the short X format — posts and threads. For long-form text the skill description points to article-content.
Source text
SKILL.md · MIT
--- name: twitter-x-posts description: When the user wants to create X (Twitter) post copy, threads, or optimize for X platform. Also use when the user mentions "X post," "X thread," "Twitter post," "Twitter thread," "tweet," "tweet copy," "thread," "X marketing," "X content," "post to X," "create X post," or "X post copy." For long-form source, use article-content. metadata: version: 1.1.1 --- # Platforms: X (Twitter) Guides X post copy creation and optimization. Use for generating publish-ready posts, threads, and content that performs on X. Suitable for copy agents, design agents (image specs), and video agents (video post specs). **When invoking**: On **first use**, if helpful, open with 1-2 sentences on what this skill covers and why it matters, then provide the main output. On **subsequent use** or when the user asks to skip, go directly to the main output. ## Output: Publish-Ready Copy This skill enables agents to generate X post copy that can be published directly. Output includes character-counted text, thread structure, and platform-compliant formatting. ## Character Limits | Type | Limit | Notes | |------|-------|-------| | **Standard post** | 280 characters | Most users | | **Premium** | 25,000 characters | X Premium subscribers | | **URL** | Counts as 23 chars | t.co shortens all links | | **Emoji** | ~2 chars each | Varies by emoji | ## Optimal Lengths (Engagement) | Use Case | Characters | Purpose | |----------|------------|---------| | **General** | 71-100 | Sweet spot for engagement | | **Promotional** | 120-130 | Product/offer posts | | **Question** | 60-80 | Drive replies | | **Retweet-friendly** | ~116 | Leaves room for "RT @user:" | ## Thread Format - **Structure**: 3-5 connected posts; number as 1/5, 2/5, etc. - **First post**: Strong hook; no "thread" in first line - **Last post**: CTA, summary, or question - **Each post**: ~80 chars; can stand alone ## Post Structure (Hook + Value + CTA) | Part | Ratio | Guideline | |------|-------|-----------| | **Hook** | 10% | First 1-2 lines; question, fact, or emotion; ~50 chars | | **Value** | 70% | Practical info; use thread for depth | | **CTA** | 20% | Call for reply, question, or action | End with open question to drive replies. Thread structure can extend impressions ~10x. ## Algorithm (Grok AI) ### Signal Weights | Signal | Impact | |--------|--------| | **Replies** | Highest (~54-75x likes); quality > quantity | | **Author replies** | Active reply chains ~75x visibility | | **Bookmark** | 2026 signal; saves boost recommendation | | **Media** | Images/video ~2x; video 2-4x exposure | | **External links** | Reduce score ~50%; prefer internal refs | | **Post limit** | 5-8/day; >10/day reduces later visibility ~80% | **Content**: Open questions, controversial views, stories; avoid "RT if agree" bait. ### TweepCred | Threshold | Effect | |-----------|--------| | **< 65** | Only last 3 posts enter For You | | **New accounts** | Need +17 to appear in feed | | **Blue V** | Auto 100 points | Monitor account health; avoid spam, bulk ops, excessive links. ### Distribution Posts tested in small group first; early interaction (first 30 min) decides reach. Niche consistency helps SimClusters match. ## Link Optimization | Practice | Guideline | |----------|-----------| | **Penalty** | External links ~-50%; Regular accounts: link posts 0% engagement since 2025 | | **Placement** | Put link in reply, not main post | | **Ratio** | Max 1 link per 5 posts | | **Premium** | Premium+ safest for links (~0.25-0.3% engagement) | | **Preview** | Title ≤70 chars, description ≤200 chars; 1200×628 image | ## Premium Impact | Tier | Reach | Link posts | |------|-------|------------| | **Regular** | <100/post | 0% engagement | | **Premium ($8)** | ~600/post | ~0.25-0.3% | | **Premium+ ($40)** | ~1550/post | Safest for links | Premium ~10x reach vs Regular. If X is core channel, Premium helps. ## Video - **Exposure**: 2-4x vs text - **Length**: 8-30s short video preferred - **VQV**: High video completion boosts score 2-3x ## Content Ratio | Type | Share | Use | |------|-------|-----| | **Value** | 70% | Education, how-to, insights | | **Interaction** | 20% | Polls, questions, AMA | | **Promo** | 10% | Product, offers | ## Twitter Cards + SEO Cards (og:image, title, description) boost CTR ~64%, engagement ~26%. Use for Social SEO; X traffic can accelerate Google indexing. For programmatic SEO (template + data pages at scale), use programmatic-seo. ## Image Specs (for Design Agents) | Format | Dimensions | Use | |-------|------------|-----| | **Single image** | 1200×675 (16:9) | Best visibility; no crop | | **Square** | 800×800 | Single image | | **Profile** | 400×400 | Avatar | | **Header** | 1500×500 (3:1) | Banner | | **File** | ~5MB; JPG/PNG | Over 5MB may compress | ## Output Format When generating X copy, provide: 1. **Post text** with character count 2. **Hashtags** (if used; 1-3 recommended) 3. **Thread structure** (if thread) 4. **Image specs** (if design agent needs dimensions) ## Related Skills - **paid-ads-strategy**: X (Twitter) Ads for paid promotion; tech audiences, timely content; see Platform Selection - **influencer-marketing**: X is key influencer platform - **reddit-posts**: Alternative community channel - **programmatic-seo**: Programmatic SEO (template + data pages); X traffic can accelerate indexing - **open-graph, twitter-cards**: OG and Twitter Card tags for X link previews - **visual-content**: Cross-channel visual planning; X image specs in context
© kostja94 · MIT · kostja94/marketing-skills