x-hook-extractor SKILL.md skillA
x-hook-extractor from sergebulaev/x-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add sergebulaev/x-skills/x-hook-extractor@git:20261015.b490dc9Pins git:20261015.b490dc9 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- sergebulaev/x-skills
- Path
.codex-marketplace/x-skills/skills/x-hook-extractor/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261015.b490dc9, committed Oct 15, 2026
- First version recorded
- Jul 2, 2026
- Size
- 4,713 bytes
- Repository stars
- 169
- License
- MIT
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).
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 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
…Read the whole file at its exact version.
How to install
mdr add sergebulaev/x-skills/x-hook-extractor@sha256:21a23a12ec675b94The line at the top of this page pins the label git:20261015.b490dc9, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_mlxqb4w4hi3gibti)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Jul 2, 2026 and Oct 15, 2026, about one every 21 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261015.b490dc9 latest | 2026-10-15 | b490dc9 | 4,713 B | A | view · diff |
| git:20261015.f0cae35 | 2026-10-15 | f0cae35 | 4,393 B | A | view · diff |
| git:20260909.e698ea9 | 2026-09-09 | e698ea9 | 3,855 B | A | view · diff |
| git:20260905.36277a3 | 2026-09-05 | 36277a3 | 3,853 B | A | view · diff |
| git:20260715.e7a9a48 | 2026-07-15 | e7a9a48 | 3,819 B | A | view · diff |
| git:20260702.e599968 | 2026-07-02 | e599968 | 3,819 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4713 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
sergebulaev/x-skills · 169 stars · license MIT · pushed 2026-11-04 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_mlxqb4w4hi3gibti GET https://markdownregistry.com/api/v1/resolve?ref=sergebulaev/x-skills/x-hook-extractor GET https://markdownregistry.com/api/v1/blob/21a23a12ec675b945e17dd92e595b7dda8d61e15e0abc2971f35032e67357ff1
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from sergebulaev/x-skills
Every file in sergebulaev/x-skills