Skip to content
Skills Library
Marketing & content · Conversion & formats

x-thread

/x-thread

Turn a long draft into an X thread: split at paragraph and sentence boundaries into posts of 280 weighted characters or fewer, links pulled out of the body and gathered in the last post, hook post checked. Use when the user says "turn this into a thread", "split this up", "this is too long for one post", or pastes an essay, notes or a transcript. Never posts.

Licence
MIT
Last repository change
24.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
1
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 24.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: thread.py

What it does and when to use it

Turn a long draft into an X thread: split at paragraph and sentence boundaries into posts of 280 weighted characters or fewer, links pulled out of the body and gathered in the last post, hook post checked. Use when the user says "turn this into a thread", "split this up", "this is too long for one post", or pastes an essay, notes or a transcript. Never posts.

Triggers from the description

turn this into a threadsplit this upthis is too long for one post
Original author description

Turn a long draft into an X thread: split at paragraph and sentence boundaries into posts of 280 weighted characters or fewer, links pulled out of the body and gathered in the last post, hook post checked. Use when the user says "turn this into a thread", "split this up", "this is too long for one post", or pastes an essay, notes or a transcript. Never posts.

How it works

  1. Before you write
  2. The loop
  3. Rules
  4. Approval gate
Original SKILL.md headings · 80 lines, 654 words
SKILL.md preview
---
name: x-thread
description: >-
  Turn a long draft into an X thread: split at paragraph and sentence
  boundaries into posts of 280 weighted characters or fewer, links pulled out of
  the body and gathered in the last post, hook post checked. Use when the user
  says "turn this into a thread", "split this up", "this is too long for one
  post", or pastes an essay, notes or a transcript. Never posts.
---

# x-thread

`thread.py` does the splitting so the arithmetic is right. You do the editing.

```bash
python3 thread.py draft.txt                # posts with weighted counts
python3 thread.py draft.txt --number       # prefix 1/N, counted in the budget
python3 thread.py draft.txt --pack         # merge short paragraphs
python3 thread.py draft.txt --links-last    # old behaviour: links in the last post
python3 thread.py draft.txt --json
```

On Windows, where this says `python3`, use `python`.

It imports `../x-post/xcount.py`, so keep the plugin folder intact.

## Before you write

1. Read `~/.claude/x/voice.md` (or the handle's). Free account by default, so every
   post is 280 weighted characters. URLs weigh 23. CJK and most emoji weigh 2.
2. Ask whether it should be a thread at all. If it fits one post, say so and send
   it to `/x-post`. A thread is for something that needs steps.
3. **No invented numbers.** Missing figure: `{{your number}}`, and say so.

## The loop

1. **Find the hook.** The first post must work alone. Run `postscore.py --hooks`
   on two or three candidate openers, pick the best, put it first.
2. **One idea per post.** A blank line in the draft is a post boundary. Cut
   filler until each paragraph earns its own post.
3. **Run `thread.py`.** Read the warnings; each one is a decision for you:
   - a link was removed and the sentence now dangles: reword it
   - a sentence was split mid-sentence: rewrite it shorter
   - the hook post scores under 55: fix the opener, not the rest
4. **Links go in a FIRST REPLY block.** `thread.py` pulls every link out of the posts and
   prints it in a separate block titled FIRST REPLY, to post under post 1. Always show
   that block when the draft had a link. Observed, not coded: links in the root post
   were seen to cost reach on free accounts. `--links-last` keeps the old behaviour
   (links in the last post) if the user prefers it.
5. **Humanize each post** with `/x-human`. Then re-run `thread.py` so counts stay true.
6. **Print the posts** as numbered blocks, then the FIRST REPLY block if there was a link.

Real output (sample draft with a link):

```
--- post 1/4  (52/280)
I sent 400 cold DMs in 30 days and 2 became clients.
--- post 2/4  (239/280)
Here is the pattern. The two who said yes got a question about their pricing page. The 398 others got a pitch. That is the entire difference between the groups, and I did not see it until I laid the messages out side by side on one screen.
--- post 3/4  (153/280)
The question was always specific. "Why is the annual plan hidden behind the contact form?" It shows you read the page. A pitch shows you read a template.
--- post 4/4  (46/280)
What is the first line you send to a stranger?
---
FIRST REPLY (post it as a reply under post 1)
Full breakdown of the messages:
https://example.com/dm-breakdown
---
```

## Rules

- No "A thread", no "🧵", no "1/ Let's dive in". The first post is a claim.
- No "RT the first post", no "follow for more". Bait is a ranking risk and an
  Original Content Rewards ineligibility problem. `thread.py` warns on it.
- Long threads lose readers. `thread.py` warns past 12 posts. Cut to the strongest.
- Posts in your own thread are your replies to yourself. That is normal. What to
  avoid is stacking several replies under someone else's post: see `/x-reply`.

## Approval gate

1. Show the finished text in one fenced block, ready to copy. If there is a link,
   show it in a second block titled FIRST REPLY.
2. End the message with: Reply yes to log it.
3. On "yes", append one line to `~/.claude/x/log.md` (or the handle's folder):
   date, skill, first line. That is all "yes" does.
4. Never post, like, follow, reply, DM or scroll. You write; the human posts, by
   hand, on x.com.
Files in this package (2)
  • SKILL.md 4 KB
  • thread.py 9 KB

Versions

RepositoryScoreLicence
This page · muhammadhassan03/x-agent-skill100MIT
genfeedai/skills100MIT
gladosAagman/x-agent-skill100MIT

Database snapshot: 13.11.2026 · package version b1d8414ecb49 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100x-article
    Plan and draft a long-form X Article or a long Premium post: outline, draft, a first-screen hook, and an originality checklist. Premium feature, documented but not tested by the author. Use when the user says "write an article", "long post", "essay for X", or has material too…
  • 100turn-this-into-a-thread
    Turn a long idea, transcript, article or draft into a Twitter/X thread where every tweet stands alone. Use when someone asks for a thread or to break long writing into tweets.
  • 100x-repurpose
    Turn one long asset - a YouTube video, podcast, newsletter, blog post, transcript, LinkedIn post or client call - into a week of X posts and one thread. Use when the user says "repurpose this", "turn this into tweets", "I have a video/newsletter/transcript", or pastes a long…
  • 90humanizer-x
    Turn a source (a news story, a link, notes, a transcript, or a draft) into an X (Twitter) post or thread in the user's saved Humanizer voice. Use for /humanizer-x, \"write a tweet about this\", \"turn this into a thread\", or \"humanize this for X\".
  • 100threads-post-writer
    Writes a Threads post or a short multi-post thread that starts a conversation: picks single post or thread from the shape of the idea, chooses a hook by the reaction you want (replies, reposts, likes or quotes), keeps each post under 500 characters and hands it back copy-ready,…
  • 90social-media-thread
    Writes a multi-post thread or carousel — Twitter/X threads, LinkedIn carousels, Threads chains, Instagram carousels — with thread outline, a hook that earns the click, per-post copy, and a closing CTA. Pulled by the `social-media` specialist. TRIGGER: "write a Twitter thread on…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.