# Threads hook extractor

> Threads hook extractor is an open-source agent skill for marketing and seo. Reverse-engineers the hook of a viral Threads post and maps it to a reusable template. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/sergebulaev/threads-skills/tree/main/.codex-marketplace/threads-skills/skills/threads-hook-extractor
- **Repository:** https://github.com/sergebulaev/threads-skills
- **GitHub stars:** 86
- **License:** MIT
- **Skill name:** threads-hook-extractor
- **Collection:** https://github.com/sergebulaev/threads-skills
- **Categories:** [marketing and SEO](https://ai-powered.com/categories/marketing-and-seo)
- **Listing updated:** 2026-12-04

## About

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

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/sergebulaev/threads-skills/tree/HEAD/.codex-marketplace/threads-skills/skills/threads-hook-extractor)
- [License: MIT](https://github.com/sergebulaev/threads-skills/tree/HEAD/.codex-marketplace/threads-skills/skills/threads-hook-extractor)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

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

## Alternatives

- [Fb hook extractor](https://ai-powered.com/skills/fb-hook-extractor): Fb hook extractor is an open-source agent skill for marketing and seo.
- [Threads post writer](https://ai-powered.com/skills/threads-post-writer): Threads post writer is an open-source agent skill for marketing and seo.
- [Threads repurposer](https://ai-powered.com/skills/threads-repurposer): Threads repurposer is an open-source agent skill for marketing and seo.
- [Threads marketing](https://ai-powered.com/skills/threads-marketing): Threads marketing is an open-source agent skill for marketing and seo.
- [Threads audience insights](https://ai-powered.com/skills/threads-audience-insights): Threads audience insights is an open-source agent skill for marketing and seo.
- [Threads profile optimizer](https://ai-powered.com/skills/threads-profile-optimizer): Threads profile optimizer is an open-source agent skill for marketing and seo.
- [Threads reply drafter](https://ai-powered.com/skills/threads-reply-drafter): Threads reply drafter is an open-source agent skill for marketing and seo.
- [Social post writer](https://ai-powered.com/skills/social-post-writer): Social post writer is an open-source agent skill for marketing and seo.

---
Source: https://ai-powered.com/skills/threads-hook-extractor
