Skip to content
Skill

Fb hook extractor

Breaks down why a high-performing Facebook Page post works and maps it to a template

Fb hook extractor is an open-source agent skill for marketing and seo. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
166
Last commit
License
MIT
Listing updated

Similar skills

About Fb hook extractor

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

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 facebook-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

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/facebook-skills.git --path .codex-marketplace/facebook-skills/skills/fb-hook-extractor

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Fb hook extractor 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.

More from sergebulaev/facebook-skills

  1. Drafts, audits and publishes Facebook Page posts with an approval step

    • Open source
    • 166 GitHub stars
    • Marketing and SEO
  2. Reads a Facebook Page's public stats and the commenters on its posts

    • Open source
    • 166 GitHub stars
    • Marketing and SEO
  3. Plans a week of Facebook Page posts with pillars, formats, goals and reply targets

    • Open source
    • 166 GitHub stars
    • Marketing and SEO
  4. Drafts on-brand replies to Facebook Page comments for you to post by hand

    • Open source
    • 166 GitHub stars
    • Marketing and SEO
  5. Scrubs AI-sounding wording from Facebook Page posts and audits drafts before publishing

    • Open source
    • 166 GitHub stars
    • Marketing and SEO
  6. Audits and rewrites a Facebook Page so visitors follow it or take a lead action

    • Open source
    • 166 GitHub stars
    • Marketing and SEO