# Fb hook extractor

> Fb hook extractor is an open-source agent skill for marketing and seo. Breaks down why a high-performing Facebook Page post works and maps it to a template. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/sergebulaev/facebook-skills/tree/main/.codex-marketplace/facebook-skills/skills/fb-hook-extractor
- **Repository:** https://github.com/sergebulaev/facebook-skills
- **GitHub stars:** 166
- **License:** MIT
- **Skill name:** fb-hook-extractor
- **Collection:** https://github.com/sergebulaev/facebook-skills
- **Categories:** [marketing and SEO](https://ai-powered.com/categories/marketing-and-seo)
- **Listing updated:** 2026-12-04

## About

This skill takes a Facebook Page post, either by URL or pasted text, and works out which hook formula it follows. It classifies the post against ten named Facebook post patterns, separating short posts from longer story posts, and checks which features pushed people to share or comment. The output covers the structure of the hook, the body and the closing line, plus any phrasing that would be flagged by a stricter content audit such as overused AI wording or excessive hashtags.

The workflow starts by parsing the link to find the page and post identifiers. Share-style links hide those identifiers, so the user is asked to paste the text. The bundle does not read Facebook pages on its own, so the post text always comes from the user. After classification the skill returns the top matching formulas with confidence scores, a note on the goal the original seems to optimise for, and a blank template with slots matched to the user's own topic.

It expects a Facebook Page post link or its text and reads a set of bundled reference files for voice rules and the formula catalogue. It is meant for studying posts before writing your own, and it hands off drafting to a separate post-writing skill.

## When your agent uses it

> Reverse-engineer the hook from a high-share Facebook Page post, from its URL or pasted text. Identifies which of the 10 canonical 2026 Facebook formulas it uses (one-line opinion, tiny number, ask-the-page question, this-or-that, behind-the-scenes, story post, announcement, spotlight), explains why it earned shares or comments, and returns a blank template mapped to your topic. Use to learn from a Page post you admire. Not for writing your own (use fb-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/facebook-skills/tree/HEAD/.codex-marketplace/facebook-skills/skills/fb-hook-extractor)
- [License: MIT](https://github.com/sergebulaev/facebook-skills/tree/HEAD/.codex-marketplace/facebook-skills/skills/fb-hook-extractor)

## Features

- **Hook formula identification:** Matches the post to one of ten named Facebook formulas and reports the top candidates with fit scores.
- **Post structure breakdown:** Labels the hook line, body beats and closing line by the role each plays in the post.
- **Engagement device analysis:** Points out the numbers, named entities, questions and turns that invite shares or comments.
- **Engagement goal guess:** Suggests whether the original post was aimed at shares, comments or reactions.
- **Blank template generation:** Produces a fill-in template with slot markers based on the original shape and the user's topic.
- **Source post audit:** Flags AI-sounding phrases, excess hashtags and engagement bait so they are not copied.

## Good for

- Explain why a competitor's Facebook post got lots of shares
- Turn a popular Page post into a reusable template for my own topic
- Identify which hook style a high-performing post uses
- Check an admired post for phrasing that would fail a quality audit

## Install

### Claude Code

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

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

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

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

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

### Codex

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

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

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

### Cursor

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

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

For one project only, put the folder in `.cursor/skills/fb-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/facebook-skills.git --path .codex-marketplace/facebook-skills/skills/fb-hook-extractor
```

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

### VS Code

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

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

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/sergebulaev/facebook-skills.git
```

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

## FAQ

### What input does the skill need?

A Facebook Page post URL or the post text. Share-style links hide the identifiers, so the user must paste the text in that case.

### Does Fb hook extractor read Facebook pages automatically?

No. The bundle has no built-in Page reader, so the user supplies the post text. It only mentions an optional Apify actor that could be wired in later.

### Does Fb hook extractor write a post for me?

No. It analyses a post and produces a blank template. Drafting your own post is left to the separate fb-post-writer skill.

### Which formulas does Fb hook extractor recognise?

Ten canonical 2026 formulas: one-line opinion, tiny number, ask-the-page question, this-or-that, behind-the-scenes, story post, announcement and spotlight.

### How do I install Fb hook extractor in Claude Code?

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

### Does Fb 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 Fb hook extractor?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Fb hook extractor?

The closest alternatives to Fb hook extractor are Fb post writer, Threads hook extractor, Fb page optimizer, Fb repurposer and Facebook marketing.

## Where this comes from

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

## Alternatives

- [Fb post writer](https://ai-powered.com/skills/fb-post-writer): Fb post writer is an open-source agent skill for marketing and seo.
- [Threads hook extractor](https://ai-powered.com/skills/threads-hook-extractor): Threads hook extractor is an open-source agent skill for marketing and seo.
- [Fb page optimizer](https://ai-powered.com/skills/fb-page-optimizer): Fb page optimizer is an open-source agent skill for marketing and seo.
- [Fb repurposer](https://ai-powered.com/skills/fb-repurposer): Fb repurposer is an open-source agent skill for marketing and seo.
- [Facebook marketing](https://ai-powered.com/skills/facebook-marketing): Facebook marketing is an open-source agent skill for marketing and seo.
- [Fb humanizer](https://ai-powered.com/skills/fb-humanizer): Fb humanizer is an open-source agent skill for marketing and seo.
- [Social content](https://ai-powered.com/skills/social-content-seite-sh): Social content is an open-source agent skill for marketing and seo.
- [Fb engagement drafter](https://ai-powered.com/skills/fb-engagement-drafter): Fb engagement drafter is an open-source agent skill for marketing and seo.

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