x-hook-extractor

Solid

Reverse-engineer the hook from a viral X (Twitter) tweet or thread URL. Identifies which of the 10 canonical 2026 X formulas it uses (one-liner contrarian, data-point, build-in-public, quote-tweet, mini-list, relatable cold-open, listicle-thread, story thread, curiosity-gap, how-I teardown), explains why it worked, and returns a blank template mapped to your topic with its primary goal. Use to learn from a tweet you admire. Not for writing your own (use x-post-writer or x-thread-builder).

Data & Documents 8 stars 0 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
32
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# X Hook Extractor Paste a viral tweet or thread URL. Get back: which hook formula it uses, the exact structure, why it worked, and a blank template you can fill with your own voice. ## When to use - User finds a viral tweet or thread they want to study - User wants to replicate a specific creator's pattern - Before `x-post-writer` or `x-thread-builder`, to seed a draft with a proven shape ## Input An X tweet or thread URL (x.com or twitter.com, `/status/<id>`). For a thread, the URL of the first tweet is best. ## Output - **Formula identified** (X1-X10 from `../../references/hook-formulas.md`) with a confidence score - **Container:** single tweet vs thread, and why that container fit the idea - **Structural breakdown:** - The hook line (and for a thread, how tweet 1 opens the loop) - Body architecture (per-tweet roles for a thread) - The close (what earns the repost or bookmark) - Reaction-triggering devices (numbers, named entities, the open loop) - **Primary goal** the original chased (replies / reposts / likes / bookmarks) - **Why it worked** psychologically and algorithmically - **Blank template** with `{slot}` markers matched to the original, ready for the user's topic - **Cautions:** anything in the original that would fail a 2026 audit (em dashes, AI vocab, 3+ hashtags, link in tweet 1) ## Steps 1. **Parse the URL.** `lib.url_parser.parse_x_url(url)` returns `handle`, `tweet_id`, `url_type`. 2. **Get the text.** This bundle has no built-in tw...

Details

Author
sergebulaev
Repository
sergebulaev/x-skills
Created
3 weeks ago
Last Updated
4 days ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Listed

threads-hook-extractor

Reverse-engineer the hook from a viral Threads post or thread URL. Identifies which of the 10 canonical 2026 Threads formulas it uses (warm contrarian, data-point, build-in-public, quote-post, mini-list, relatable, listicle, story, curiosity-gap, how-I teardown), explains why it worked, and returns a blank template mapped to your topic with its primary goal (replies, reposts, likes, quotes). Use to learn from a post you admire. Not for writing your own (use threads-post-writer).

4 Updated 4 days ago
sergebulaev
AI & Automation Solid

x-post-writer

Draft a single tweet or short auto-thread for X (Twitter) using a 2026 X hook formula (one-liner contrarian, data-point, build-in-public, mini-list, relatable cold-open), picked by goal (replies, reposts, likes, bookmarks). Respects the 280-char limit (25,000 on Premium), runs the humanizer pass, and publishes via Publora on approval. Use to write a tweet from notes. Not for long threads (use x-thread-builder) or auditing a draft (use x-humanizer --mode audit).

8 Updated 4 days ago
sergebulaev
Data & Documents Solid

ig-hook-extractor

Reverse-engineer the hook from a viral Instagram Reel or carousel, given a URL or a pasted caption. Identifies which of the 10 canonical 2026 formulas it uses (number-first, contrarian, relatable, confession, listicle, before/after, myth-buster, framework, pattern-interrupt Reel, how-I Reel), explains why it worked, names the primary goal, and returns a blank template mapped to your topic. Use to learn from a post you admire. Not for writing your own (use ig-caption-writer or ig-carousel-planner).

6 Updated 4 days ago
sergebulaev