x-thread-builder

x-thread-builder is a skill for Claude Code from sergebulaev/x-skills. It costs 123 tokens per session (1,671 once invoked), scanned A, original, MIT.

A tool for turning an idea or source material into a long-form X (formerly Twitter) thread, a sequence of connected posts. It chooses a thread structure based on whether the goal is bookmarks, likes, reposts, or replies.

In plain words
What is it for?
Use it to turn a large idea into a teaching list, story, curiosity-led explanation, or process teardown. It is meant for multi-post threads rather than single posts.
Why use it?
It helps organize a long explanation or story so the opening gives readers a reason to continue. It also provides a structure for pacing the information across posts.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the x-skills plugin — 10 skills shipped together

Good fit Use it to turn a large idea into a teaching list, story…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sergebulaev/x-skills/x-thread-builder
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sergebulaev/x-skills --skill x-thread-builder
Clone the repo
git clone --depth 1 https://github.com/sergebulaev/x-skills

Made for: Claude Code.

Or install x-skills, the plugin that ships this one along with the rest of its 10 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for x-thread-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/sergebulaev/x-skills/x-thread-builder.svg)](https://agentmods.dev/skills/sergebulaev/x-skills/x-thread-builder)
Your own site
<a href="https://agentmods.dev/skills/sergebulaev/x-skills/x-thread-builder"><img src="https://agentmods.dev/badge/skills/sergebulaev/x-skills/x-thread-builder.svg" alt="Measured on agentmods" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,671 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00123 $0.01671
Opus 5 $0.00062 $0.00835
Sonnet 5 $0.00025 $0.00334
Haiku 4.5 $0.00012 $0.00167

Measured today against content hash 05e89a313aca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

x-thread-builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.codex-marketplace/x-skills/skills/x-thread-builder/SKILL.md · 128 lines

How it starts

The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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)

Code Formula Primary goal Best for
X7 Listicle-Thread Promise bookmarks numbered teaching thread, one item per tweet
X8 Story Thread likes, reposts a real narrative with a build and a turn
X9 Curiosity-Gap Opener replies, bookmarks a surprising result, mechanism withheld
X10 How-I Teardown bookmarks a 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

Goal Reach for
Bookmarks X7, X10, X9
Likes X8
Reposts X8
Replies X9

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.

Read the full file on GitHub · 128 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +9 lines 05e89a313aca
  2. 7d ago First seen · 119 lines · 123 tokens per session scan A 0466cda68c06

Subscribe to this mod's changes

x-thread-builder is a skill published in the GitHub repository sergebulaev/x-skills (57 stars, last pushed yesterday), licensed MIT. It adds 123 tokens to every session and 1,671 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

fb-humanizer

Remove the AI tells readers react to in a Facebook Page post: 2026 vocabulary by density, reveal bridges, staccato stacks, stacked triads, performed sincerity, "We are thrilled to announce" auto-pilot; caps em dashes. Includes --mode audit (under-80 sweet spot, hook, engagement bait, hashtag and emoji limits) and…

sergebulaev/facebook-skills · 119 tokens

facebook-marketing

Plan, draft, audit, and publish posts for a Facebook Page. Use when the user wants to write a short punchy Page post or a longer story post, remove AI tells from a draft, reverse-engineer the hook from a high-share Page post, draft replies to comments on their Page, or plan a week of Facebook Page content. Page posts…

sergebulaev/facebook-skills · 104 tokens

threads-humanizer

Remove the AI tells human readers react to in a Threads post or thread: 2026 vocabulary by density, reveal bridges, staccato stacks, stacked triads, performed sincerity; caps em dashes at one per post, never forces rhythm. Includes --mode audit (500-char fit, hook, one-hashtag cap, link placement, warm tone) and…

sergebulaev/threads-skills · 120 tokens

threads-marketing

Plan, draft, audit, and publish posts and threads for Threads (Meta). Use when the user wants to write a single Threads post or a multi-post thread, remove AI tells from a draft, reverse-engineer the hook from a viral Threads post, draft a reply or quote post, or plan a week of Threads content. Posts and threads…

sergebulaev/threads-skills · 113 tokens

tt-humanizer

Remove the AI-script tells viewers hear in a TikTok spoken script and caption: 2026 vocabulary by density, reveal bridges, staccato stacks, stacked triads, performed sincerity, written-not-spoken phrasing, "hey guys" filler; caps em dashes. Includes --mode audit pre-film check (hook, completion design, caption fit)…

sergebulaev/tiktok-skills · 119 tokens

tiktok-marketing

Plan, script, caption, and publish short-form video for TikTok. Use when the user wants to write the first 1-3 second hook (spoken line plus on-screen text), draft a caption under 2,200 chars with TikTok settings and hashtags, ride a trending sound without being cringe, strip AI tells from a spoken script to sound…

sergebulaev/tiktok-skills · 0 tokens