Instagram Hook Extractor

Reverse-engineer the hook from a viral Instagram Reel or carousel, given a URL or a pasted caption.

How to use it

  1. Hit Copy the whole skill.
  2. Claude: ⋯ → Download .md, then Customize → Skills → Add → Upload skill.
    ChatGPT: make a Project and paste it into Instructions.
    Neither? Paste it at the top of a new chat — it works for that chat.
  3. Describe your job in plain words. The AI follows the skill from there.
Claude Code — installs the whole folder, not just SKILL.md
npx degit sergebulaev/instagram-skills/.codex-marketplace/instagram-skills/skills/ig-hook-extractor#main ~/.claude/skills/ig-hook-extractor

For one project only, change the path to .claude/skills/ig-hook-extractor.

Not working?
  • Check which app you pasted it into — the steps above name the right one.
  • Some skills need the paid tier of Claude or ChatGPT.
Step-by-step guide with screenshots · Ask in the forum

Paste into Claude, ChatGPT or Cursor.

Show the full text86 lines
ig-hook-extractor/SKILL.md86 lines4.0 KBpushed 13d agoRawView on GitHub

Instagram Hook Extractor

Paste a viral Reel or carousel URL (or the caption text). Get back: which hook formula it uses, the exact structure, why it worked, the primary goal it chased, and a blank template you can fill with your own voice.

When to use

  • User finds a viral Reel or carousel they want to study
  • User wants to replicate a specific creator's pattern
  • Before ig-caption-writer or ig-carousel-planner, to seed a draft with a proven shape

Input

An Instagram URL (/p/, /reel/, or a profile) or pasted caption + slide text. This bundle has no built-in Instagram reader, so for a URL the skill asks the user to paste the caption (and the on-image slide text for a carousel, or a quick description of the Reel's first 3 seconds).

Output

  • Formula identified (IG1-IG10 from ../../references/hook-formulas.md) with a confidence score
  • Surface: single image, carousel, or Reel, and why that surface fit the idea
  • Structural breakdown:
    • The hook (caption first 125 chars / carousel slide 1 / Reel first 3 seconds)
    • Body architecture (per-slide roles for a carousel; beat order for a Reel)
    • The close (what earns the save, send, or follow)
    • Reaction-triggering devices (numbers, named entities, the open loop)
  • Primary goal the original chased (saves / shares / comments / follows)
  • Why it worked psychologically and algorithmically
  • Blank template with {slot} markers matched to the original, ready for the user's topic
  • Cautions: anything in the original that would fail a 2026 audit (em dashes over the cap, an AI-vocab cluster, 30 hashtags, mixed media)

Steps

  1. Parse the URL. lib.url_parser.parse_instagram_url(url) returns username, shortcode, url_type.
  2. Get the content. Ask the user to paste the caption, and for a carousel the slide text, or for a Reel the first 3 seconds (on-screen text + opening line). (If they later wire an Apify Instagram actor, read it automatically.)
  3. Detect the surface. Single image, carousel, or Reel.
  4. Classify against the 10 formulas using features:
    • Caption: an odd-precision result (IG1)? a contrarian claim (IG2)? a relatable moment (IG3)? a first-person confession (IG4)?
    • Carousel: a numbered teaching list (IG5)? a before/after (IG6)? a myth/truth structure (IG7)? a named framework (IG8)?
    • Reel: a pattern interrupt in the first seconds (IG9)? a "how I" teardown (IG10)?
  5. Score confidence. If two formulas fit, return the top 2 with fit scores.
  6. Extract structure. Label each part by its role. For a carousel, map slide 1 (the loop), the front-loaded value, and the payoff slide.
  7. Name the primary goal the original optimized for.
  8. Generate a blank template with {slot} markers matched to the original shape and the user's topic.
  9. Audit the source. Flag any AI tells so the user does not copy them.

Example

See references/examples.md for worked teardowns.

Formulas reference

See ../../references/hook-formulas.md for the 10 canonical Instagram formulas with full skeletons and goal tags.

Files

  • SKILL.md - this file
  • references/classification-rules.md - feature extraction + scoring heuristics
  • references/examples.md - worked teardowns (caption, carousel, Reel)

Related skills

  • ig-caption-writer - use the extracted caption template to draft your own
  • ig-carousel-planner - use the extracted carousel template
  • ig-humanizer --mode audit - audit your draft before shipping
1---
2name: ig-hook-extractor
3description: "Reverse-engineer the hook from a viral Instagram Reel or carousel, given a URL or a pasted caption. Identifies which of the 10 canonical 2026 formulas it uses (number-first, contrarian, relatable, confession, listicle, before/after, myth-buster, framework, pattern-interrupt Reel, how-I Reel), explains why it worked, names the primary goal, and returns a blank template mapped to your topic. Use to learn from a post you admire. Not for writing your own (use ig-caption-writer or ig-carousel-planner)."
4---
5 
6# Instagram Hook Extractor
7 
8Paste a viral Reel or carousel URL (or the caption text). Get back: which hook
9formula it uses, the exact structure, why it worked, the primary goal it chased,
10and a blank template you can fill with your own voice.
11 
12## When to use
13 
14- User finds a viral Reel or carousel they want to study
15- User wants to replicate a specific creator's pattern
16- Before `ig-caption-writer` or `ig-carousel-planner`, to seed a draft with a
17 proven shape
18 
19## Input
20 
21An Instagram URL (`/p/`, `/reel/`, or a profile) or pasted caption + slide text.
22This bundle has no built-in Instagram reader, so for a URL the skill asks the
23user to paste the caption (and the on-image slide text for a carousel, or a quick
24description of the Reel's first 3 seconds).
25 
26## Output
27 
28- **Formula identified** (IG1-IG10 from `../../references/hook-formulas.md`) with a
29 confidence score
30- **Surface:** single image, carousel, or Reel, and why that surface fit the idea
31- **Structural breakdown:**
32 - The hook (caption first 125 chars / carousel slide 1 / Reel first 3 seconds)
33 - Body architecture (per-slide roles for a carousel; beat order for a Reel)
34 - The close (what earns the save, send, or follow)
35 - Reaction-triggering devices (numbers, named entities, the open loop)
36- **Primary goal** the original chased (saves / shares / comments / follows)
37- **Why it worked** psychologically and algorithmically
38- **Blank template** with `{slot}` markers matched to the original, ready for the
39 user's topic
40- **Cautions:** anything in the original that would fail a 2026 audit (em
41 dashes over the cap, an AI-vocab cluster, 30 hashtags, mixed media)
42 
43## Steps
44 
451. **Parse the URL.** `lib.url_parser.parse_instagram_url(url)` returns
46 `username`, `shortcode`, `url_type`.
472. **Get the content.** Ask the user to paste the caption, and for a carousel the
48 slide text, or for a Reel the first 3 seconds (on-screen text + opening line).
49 (If they later wire an Apify Instagram actor, read it automatically.)
503. **Detect the surface.** Single image, carousel, or Reel.
514. **Classify against the 10 formulas** using features:
52 - Caption: an odd-precision result (IG1)? a contrarian claim (IG2)? a
53 relatable moment (IG3)? a first-person confession (IG4)?
54 - Carousel: a numbered teaching list (IG5)? a before/after (IG6)? a
55 myth/truth structure (IG7)? a named framework (IG8)?
56 - Reel: a pattern interrupt in the first seconds (IG9)? a "how I" teardown
57 (IG10)?
585. **Score confidence.** If two formulas fit, return the top 2 with fit scores.
596. **Extract structure.** Label each part by its role. For a carousel, map slide
60 1 (the loop), the front-loaded value, and the payoff slide.
617. **Name the primary goal** the original optimized for.
628. **Generate a blank template** with `{slot}` markers matched to the original
63 shape and the user's topic.
649. **Audit the source.** Flag any AI tells so the user does not copy them.
65 
66## Example
67 
68See `references/examples.md` for worked teardowns.
69 
70## Formulas reference
71 
72See `../../references/hook-formulas.md` for the 10 canonical Instagram formulas
73with full skeletons and goal tags.
74 
75## Files
76 
77- `SKILL.md` - this file
78- `references/classification-rules.md` - feature extraction + scoring heuristics
79- `references/examples.md` - worked teardowns (caption, carousel, Reel)
80 
81## Related skills
82 
83- `ig-caption-writer` - use the extracted caption template to draft your own
84- `ig-carousel-planner` - use the extracted carousel template
85- `ig-humanizer --mode audit` - audit your draft before shipping
86 

Discussion

Alternatives

Also in Posting & scheduling
Linkedin comment drafterDraft a LinkedIn comment on someone else's post from its URL, or reshare (repost) it to your feed with optional commentary. Use when the user pastes a post URL and asks to comment, engage, be first commenter, or repost with their thoughts. Produces 1-3 variants in the user's voice, picks a reaction, and publishes via Publora on approval. Not for replying to existing comments (use linkedin-reply-handler).Marketing · MITLinkedin content plannerGenerate a 7-day LinkedIn content plan from a theme, audience, and pillars. Produces per-day post pillar, format, hook type, CTA, posting time, daily comment targets, and a weekly inbound-readiness check. Use when the user wants to plan a week or month of content, not draft a single post (use linkedin-post-writer).Marketing · MITLinkedin employee advocacyStand up and run a LinkedIn employee advocacy program for a marketing or sales team. Covers 14-day launch playbook, brand-guideline governance, per-post time budget, cadence benchmarks, and team ROI (reach, engagement, pipeline). Triggers on "employee advocacy", "get the team posting", "scale LinkedIn across team", "advocacy ROI". Not for planning one person's own calendar (use linkedin-content-planner).Marketing · MITInstagram Audience InsightsRead your Instagram niche and profile from real data via Apify, no login. Scan a hashtag for the posts traveling now (likes, comments, owner) to see the format and hook that works. Pull profile stats for any handle, yours or a competitor's: followers, posts, bio, category. Instagram hides who liked or commented on other accounts, so this is discovery plus profiles, not engagers. Triggers on "what works in my niche", "scan the hashtag", "competitor stats". Not for writing captions (use ig-caption-writer).Marketing · MIT