Tweet thread from blog

From Varnan-Tech/opendirectory · View interactive version

Tweet thread from blog is an AI agent skill from the GitHub repository Varnan-Tech/opendirectory. Converts a blog post URL or article into a Twitter/X thread with a strong hook, one insight per tweet, and a CTA. Optionally posts the full thread to X via Composio using a reply chain. Use when asked to turn a blog post into a tweet thread, repurpose an article for Twitter, create a thread from a b

How to use this skill

Skill file

Tweet Thread from Blog

Convert a blog post or article into a 7-10 tweet thread. One insight per tweet. Strong hook. CTA in the final tweet. Optionally post the thread directly to X via Composio.

Writing Style

Apply these rules to every tweet you write:

Banned words — do not use any of these:

incredible, amazing, leveraging, synergize, game-changing, game changer, let's dive in, buckle up, it's worth noting, delve, harness, unlock, groundbreaking, cutting-edge, remarkable, paradigm, revolutionize, disruptive, transformative, thrilled, excited to share, powerful, innovative, comprehensive, actionable, crucial, vital, pivotal, elucidate, utilize, can, may, just, that, very, really, literally, actually, certainly, probably, basically, could, maybe

If a draft tweet contains any banned word, rewrite it before presenting.

CRITICAL RULE

Do not invent specifics. Every claim, stat, and example in the thread must come from the blog post. Never fabricate data, quotes, or outcomes.


Step 1: Check Setup

Confirm input is present. The user must provide one of:

If no input is present, ask: "What blog post or article should I turn into a thread? Share a URL or paste the content."

COMPOSIO_API_KEY is only needed for direct posting to X. Output-only mode works without it.


Step 2: Fetch and Extract Content

If input is a URL:

Use WebFetch or Chrome DevTools MCP to fetch the page. Extract:

If input is pasted text:

Read it directly.

After fetching, identify:

QA checkpoint: State the core thesis and list the top insights you will use. Confirm every insight comes directly from the source. Do not proceed if you cannot verify a claim.


Step 3: Choose Thread Style

Four styles. Auto-detect from content signals. Respect explicit user override.

| Style | When to Use | Signals |

|-------|-------------|---------|

| Data/Insight | Evidence-based article with stats or research findings | Numbers, percentages, study results, data points |

| How-To | Tutorial, guide, or step-by-step article | Numbered lists, step headers, "how to" in title |

| Story/Journey | Personal experience, build log, lessons learned | First-person narrative, "I learned", "we built" |

| Hot Take | Opinion piece, contrarian argument | "Why X is wrong", "Stop doing X", counterintuitive claim |

Decision logic:

State the chosen style and reason. If ambiguous, pick one and note it.


Step 4: Read Format Rules

Read references/thread-format.md in full before writing any tweet. Internalize:

Read references/output-template.md and select the template matching the chosen style.


Step 5: Generate the Thread

Produce three things:

(A) The full thread (7-10 tweets)

Each tweet:

(B) The CTA tweet (final tweet)

(C) One alternative hook tweet


Step 6: Self-QA

Run every check before presenting. Fix violations first.

State total tweet count and confirm every tweet is under 280 characters before presenting.


Step 7: Post via Composio or Output

Check for COMPOSIO_API_KEY.

If set:

"Thread ready. Confirm to post to X via Composio, or say 'output only' to get the text."

On confirmation:

  1. Post tweet 1 using action TWITTER_CREATION_OF_A_POST with text set to tweet 1 content
  2. Capture the returned tweet ID
  3. Post tweet 2 with reply_in_reply_to_tweet_id = tweet 1 ID, capture its ID
  4. Continue for each tweet in sequence, each replying to the previous tweet's ID
  5. Wait 1 second between posts to avoid rate limiting
  6. After all tweets post: "Thread posted. Tweets 1-N are live."

If not set:

Present each tweet in a numbered list inside a code block. Add:

"To enable direct posting, add COMPOSIO_API_KEY to your .env file. See README.md for Composio setup."

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.