Agent skill

X Thread Builder

by sergebulaev in sergebulaev/x-skills

Build a long-form X (Twitter) thread (tweetstorm) using a 2026 thread formula (listicle-thread, story thread, curiosity-gap opener, how-I teardown), picked by goal (bookmarks, likes, reposts…

MITAuto-check passedWriting & Content

Install X Thread Builder

skills CLI
$ npx skills add sergebulaev/x-skills --skill x-thread-builder -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sergebulaev/x-skills x-thread-builder --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sergebulaev/x-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/x-thread-builder .claude/skills/x-thread-builder && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
x-thread-builder
GitHub stars
120
Used in
1 other repo
Token cost
~1.8k tokens
SKILL.md length
1,009 words
Files
2 (incl. references)
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Build a long-form X (Twitter) thread (tweetstorm) using a 2026 thread formula (listicle-thread, story thread, curiosity-gap opener, how-I teardown), picked by goal (bookmarks, likes, reposts…

  • Works in 10 steps: Gather inputs. Topic, the raw material… → Pick the formula from the goal table,… → Write tweet 1. This is 80% of the work → …
  • Tasks that involve Social media posts
  • SKILL.md covers When to use, Formulas this skill uses…, How Publora splits a thread and Steps, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

X Thread Builder is an agent skill from sergebulaev/x-skills. Build a long-form X (Twitter) thread (tweetstorm) using a 2026 thread formula (listicle-thread, story thread, curiosity-gap opener, how-I teardown), picked by goal (bookmarks, likes, reposts, replies). Structures tweet 1 as a promise plus open loop, paces one beat per tweet, and closes for the repost. Publishes via Publora, which auto-splits long content into a numbered (1/N) thread. Not for single tweets (use x-post-writer) or auditing a draft (use x-humanizer --mode audit).

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/thread-structure.md`).

It sits in Writing & Content, covering Social media posts. It works with X (Twitter). The repository describes itself as: X (Twitter) marketing skills for Claude Code and Codex: write tweets, threads, and replies in your voice, strip AI tells, and publish via Publora. Open source, MIT. Content… The licence is MIT.

When your agent uses it

  • Tasks that involve Social media posts

Example prompts

  • “/x-thread-builder”

Workflow steps

10 steps, taken from the first numbered list in SKILL.md.

  1. Gather inputs. Topic, the raw material (notes, a transcript, a result),
  2. Pick the formula from the goal table, confirm it fits the material.
  3. Write tweet 1. This is 80% of the work
  4. Pace the body. One beat or one item per tweet. Front-load the strongest
  5. Make each tweet stand alone. A reader landing mid-thread from a quote
  6. Write the closer. The last tweet earns the repost and the follow. End on
  7. Humanizer pass on every tweet. Scrub 2026 AI vocab by density, cap em
  8. Optional audit. Run x-humanizer --mode audit on the assembled thread.
  9. Approval card. Show the thread tweet-by-tweet with per-tweet char counts,
  10. On approval. Call `lib.publish(kind="thread", draft_text=<full thread

What it can do on your machine

Read from SKILL.md and the folder at commit 6ffd8e0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • x.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

X Thread Builder loads about 1.8k tokens when it runs, and up to ~2.8k if it reads all its reference files. Until then it costs about 124 tokens; SKILL.md has 1,009 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~124
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sergebulaev/x-skills at commit 6ffd8e0, republished under its MIT licence (© sergebulaev). 1,009 words, ~1,787 tokens.

Download SKILL.mdSave it as .claude/skills/x-thread-builder/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
x-thread-builder
description
Build a long-form X (Twitter) thread (tweetstorm) using a 2026 thread formula (listicle-thread, story thread, curiosity-gap opener, how-I teardown), picked by goal (bookmarks, likes, reposts, replies). Structures tweet 1 as a promise plus open loop, paces one beat per tweet, and closes for the repost. Publishes via Publora, which auto-splits long content into a numbered (1/N) thread. Not for single tweets (use x-post-writer) or auditing a draft (use x-humanizer --mode audit).

X Thread Builder

Build tweetstorms that get read all the way down. On X, tweet 1 is the entire funnel: it has to promise a payoff and open a loop, or no one taps "Show this thread." Everything after only matters if tweet 1 earns the tap.

When to use

  • User says "turn this into a thread" or "write me a thread about X"
  • The idea is a list where each item needs teaching, a story with a build, a surprising result with a mechanism, or a repeatable process
  • User has a single tweet that is trying to do too much and should be a thread

Formulas this skill uses (thread shapes)

CodeFormulaPrimary goalBest for
X7Listicle-Thread Promisebookmarksnumbered teaching thread, one item per tweet
X8Story Threadlikes, repostsa real narrative with a build and a turn
X9Curiosity-Gap Openerreplies, bookmarksa surprising result, mechanism withheld
X10How-I Teardownbookmarksa repeatable process you ran yourself

Full skeletons in ../../references/hook-formulas.md. For single tweets (X1-X6), use x-post-writer.

Pick by goal first
GoalReach for
BookmarksX7, X10, X9
LikesX8
RepostsX8
RepliesX9

How Publora splits a thread

Pass the full thread as one content string. Publora auto-splits it:

  • at paragraph breaks (\n\n) first,
  • then at sentence endings,
  • then at word boundaries as a fallback,
  • and adds (1/N) markers, reserving ~8 chars per tweet for the marker.

For full control of where each tweet breaks, hand-split with a --- separator on its own line between tweets. The skill defaults to hand-splitting with --- so the user sees exactly how the thread will land before approving.

Steps

Voice profile first (all drafts). If ../../references/voice-profile.md has filled: yes, load it and match the user's voice fingerprint, hard rules, and CTA/link style throughout. If it is not filled, mention once that x-humanizer --mode profile can learn their voice from a few posts, then proceed with the generic voice rules.

Story bank next. If ../../references/story-bank.md has filled: yes, load it and take every concrete detail (numbers, dates, named projects, positions) from there instead of asking mid-draft. Never invent a figure, a date or a client name that is not in the bank or supplied by the user in this conversation. If the bank has nothing that fits, ask the user, or say once that x-humanizer --mode interview fills it in 20 to 40 minutes. A draft with a plausible invented number is worse than a draft with none: one is vague, the other is a retraction.

  1. Gather inputs. Topic, the raw material (notes, a transcript, a result), target audience, and the goal (bookmarks / likes / reposts / replies).
  2. Pick the formula from the goal table, confirm it fits the material.
  3. Write tweet 1. This is 80% of the work:
    • Promise a specific payoff (a number, a named result, a clear list count).
    • Open a loop the reader has to resolve ("most people get 3 of them wrong", "I did not expect why").
    • Keep it under 280 chars on a standard account. It must stop the scroll alone.
  4. Pace the body. One beat or one item per tweet. Front-load the strongest item or beat at position 1-2; tap-through decays with depth. Target 5-9 tweets for teaching/list threads; longer only for a strong story.
  5. Make each tweet stand alone. A reader landing mid-thread from a quote tweet should still get something.
  6. Write the closer. The last tweet earns the repost and the follow. End on the most quotable line, then one clear ask (bookmark, follow, or "reply with yours"), not both.
  7. Humanizer pass on every tweet. Scrub 2026 AI vocab by density, cap em dashes (at most one per tweet, never swap one for a period), break stacked triads and reveal bridges. Let tweet length vary only as the material varies: never insert a 3-word punch tweet for rhythm, never alternate long/short, and touch rhythm only if the whole thread reads machine-flat. Canonical rules: x-humanizer V3.
  8. Optional audit. Run x-humanizer --mode audit on the assembled thread.
  9. Approval card. Show the thread tweet-by-tweet with per-tweet char counts, total tweet count, the formula, and the goal. Confirm any --- breaks.
  10. On approval. Call lib.publish(kind="thread", draft_text=<full thread with --- breaks>, target_url="https://x.com/compose/tweet", platforms=[<X_PLATFORM_ID>], scheduled_time=<iso_or_None>). Publora posts the chain in one call and returns a postGroupId.
Show full SKILL.md (293 more words)Show less

Hard rules

Global voice rules: see root SKILL.md Voice rules. Additional skill-specific rules:

  • Tweet 1 must contain a real promise and an open loop. A bare "A thread:" label is not a hook.
  • Keep each tweet under 280 chars on a standard account (emoji = 2 chars).
  • Front-load value. Never bury the best item at the end of a teaching thread.
  • No external link in tweet 1. Put links in a later tweet or a reply.
  • Natural rhythm, not manufactured variance. A long thread where every tweet is the same length and none carries a real clause reads machine-flat; fix that one thing. Never pad or chop tweets to create variance, and never insert a punch tweet: the inserted punch is the humanizer fingerprint.
  • Only ship a Story Thread (X8) built on a true story. Readers punish manufactured stakes.

Anti-patterns (skill will refuse)

  • Tweet 1 that closes its own loop (no reason to expand).
  • Over-promising in tweet 1 and under-delivering in the body.
  • Vague how-to steps ("be consistent", "add value") in an X10 teardown.
  • Padding to hit a round number of tweets.
  • Em dashes above the cap (more than one in a tweet), AI vocab clusters, ALL CAPS openers.
  • "The result?" reveals, "No X. No Y. Just Z." staccato stacks, one-word tweets for drama.
  • Announced candor ("Let me be honest", "not gonna lie") with no dated fact behind it.
  • Engagement-bait closers ("RT if this helped").

Resources

  • ../../references/hook-formulas.md - X7-X10 thread skeletons with worked shapes
  • ../../references/algorithm-heuristics.md - thread length, tap-through decay, signals
  • references/thread-structure.md - per-position pacing and the closer playbook
  • x-post-writer - when the idea is really just one tweet
  • x-humanizer - scrub each tweet, or --mode audit the whole thread
  • x-hook-extractor - lift the structure from a viral thread you admire
  • x-content-planner - schedule threads into a weekly cadence

© sergebulaev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/x-thread-builder of sergebulaev/x-skills.

  • SKILL.md
  • references/thread-structure.md

Open the folder on GitHubat commit 6ffd8e0

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in sergebulaev/x-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

X Thread Builder next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

X Thread Builder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
X Thread Builder this skillsergebulaev/x-skills1201 repos~1.8kAutomated safety check: PassMIT
Social Contentfreekmurze/dotfiles1k22 repos~2.1kAutomated safety check: PassNone
Typefullyfreekmurze/dotfiles1k1 repos~3.4kAutomated safety check: NotesNone
Changelog Social RecapFlorianBruniaux/claude-code-ultimate-guide6.1k—~1.8kAutomated safety check: NotesCC-BY-SA-4.0
X Mastery Mentoralchaincyf/x-mentor-skill1.2k—~2.3kAutomated safety check: PassMIT
Voice Buildercharlie947/social-media-skills3.8k—~3.3kAutomated safety check: PassMIT

Similar skills

  • Social Content

    freekmurze/dotfiles

    When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, Facebook, or other platforms.

    1k GitHub starsUsed in 22 repos~2.1k tokens
    Writing & ContentAuto-check passed
  • Typefully

    freekmurze/dotfiles

    Create, schedule, and manage social media posts via Typefully.

    1k GitHub starsUsed in 1 repo~3.4k tokens
    Writing & ContentAuto-check: notes
  • Changelog Social Recap

    FlorianBruniaux/claude-code-ultimate-guide

    Turns CHANGELOG.md entries for a release or a week into LinkedIn, Twitter/X, newsletter and Slack posts in French and English.

    6.1k GitHub stars~1.8k tokensUpdated yesterday
    Writing & ContentAuto-check: notes
  • X Mastery Mentor

    alchaincyf/x-mentor-skill

    $10K/hr级X/Twitter运营导师。基于Nicolas Cole、Dickie Bush、Sahil Bloom、Justin Welsh、 Dan Koe、Alex Hormozi六位顶级创作者的方法论 + X开源算法深度分析 + AI/科技赛道专精策略, 提炼6个核心心智模型、10条决策启发式、完整的选题-写作-增长操作手册。

    1.2k GitHub stars~2.3k tokensUpdated 1 mo ago
    Writing & ContentAuto-check passed
  • Voice Builder

    charlie947/social-media-skills

    Build a personalised voice profile inside a Codex or Claude project from a short interview plus 3 to 5 sample pieces of writing.

    3.8k GitHub stars~3.3k tokensUpdated 22 days ago
    Writing & ContentAuto-check passed
  • Social Post

    Hao0321/claude-skill-social-post

    依使用者真實貼文與成效寫 Facebook/Instagram/YouTube/Threads/X 文案,包含 ChatGPT Chat 的「寫文」「Mode C」「用我的格式/口氣」「黑底白字」;本機工作台、規劃、確認後發布、留言回覆及成效學習。使用者說「發文」「文案」「Social Post 介面」「回覆留言」「查流量」「把數據訓練進去」「比較貼文」「優化 pattern」時使用。

    726 GitHub stars~2.9k tokensUpdated 4 days ago
    Writing & ContentAuto-check passed

More from sergebulaev/x-skills

All 10 skills in this repo
  • X Marketing

    sergebulaev/x-skills

    Plan, draft, audit, and publish posts and threads for X (Twitter).

    120 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check: notes
  • X Content Planner

    sergebulaev/x-skills

    Generate a weekly X (Twitter) content plan from a theme, audience, and content pillars.

    120 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • X Hook Extractor

    sergebulaev/x-skills

    Reverse-engineer the hook from a viral X (Twitter) tweet or thread URL.

    120 GitHub starsUsed in 1 repo~964 tokens
    Auto-check passed
  • X Reply Drafter

    sergebulaev/x-skills

    Draft a reply or a value-add quote tweet for a specific X (Twitter) tweet from its URL.

    120 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed
  • X Humanizer

    sergebulaev/x-skills

    Remove the AI tells human readers react to in a tweet or thread: 2026 vocabulary by density, reveal bridges, staccato stacks, stacked triads, performed sincerity.

    120 GitHub starsUsed in 1 repo~4.2k tokens
    Auto-check passed
  • X Post Writer

    sergebulaev/x-skills

    Draft a single tweet or short auto-thread for X (Twitter) using a 2026 X hook formula (one-liner contrarian, data-point, build-in-public, mini-list, relatable cold-open), picked by goal (replies…

    120 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed

Works with

Questions about X Thread Builder

What does X Thread Builder do?

Build a long-form X (Twitter) thread (tweetstorm) using a 2026 thread formula (listicle-thread, story thread, curiosity-gap opener, how-I teardown), picked by goal (bookmarks, likes, reposts…. X Thread Builder is an agent skill from sergebulaev/x-skills. Build a long-form X (Twitter) thread (tweetstorm) using a 2026 thread formula (listicle-thread, story thread, curiosity-gap opener, how-I teardown), picked by goal (bookmarks, likes, reposts, replies).

When should I use X Thread Builder?

X Thread Builder fits situations like: tasks that involve Social media posts.

How do I install X Thread Builder in Claude Code?

Run `npx skills add sergebulaev/x-skills --skill x-thread-builder -a claude-code`. Or copy the skill folder (skills/x-thread-builder in sergebulaev/x-skills) into .claude/skills/x-thread-builder in your project. Claude Code loads it when a task matches its description.

How do I install X Thread Builder in Codex?

Run `npx skills add sergebulaev/x-skills --skill x-thread-builder -a codex`. Or copy the skill folder (skills/x-thread-builder in sergebulaev/x-skills) into .agents/skills/x-thread-builder in your project. Codex loads it when a task matches its description.

Can I use X Thread Builder in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sergebulaev/x-skills --skill x-thread-builder -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/x-thread-builder, .gemini/skills/x-thread-builder, .github/skills/x-thread-builder and .opencode/skills/x-thread-builder in your project.

What does X Thread Builder need to run?

SKILL.md names no scripts, command-line tools or credentials: X Thread Builder is instructions for the agent only.

Does X Thread Builder access the network?

SKILL.md names 1 domain. As links in the text: x.com. This is read from the text; nothing was executed.

Is X Thread Builder safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does X Thread Builder use?

X Thread Builder is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does X Thread Builder use?

About 1.8k tokens (SKILL.md is roughly 7.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 965 tokens, read only when the agent opens those files.

What are the alternatives to X Thread Builder?

Skills that share tags, products or a category with X Thread Builder: Social Content (freekmurze/dotfiles, 1k stars), Typefully (freekmurze/dotfiles, 1k stars), Changelog Social Recap (FlorianBruniaux/claude-code-ultimate-guide, 6.1k stars) and X Mastery Mentor (alchaincyf/x-mentor-skill, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains X Thread Builder?

sergebulaev (a GitHub user) maintains it in sergebulaev/x-skills, which has 120 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 7, 2026.

Source: sergebulaev/x-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.