Hook Mining logo

Hook Mining

Organization
Ootto-AI
hook-mining

Mine a CSV of REAL top-performing hooks and generate alternatives that keep what made them work: hold the storytelling psychology and structure fixed, hot-swap only the power words. Use when the user has hook performance data (a Sandcastles / social-analytics export, scraped competitor hooks, their own analytics) and says "mine hooks", "remix hooks", "hook variations", "make hooks from this CSV", or "give me hook options from what's working". NOT for inventing hooks from nothing — that's viral-hook-writer.

Overview

PublisherOotto-AI
Repositoryclaude-content-skills
Skill namehook-mining
Stars
264
Forks
53
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Ootto-AI on GitHub. Read the source before you install it.

Installation

Install the Hook Mining AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Ootto-AI/claude-content-skills/tree/main/skills/hook-mining
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Ootto-AI/claude-content-skills.git /tmp/claude-content-skills
mkdir -p .claude/skills
cp -r /tmp/claude-content-skills/skills/hook-mining .claude/skills/hook-mining
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hook Mining in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Hook Mining on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Hook Mining is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Hook mining

Most AI hook writing is slop for one of two reasons: it copy-pastes a hook that worked for someone else, or it "rewrites" it until the English is flat and the psychology is gone.

This does neither. It keeps the data for what worked — the structure, the psychological mechanism, the rhythm — and swaps only the power words. Proven skeleton stays, skin changes.

1. Get real hooks in

You cannot mine what you do not have. The input is a CSV of hooks that actually performed:

  • a Sandcastles (sandcastles.ai) export — it analyses the top videos in your niche and ranks the best hooks; export that tab to CSV
  • any social-analytics export with a hook/title/caption column and a views/likes/score column
  • competitor hooks pulled with the agent-reach skill, or breakdowns from reel-analyzer

Column names are never predictable, so don't hand-parse.

2. Mine it

bash
python skills/hook-mining/mine_hooks.py hooks.csv [--top 40]

Auto-detects the hook column and the performance column, ranks, buckets by pattern, and flags the power words already present. Writes hooks.mined.json. Run --selftest to verify the parsing.

Patterns it sorts into: result-proof · time-bound · contrarian · secret-gap · listicle · how-to · warning-fear · newsjack · comparison · question · curiosity-tease · plain-statement.

3. Remix — the part that matters

For each hook worth reusing, produce 3–5 alternatives under one rule:

Keep the psychology. Swap the power words.

Hold fixed: the pattern, the clause order, the specificity (a number stays a number), the rhythm and syllable shape, the tension and where it resolves, the point of view.

Swap only: the charged words — the verb, the intensifier, the noun carrying the emotion. power_word_frequency in the mined JSON tells you which ones are earning their keep in your niche. Pull replacements from there, not from a thesaurus.

proven:   "You're using Claude wrong"                 [contrarian · you're + wrong]
  ✅      "You're prompting Claude backwards"          swapped the verb + the charge word
  ✅      "You're building agents the slow way"        same skeleton, same tension
  ❌      "Many people use Claude incorrectly"         psychology gone, flat English → slop
  ❌      "You're using Claude wrong"                  verbatim copy → plagiarism, the platform buries it

Then hand the winners to viral-hook-writer to rank, or straight into reel-scripter.

Hard rules

  • Never ship a mined hook verbatim. It is someone else's line. Instagram's originality systems bury copies, and it's plagiarism. Model the technique, write your own words.
  • Never remix the structure. Change the clause order or drop the number and you have thrown away the only thing the data proved.
  • A number in the source stays a number in the remix — and it must be YOURS and real. Swapping in a stat you cannot defend is the fastest way to lose an audience.
  • Rank before you mine. Remixing a hook that did not perform just launders a bad idea.
  • Small buckets are signal. A pattern with two entries that both went viral beats one with forty mediocre ones. Weight by performance, not by count.

Failure modes

SymptomCauseFix
Variants read flat / corporaterewrote the sentence instead of swapping wordsrestore the original skeleton, change only the charged words
All variants sound identicalswapped one word in one slotvary the slot — verb, intensifier, or emotional noun
Variants lost the tensionresolved the curiosity gap inside the hookthe gap stays open; the payoff belongs after the hook
Nothing outperformsmining unranked or off-niche datare-export ranked, filter to the actual niche

Where it sits

agent-reach / reel-analyzer find what's working → hook-mining turns that data into your own hooks → viral-hook-writer ranks → reel-scripter writes the script → reel-builder builds it.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Hook Mining AI skill do?

Mine a CSV of REAL top-performing hooks and generate alternatives that keep what made them work: hold the storytelling psychology and structure fixed, hot-swap only the power words. Use when the user has hook performance data (a Sandcastles / social-analytics export, scraped competitor hooks, their own analytics) and says "mine hooks", "remix hooks", "hook variations", "make hooks from this CSV", or "give me hook options from what's working". NOT for inventing hooks from nothing — that's viral-hook-writer.

Why use Hook Mining on TypingMind?

Because you install it once and use it with any model. Hook Mining is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Hook Mining in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Ootto-AI/claude-content-skills/tree/main/skills/hook-mining. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Hook Mining?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Hook Mining?

As many as you like. As long as a model supports skills, you can use Hook Mining with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Hook Mining AI skill free?

Yes. It is published on GitHub by Ootto-AI under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇