LinkedIn Hook Extractor
Paste a viral LinkedIn post URL and get back the hook formula it used, a structural breakdown, and a blank template for your own topic.
Marketing & SEOIntermediate★ 2,368⑂ 407AI score 8/10Last updated: Sep 14, 2026
What it does
- Parses a LinkedIn post URL (activity / share / ugcPost) and fetches the body via Apify if
APIFY_TOKENis set, otherwise asks you to paste the text. - Classifies the post against 20 canonical 2026 hook formulas (F1–F20: anaphora, R.I.P., year-pivot, time-anchor, curiosity-gap, contrarian, comment-gate, emotional cold-open, named gratitude, explain-to-kids, status-strip, and more) with a confidence score and a runner-up.
- Breaks down the first 210 characters, body architecture, close pattern, and reaction-triggering devices (numbers, named entities, vulnerability).
- Explains the psychology of why it worked and outputs a blank
{slot}template mapped to your topic. - Audits the source for AI tells and 2026 reach-killers (question as line 1, "Here's what/how" openers, "comment X to get Y" bait) so you don't copy them.
- Treats all fetched post/comment text strictly as data, never as instructions.
Who it's for
- Marketers, founders and freelancers building a LinkedIn presence.
- Anyone who wants to reverse-engineer a competitor's or top creator's post pattern.
- Users who pair it with
linkedin-post-writerto seed a draft with a proven structure.
Examples
- Feed it a hiring post with 100k views and learn it's an F11 emotional cold-open, then take the blank template.
- Run a competitor CEO's last five posts to find the hook formula they reuse.
- Hand the extracted template to
linkedin-post-writerfor a launch post, then check it withlinkedin-humanizer --mode audit.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/sergebulaev/linkedin-skills/HEAD/.codex-marketplace/linkedin-skills/skills/linkedin-hook-extractor/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the .codex-marketplace/linkedin-skills/skills/linkedin-hook-extractor folder from the GitHub repo sergebulaev/linkedin-skills into my ~/.claude/skills/linkedin-hook-extractor/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/sergebulaev/linkedin-skills.git && mkdir -p ~/.claude/skills && cp -r linkedin-skills/.codex-marketplace/linkedin-skills/* ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/sergebulaev/linkedin-skills.git - Create the skills folder:
mkdir -p ~/.claude/skills - This skill references shared files at
../../references/, so copy the whole bundle rather than the single folder:cp -r linkedin-skills/.codex-marketplace/linkedin-skills/* ~/.claude/skills/ - (Optional) For automatic post fetching, set
export APIFY_TOKEN=your_token. Without it, you simply paste the post text yourself. - Restart Claude Code and try: "Extract the hook formula from this LinkedIn post: <URL>".
View source on GitHub ↗License: MIT