Skip to content
Skill

Threads hook extractor

Reverse-engineers the hook of a viral Threads post and maps it to a reusable template

Threads hook extractor is an open-source agent skill for marketing and seo. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
86
Last commit
License
MIT
Listing updated

Similar skills

About Threads hook extractor

This skill takes a Threads post or thread URL and works out which hook formula the author used, out of a set of ten named patterns for the platform. It describes the structure of the piece, including the opening line, the body beats and the closing move, and it notes the goal the original seems to have aimed for, such as replies, reposts, likes or quotes.

The workflow parses the URL to get the handle and post ID, then classifies the container as a single post or a multi-post thread. It scores the fit against the formulas, returns the top two when more than one matches, and flags AI-style tells in the source so they are not copied. The output ends with a blank template using slot markers that can be filled with the user's own topic.

The skill is written for analysis rather than drafting. It refers to bundled reference files for voice rules, operating rules and formula skeletons, and it expects the user to paste the post text themselves, since reading a specific post by URL is not supported on Threads.

When your agent uses it

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).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 3 files (11 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the threads-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add sergebulaev/threads-skills
/plugin install threads-skills@threads-skills

Or copy only this skill to ~/.claude/skills/threads-hook-extractor:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sergebulaev/threads-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/threads-hook-extractor &&
cp -R "$tmp/.codex-marketplace/threads-skills/skills/threads-hook-extractor" ~/.claude/skills/threads-hook-extractor &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/threads-hook-extractor inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/threads-hook-extractor to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sergebulaev/threads-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/threads-hook-extractor &&
cp -R "$tmp/.codex-marketplace/threads-skills/skills/threads-hook-extractor" ~/.agents/skills/threads-hook-extractor &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/threads-hook-extractor inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/threads-hook-extractor to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sergebulaev/threads-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/threads-hook-extractor &&
cp -R "$tmp/.codex-marketplace/threads-skills/skills/threads-hook-extractor" ~/.cursor/skills/threads-hook-extractor &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/threads-hook-extractor inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/sergebulaev/threads-skills.git --path .codex-marketplace/threads-skills/skills/threads-hook-extractor

Or copy the folder to ~/.gemini/skills/threads-hook-extractor yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/threads-hook-extractor:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sergebulaev/threads-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/threads-hook-extractor &&
cp -R "$tmp/.codex-marketplace/threads-skills/skills/threads-hook-extractor" ~/.copilot/skills/threads-hook-extractor &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/threads-hook-extractor inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/sergebulaev/threads-skills.git

Then copy threads-skills/.codex-marketplace/threads-skills/skills/threads-hook-extractor into your agent's skills folder as threads-hook-extractor. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Hook formula detection
Matches a post against a set of named Threads hook patterns and reports the closest fit with a confidence score.
Structural breakdown
Labels the hook line, body beats, close and reaction-triggering devices in the original.
Single post or thread analysis
Identifies whether the content is one self-contained post or a multi-post thread and maps each part's role.
Primary goal inference
Estimates whether the original was built to earn replies, reposts, likes or quotes.
Fill-in template output
Produces a template with slot markers matched to the original shape for use on the user's own topic.
AI tell audit
Flags patterns in the source, such as extra em dashes or stacked hashtags, that would not suit a fresh draft.

Good for

  • Explain why a viral Threads post worked
  • Turn a post I admire into a fill-in-the-blank template
  • Identify which hook style a creator relies on
  • Check a competitor's thread for its opening structure
  • Get a template to seed a new post on my own topic

Threads hook extractor FAQ

What does the skill need as input?

A Threads post or thread URL on threads.net or threads.com. For a thread, the first post's URL works best. The text of a specific post has to be pasted, because reading a single post by URL is not supported.

Does Threads hook extractor write a post for me?

No. It analyses an existing post and returns a blank template. Writing your own post is handled by the threads-post-writer skill.

Which AI clients does Threads hook extractor work with?

The content ties it to the Claude Code plugin marketplace, so the platform list is limited to the clients it supports as described there.

Does Threads hook extractor run any scripts?

The facts list no scripts. It references a URL parser and read-layer functions in the wider bundle for fetching neighbouring posts.

When should I use Threads hook extractor instead of the writer skill?

Use it to learn from a post you admire before drafting. The SKILL.md says it is not for writing your own posts.

How do I install Threads hook extractor in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/threads-hook-extractor to use it in all your projects, or to .claude/skills/threads-hook-extractor in one project. Or install the threads-skills plugin, which includes it: /plugin marketplace add sergebulaev/threads-skills, then /plugin install threads-skills@threads-skills.

Does Threads hook extractor run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Threads hook extractor?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Threads hook extractor?

The closest alternatives to Threads hook extractor are Fb hook extractor, Threads post writer, Threads repurposer, Threads marketing and Threads audience insights.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from sergebulaev/threads-skills

  1. Drafts, audits and publishes Threads posts and threads for Meta's Threads app

    • Open source
    • 86 GitHub stars
    • Marketing and SEO
  2. Scans Threads niches and profiles to show which posts and formats are getting engagement

    • Open source
    • 86 GitHub stars
    • Marketing and SEO
  3. Plans a week of Threads posts, replies and quote targets around content pillars

    • Open source
    • 86 GitHub stars
    • Marketing and SEO
  4. Strips AI-sounding patterns from Threads posts and audits drafts before you publish

    • Open source
    • 86 GitHub stars
    • Writing style
  5. Drafts Threads posts and multi-post threads from proven hook formulas and publishes them

    • Open source
    • 86 GitHub stars
    • Marketing and SEO
  6. Audits a Threads profile part by part and rewrites the weak ones

    • Open source
    • 86 GitHub stars
    • Marketing and SEO