Hook Optimizer logo

Hook Optimizer

Community
cellinlab
hook-optimizer

Hook and opening optimization for Chinese short-form content. Use when Codex needs to diagnose why the first 3-5 seconds or first 2-3 sentences are weak, determine whether the real problem is the opening or the material underneath it, and generate multiple opening directions that match the actual content instead of empty clickbait.

Overview

Publishercellinlab
Repositorycell-skills
Skill namehook-optimizer
Stars
29
Forks
3
Bundled files
4
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.

  • 4 bundled files

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

  • Open source

    Published by cellinlab on GitHub. Read the source before you install it.

Installation

Install the Hook Optimizer 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/cellinlab/cell-skills/tree/main/skills/hook-optimizer
  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/cellinlab/cell-skills.git /tmp/cell-skills
mkdir -p .claude/skills
cp -r /tmp/cell-skills/skills/hook-optimizer .claude/skills/hook-optimizer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hook Optimizer 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 Optimizer 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 Optimizer 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 Optimizer

Overview

Use this skill when the user already has a topic, body, or draft, but the opening is not doing enough work.

The opening should help the audience answer three questions quickly:

  • what is this about
  • why should I continue
  • why should I trust or care about this voice

This skill diagnoses first and generates later.

Quick Start

  1. Check whether the content underneath the opening is strong enough.
  2. Extract the best available materials before rewriting the opening.
  3. Diagnose the current opening if one exists.
  4. Generate several opening directions, not one magic line.
  5. Pick the strongest direction based on fit, not on loudness.

If the content itself is too thin, say so before generating hooks.

Default Contract

Assume the following unless the user says otherwise:

  • write in Chinese
  • optimize the opening, not the whole piece
  • diagnose before generating
  • prefer openings that the body can actually cash
  • for spoken scripts, keep mouth-feel and breath rhythm in mind

Workflow

Phase 1: Read the Input State

Determine whether the user provided:

  • an existing opening and a full body
  • only the body
  • a topic plus a few key materials

If the user only gave a title-like topic with no body or material, say the input is too thin for serious opening work.

Phase 2: Check Whether the Content Can Carry a Hook

Look for usable fuel:

  • a result or concrete outcome
  • a contradiction or reversal
  • a strong scene or vivid moment
  • a number, comparison, or unusual detail
  • a direct judgment worth arguing with

When the content has none of the above, say the hook will be limited because the body is under-fueled.

Read references/hook-principles.md when deciding whether the problem is the opening or the content itself.

Phase 3: Diagnose the Current Opening

If the user already has one, check:

  • independence: can it work even if the title is unseen
  • grip: does it give the audience a reason to stay
  • curiosity or tension: does it hold something back
  • credibility: why believe or care about this speaker
  • flow: is it easy to say or read
  • payoff fit: can the body deliver what the opening promises

Phase 4: Choose the Right Hook Type

Select from the smallest set that truly fits:

  • result-led
  • contradiction-led
  • scene-led
  • question-led
  • judgment-led
  • suspense-led

Read references/hook-types.md when comparing directions.

Phase 5: Generate a Hook Pack

Produce 3-4 strategic directions.

For each direction:

  • explain why it fits this content
  • generate 2-4 opening options
  • keep them distinct rather than slightly reworded copies

If one direction clearly dominates, say so and explain why.

Output Format

Default to assets/hook-pack-template.md.

At minimum, include:

  • content viability note
  • current opening diagnosis
  • extracted materials
  • multiple hook directions
  • top recommendations

Hard Rules

Do not:

  • pretend a weak body can be rescued by a flashy opening
  • depend on the title to complete the meaning
  • reveal the full answer too early when tension is needed
  • generate hooks the body cannot pay off
  • return one "best line" without showing alternatives

Always:

  • diagnose before generating
  • extract the best available materials first
  • keep the opening aligned with the actual content
  • mention when the problem is upstream from the opening
  • preserve readability and speakability

Resource Map

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 Optimizer AI skill do?

Hook and opening optimization for Chinese short-form content. Use when Codex needs to diagnose why the first 3-5 seconds or first 2-3 sentences are weak, determine whether the real problem is the opening or the material underneath it, and generate multiple opening directions that match the actual content instead of empty clickbait.

Why use Hook Optimizer on TypingMind?

Because you install it once and use it with any model. Hook Optimizer 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 Optimizer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/cellinlab/cell-skills/tree/main/skills/hook-optimizer. 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 Optimizer?

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 Optimizer?

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

Is the Hook Optimizer AI skill free?

Yes. It is published on GitHub by cellinlab 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 👇