linkedin-hook-extractor
Skill by sergebulaev
Reverse-engineers the hook formula of a viral LinkedIn post from its URL. It is for users who want to study a competitor's post, not write their own.
Install linkedin-hook-extractor
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sergebulaev/linkedin-skills /tmp/linkedin-skills && mkdir -p ~/.claude/skills && cp -r /tmp/linkedin-skills/skills/linkedin-hook-extractor ~/.claude/skills/linkedin-hook-extractorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install linkedin-hook-extractor in Claude Code
git clone --depth 1 https://github.com/sergebulaev/linkedin-skills /tmp/linkedin-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/linkedin-skills/skills/linkedin-hook-extractor ~/.gemini/antigravity-cli/skills/linkedin-hook-extractorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install linkedin-hook-extractor in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill takes a viral LinkedIn post URL and identifies which of 20 hook formulas the post uses, with a confidence score. It also breaks the post into hook lines, body sections and close, and explains why the post worked. The output includes a blank template with slot markers that the user can fill in with their own topic.
The skill reads the post text through the Apify client when an APIFY_TOKEN is set, or through the Apify MCP connector if it is available. If neither is present, the user is asked to paste the post text. It also flags AI-style phrasing and outdated tactics in the original post so the user does not copy them. The source says the skill is for learning from a competitor's post, and it points users to linkedin-post-writer to draft their own content.
Written from the project's SKILL.md and checked against it.
What it can do
- Formula identificationMatches a post against the 20 canonical 2026 hook formulas and returns the top two with fit scores.
- Structural breakdownLabels the hook lines, body sections and close pattern by their formula role.
- Why it workedExplains the psychological reasons the post likely drew reactions.
- Blank templateProduces a template with slot markers matched to the original post's structure.
- Source auditFlags em dashes, AI vocabulary and outdated tactics in the original post.
What you need
- Apify API token (APIFY_TOKEN), or the Apify MCP connector, or pasted post text
Try asking
- Extract the hook formula from this viral LinkedIn post: [URL]
- Which of the 20 hook formulas does this LinkedIn post use and why did it work?
- Give me a blank hook template based on this LinkedIn post's structure
Good to know
- Needs a post URL or pasted text; it cannot read posts without one of these inputs.
- Reading posts requires an Apify token or the Apify MCP connector.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/linkedin-hook-extractor/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
references/classification-rules.md3 KB -
references/examples.md959 B
Alternatives to linkedin-hook-extractor
All alternatives →Generates 3 to 10 second short-form video clips for product reveals, motion teasers and ambient loops. It defaults to Seedance 2 and also works with Kling 3 and 4, Veo 3 and Sora 2, saving one MP4 to the project folder.
Builds a strategic SEO plan for new or existing websites, covering competitors, architecture, content, technical setup and a 12-month roadmap. It is aimed at people who need an SEO strategy rather than a one-time audit.
Audits and rewrites a LinkedIn profile for people who want their headline, About section and other parts improved. It scores the headline, audits the whole profile from 0 to 100 and drafts an About section that works above the fold.
Builds a LinkedIn plan covering content pillars, positioning, posting cadence and whether to start a newsletter. Aimed at people pursuing a career change, consulting, thought leadership or similar goals on LinkedIn.
Guides an AI assistant to design or rewrite a single-offer landing page for SaaS, apps and services. It covers structure, layout, copywriting, conversion tactics, and SEO/AEO.
Analyzes your own exported LinkedIn post data to show which posts worked, test whether a pattern is real, and plan posting experiments. Built for people who want to understand their own LinkedIn numbers. It refuses to draw conclusions from fewer than 10 posts.
Compare with video-shortform, seo-plan or linkedin-profile
linkedin-hook-extractor: common questions
What does the linkedin-hook-extractor skill return?
It returns the identified hook formula with a confidence score, the structural breakdown, why the post worked, a blank template and cautions about the original post.
Should I use this skill to write my own LinkedIn post?
No. The source says it is for learning from a competitor's post, and recommends linkedin-post-writer for writing your own draft.
How does the skill get the text of a LinkedIn post?
If APIFY_TOKEN is set, it calls the Apify client. If the Apify MCP connector is available, it uses that. Otherwise the user is asked to paste the post text.
How do I install linkedin-hook-extractor?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is linkedin-hook-extractor free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is linkedin-hook-extractor safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to linkedin-hook-extractor?
Similar skills: video-shortform, seo-plan, linkedin-profile, linkedin-strategy.
