Agent Skills: Write Twitter Threads

Use when the user wants to write a Twitter thread on X. Drafts a multi-tweet thread with coherent narrative, splits long content into 280-char segments, and hands off to post-tweets for publishing. Text generation only.

UncategorizedID: Xquik-dev/x-twitter-scraper/write-threads

Install this agent skill to your local

pnpm dlx add-skill https://github.com/Xquik-dev/x-twitter-scraper/tree/HEAD/skills/write-threads

Skill Files

Browse the full folder contents for write-threads.

Download Skill

Loading file tree…

skills/write-threads/SKILL.md

Skill Metadata

Name
write-threads
Description
"Use when the user wants to write a Twitter thread on X. Drafts a multi-tweet thread with coherent narrative, splits long content into 280-char segments, and hands off to post-tweets for publishing. Text generation only."

Write Twitter Threads

Draft multi-tweet threads on X. This skill produces the thread text; publishing is done through post-tweets chaining replies to the previous tweet ID.

Endpoints

| Endpoint | Purpose | Cost | |---|---|---| | POST /compose with mode=thread | Draft a full thread | Compose tier | | POST /drafts | Save a thread draft | Read tier |

Base URL: https://xquik.com/api/v1. Auth: x-api-key: xq_... header.

Quick reference

POST /compose
{
  "mode": "thread",
  "prompt": "explain why static sites beat SPAs for blogs",
  "tone": "casual",
  "target_tweet_count": 6
}
-> { thread: [{ text }], total_chars }

Each text is already within the 280-char limit. The response preserves a natural narrative flow (hook, arguments, conclusion).

Publishing flow

  1. POST /compose with mode: "thread".
  2. Show all tweets in order to the user and wait for approval.
  3. For each tweet in sequence:
    • Post the first via post-tweets skill.
    • Capture the returned id.
    • Post the next with reply_to_tweet_id = previous id.
  4. Stop and surface any error instead of continuing silently.

Confirmation

Never publish a thread without user review of every tweet in order. Threads amplify mistakes - one typo becomes 10 tweets.

Related

Single tweets: write-tweets. Publishing: post-tweets. Full API: x-twitter-scraper.