/x-agent:x-threadfrom x-agent
Drafts X/Twitter threads with a hook-first structure, one idea per post, weighted character counting, and a closing ask. Use for tweetstorms or step-shaped ideas.
Ships in x-agent. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A thread is a list that people read one post at a time, and most of them stop after the first. So a thread is really one post with a sequel. Build it that way round.
One tool lives in this folder and it runs:
python3 thread.py draft.txt # cut it, count every post, lint it
python3 thread.py draft.txt --number # add 1/7, 2/7 ... (counted in the length)
python3 thread.py draft.txt --pack # merge short paragraphs into one post
Posts break at your own --- lines first, then at paragraphs, then at
sentences. A sentence longer than a whole post is the only thing that gets
split between words, and it is flagged when it happens.
Decide this before writing anything, and say which one and why:
| the idea | format |
|---|---|
| one claim | a single post. /x-post |
| one argument that needs room, no natural steps | a long post, if the user has Premium |
| steps, a list, a sequence, a story with beats | a thread |
The most common way a thread fails is being one claim cut into eight pieces.
If that is what the user has, say so and hand it to /x-post.
5 to 12 posts. Under 3 is a post. Past about 15, fewer people finish it than read post 2.
1 THE HOOK stands completely alone. The payoff, promised
specifically. Formula from ../x-post/hooks.json,
usually #16 Thread Promise, #2 Number Reveal or #5 The List.
2 THE STAKE why the reader should care, or the proof you are
the one to say it. The second most-read post.
3..N ONE IDEA EACH a line of claim, a line or two of why. Short.
N+1 THE RECAP the whole thread as a list, so a screenshot of it works.
LAST THE ASK one: follow, a keyword, the link. One.
python3 ../x-post/hookscore.py --hook "..." before writing the rest.thread.py flags it.--number counts it for you./x-human before cutting it.
Thread boilerplate ("if you found this thread helpful, follow me...") is in
the lexicon for a reason.The thread from thread.py, each post copy-ready with its count, then the
lints and what you did about each. Then:
THREAD READY · 8 posts
hook: #16 Thread Promise (score 78 STRONG)
checks: all posts fit · no mid-sentence breaks · link in the last post only
humanizer: 11 artefacts stripped across 8 posts
Reply "yes" to log it, or tell me which post to change.
Nothing is posted by this skill. The user posts post 1, then replies to it
with post 2, and so on, or pastes them into X's composer with the + button.
On "yes", log post 1 to ~/.claude/x/log.md with the formula.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jakeschincariol/x-agent-skill --plugin x-agent11 skills in this plugin
/x-auditPost-mortem on what the user has already published on X - which posts actually worked, why, and what to stop doing - from their own analytics export. Use when the user shares their X analytics CSV or past posts and asks "what's working", "why did this flop", "read my analytics", "audit my account", "what should I double down on", or wants to know whether links, threads or a posting time actually matter for them./x-commentWrite replies on other people's X posts and threads that read as a person with something to add, not a reply guy. Use when the user pastes a post and wants a reply, says "reply to this", "comment on this thread", "engage with this", "what do I say here", "quote tweet this", or wants a batch of replies for their daily engagement round./x-dmWrite X DMs that get answered - the first message, the two follow-ups - and triage the user's DM inbox and message requests. Use when the user says "DM this person", "cold DM", "outreach on X", "how do I follow up", "what do I say to this DM", "go through my message requests", or is reaching out to someone specific on X./x-humanStrip the machine fingerprint out of any draft - em dashes, AI slop words, invisible watermark characters, thread boilerplate - and score it against a five-check detection panel before it goes out. Use whenever text needs to sound human, when the user says humanize, "does this sound like AI", "remove the em dashes", "de-slop this", "this sounds like ChatGPT", or before any post, thread, reply or DM from this pack is shown to the user./x-planPlan the user's week on X - what to post, when to post it, and who to engage with. Use when the user says "plan my week", "what should I post", "content calendar", "posting schedule", "I have nothing to post about", or wants a weekly mix of posts, threads and replies and a list of accounts to engage./x-postWrite an X (Twitter) post from a raw idea using 21 proven hook formulas, in the user's own voice, counted the way X counts characters and humanized so it does not read as AI. Use whenever the user wants a tweet, an X post, a hook, "post about X", "turn this into a tweet", a long post for Premium, or asks for hook options. Produces three scored hooks, one full draft, and a copy-ready block that is never published without an explicit yes.Other plugins' skills for the same job