Home / Market / publisher x

publisher x

Generate copy-pastable X/Twitter threads from blog posts, articles, PDFs, or URLs with 3 format options

claude-command★ 347030 dlgithubMITInstall in CosmosUpstream Source

Documentation & Preview

--- allowed-tools: Read, Write, Bash, Glob, WebFetch argument-hint: <input> [lang] description: Generate copy-pastable X/Twitter threads from blog posts, articles, PDFs, or URLs with 3 format options

---

X/Twitter Thread Generator

Generate a copy-pastable X thread from any content source - blog posts, articles, PDFs, URLs, or plain text.

Usage: $ARGUMENTS

Process:

  1. Parse Input Arguments
  1. Universal Input Detection

If input looks like a file path (contains / or file extension):

If input looks like a URL (starts with http:// or https://):

If input is a slug (no / and no protocol):

  1. Determine Language (default: English):
  1. Generate THREE versions in the target language:

Version 1: Thread (5-8 posts)

Version 2: Single Long (Premium)

Version 3: Single Short (~280 chars)

  1. Display all versions to the user in terminal:
  1. Create tri-format HTML preview file using Write tool:

---

X Thread Guidelines

Thread Structure (5-8 tweets):

  1. Hook Tweet (Tweet 1/X)
  1. Problem/Context Tweets (Tweets 2-3/X)
  1. Insight Tweets (Tweets 4-6/X)
  1. CTA Tweet (Final tweet)

Thread Numbering:

Character Limits: