write-threads

Installation
SKILL.md

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.

Weekly Installs
4
GitHub Stars
59
First Seen
Today