Agent skill

Hook Generator

by charlie947 in charlie947/social-media-skills

Generate 6 clickbait-style LinkedIn hook variations for any topic.

MITAuto-check passedWriting & Content

Install Hook Generator

skills CLI
$ npx skills add charlie947/social-media-skills --skill hook-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install charlie947/social-media-skills hook-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/charlie947/social-media-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/hook-generator .claude/skills/hook-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hook-generator
GitHub stars
3.8k
Token cost
~1.1k tokens
SKILL.md length
527 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

Generate 6 clickbait-style LinkedIn hook variations for any topic.

  • Works in 4 steps: Get the topic → Write 6 hook variations → Output format → …
  • The user says write me hooks
  • SKILL.md covers Codex and Claude runtime, CRITICAL: Auto-start on load, Step 1. Get the topic and Step 2. Write 6 hook variations, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Hook Generator is an agent skill from charlie947/social-media-skills. Generate 6 clickbait-style LinkedIn hook variations for any topic. Two-line hooks built on the formula: a 40-char opening line, a 40-char bold contrast line. Uses supplied numbers and genuine first-person experience when available. Use this skill whenever the user says "write me hooks", "hook ideas", "generate hooks", "I need a hook for a post about...", or pastes a topic and asks for openers. Fast output, no preamble.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Writing & Content. It works with LinkedIn. The licence is MIT.

When your agent uses it

  • The user says write me hooks
  • I need a hook for a post about...
  • Pastes a topic and asks for openers

Example prompts

  • “write me hooks”
  • “hook ideas”
  • “generate hooks”
  • “/hook-generator”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Get the topic
  2. Write 6 hook variations
  3. Output format
  4. Offer the next move

What it can do on your machine

Read from SKILL.md and the folder at commit 8cefb5b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hook Generator loads about 1.1k tokens when it runs. Until then it costs about 109 tokens; SKILL.md has 527 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~109
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from charlie947/social-media-skills at commit 8cefb5b, republished under its MIT licence (© charlie947). 527 words, ~1,067 tokens.

Download SKILL.mdSave it as .claude/skills/hook-generator/SKILL.md (or your agent's skills folder).
name
hook-generator
description
Generate 6 clickbait-style LinkedIn hook variations for any topic. Two-line hooks built on the formula: a 40-char opening line, a 40-char bold contrast line. Uses supplied numbers and genuine first-person experience when available. Use this skill whenever the user says "write me hooks", "hook ideas", "generate hooks", "I need a hook for a post about...", or pastes a topic and asks for openers. Fast output, no preamble.

Hook Generator

Codex and Claude runtime

  • Use this skill in Codex or Claude with the tools actually available in the current task. AskUserQuestion examples describe the questions, not a required API: use an available question tool within its limits, or ask in chat. Reuse answers and source material already supplied.
  • Work in the user-selected project. Read its about-me.md, voice.md and relevant brand files before personalised work. Confirm the intended author if files conflict or contain starter defaults. Ask for missing facts or run voice-builder; never inherit the maintainer's identity, accounts or private files.
  • Resolve bundled references/ relative to this skill folder. For an explicitly requested profile refresh, read and update the canonical about-me.md, voice.md or newsletter-voice.md in place, preserving unrelated user facts and rules. Consumers must reread those canonical files. Use a new filename only for new deliverables that would collide with unrelated existing files. Installation alone never starts an interview or writes files. Do not write persistent learnings unless requested.
  • Use supplied evidence first. Verify external claims through available search/source tools when needed. If a source or integration is unavailable, name the missing capability and offer supplied text/export input. Never invent facts, first-person experience, metrics or a successful tool run.
  • Connect only services needed for the chosen route through the user's existing account. Never print credentials or overwrite connections. Drafting, saving and reviewing do not authorise publishing, sending messages or changing accounts.

CRITICAL: Auto-start on load

When this skill triggers, go straight to Step 1. Do not summarise. Do not explain what makes a good hook.

Step 1. Get the topic

If the user already pasted a topic in their message, use it and skip to Step 2.

Otherwise ask:

What topic do you want hooks for?

Wait for response.

Show full SKILL.md (236 more words)Show less

Step 2. Write 6 hook variations

Every hook has the same structure:

  • Line 1 (Opening): 40 characters maximum. No questions. States something unexpected, specific, or punchy.
  • Line 2 (Contrast): 40 characters maximum. Contradicts, reframes, or undercuts the opening.

Every variation must:

  • Use "How I" or "I" only for a real experience supplied by the author. Otherwise use an evidence-backed nonpersonal angle and label the unavailable personal angle.
  • Include a digit or metric where possible
  • Follow clickbait principles: tension, curiosity gap, stakes

Produce 6 variations covering different angles:

  1. Number-led: Lead with a specific number or metric
  2. Contrarian: State a belief then flip it
  3. Personal transformation: Before vs after with a digit
  4. Authority reference: Reference a name, tool, or brand
  5. Admission: Confess a mistake or loss
  6. Future shock: A prediction or "X is about to change"

Step 3. Output format

HOOKS for [topic]

1. [Number-led]
[Line 1]
[Line 2]

2. [Contrarian]
[Line 1]
[Line 2]

3. [Personal transformation]
[Line 1]
[Line 2]

4. [Authority reference]
[Line 1]
[Line 2]

5. [Admission]
[Line 1]
[Line 2]

6. [Future shock]
[Line 1]
[Line 2]

Step 4. Offer the next move

Ask:

Want me to build one of these into a full post? Call the post-formatter skill with the hook number.

Rules

  • 40 characters maximum per line. Count them.
  • No questions in the opening line.
  • No em dashes.
  • No filler words. Every word earns its place.
  • Prefer digits over spelled numbers (3, not three).
  • British English unless voice.md says otherwise.
  • Preserve uncertainty in the source. Never invent a result or certainty to make a hook stronger. Count the exact characters with an available text tool before delivery.

© charlie947, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/hook-generator of charlie947/social-media-skills.

Open the folder on GitHubat commit 8cefb5b

Compare with similar skills

Hook Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hook Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hook Generator this skillcharlie947/social-media-skills3.8k—~1.1kAutomated safety check: PassMIT
Socialcoreyhaines31/marketingskills54k4 repos~4.5kAutomated safety check: PassMIT
Social Contentfreekmurze/dotfiles1k23 repos~2.1kAutomated safety check: PassNone
Linkedin Marketingsergebulaev/linkedin-skills4.4k1 repos~3.2kAutomated safety check: NotesMIT
Linkedin Comment Draftersergebulaev/linkedin-skills4.4k1 repos~2.2kAutomated safety check: PassMIT
Linkedin Content Plannersergebulaev/linkedin-skills4.4k1 repos~2.1kAutomated safety check: PassMIT

Similar skills

  • Social

    coreyhaines31/marketingskills

    When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, or Facebook, or wants to do social listening and engagement triage.

    54k GitHub starsUsed in 4 repos~4.5k tokens
    Writing & ContentAuto-check passed
  • Social Content

    freekmurze/dotfiles

    When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, Facebook, or other platforms.

    1k GitHub starsUsed in 23 repos~2.1k tokens
    Writing & ContentAuto-check passed
  • Linkedin Marketing

    sergebulaev/linkedin-skills

    Plan, draft, audit, and publish LinkedIn posts and comments.

    4.4k GitHub starsUsed in 1 repo~3.2k tokens
    Writing & ContentAuto-check: notes
  • Linkedin Comment Drafter

    sergebulaev/linkedin-skills

    Draft a LinkedIn comment on someone else's post from its URL, or reshare (repost) it to your feed with optional commentary.

    4.4k GitHub starsUsed in 1 repo~2.2k tokens
    Writing & ContentAuto-check passed
  • Linkedin Content Planner

    sergebulaev/linkedin-skills

    Generate a 7-day LinkedIn content plan from a theme, audience, and pillars.

    4.4k GitHub starsUsed in 1 repo~2.1k tokens
    Writing & ContentAuto-check passed
  • Postiz

    gitroomhq/postiz-agent

    Postiz is a tool to schedule social media and chat posts to 28+ channels X, LinkedIn, LinkedIn Page, Reddit, Instagram, Facebook Page, Threads, YouTube, Google My Business, TikTok, Pinterest…

    508 GitHub starsUsed in 2 repos~7.9k tokens
    Writing & ContentAuto-check passed

More from charlie947/social-media-skills

All 15 skills in this repo
  • Newsletter Voice

    charlie947/social-media-skills

    Build newsletter writing instructions inside a Codex or Claude project.

    3.8k GitHub stars~2.5k tokensUpdated 25 days ago
    Auto-check passed
  • Voice Builder

    charlie947/social-media-skills

    Build a personalised voice profile inside a Codex or Claude project from a short interview plus 3 to 5 sample pieces of writing.

    3.8k GitHub stars~3.3k tokensUpdated 25 days ago
    Auto-check passed
  • Content Matrix

    charlie947/social-media-skills

    Generate 24 to 40 LinkedIn post ideas in a single table by pairing the user's content pillars with 8 proven content formats.

    3.8k GitHub stars~1.6k tokensUpdated 25 days ago
    Auto-check passed
  • Gemini Carousel

    charlie947/social-media-skills

    Generate a branded slide-by-slide LinkedIn carousel using Gemini.

    3.8k GitHub stars~1.7k tokensUpdated 25 days ago
    Auto-check passed
  • Niche Research

    charlie947/social-media-skills

    Surface the 20 most relevant stories in a niche from the last 7 days using available live research tools.

    3.8k GitHub stars~1.7k tokensUpdated 25 days ago
    Auto-check passed
  • Pinned Comment

    charlie947/social-media-skills

    Write deadpan LinkedIn pinned comments AND matching image generation prompts in the user’s voice.

    3.8k GitHub stars~2.3k tokensUpdated 25 days ago
    Auto-check passed

Works with

Questions about Hook Generator

What does Hook Generator do?

Generate 6 clickbait-style LinkedIn hook variations for any topic. Hook Generator is an agent skill from charlie947/social-media-skills. Generate 6 clickbait-style LinkedIn hook variations for any topic.

When should I use Hook Generator?

Hook Generator fits situations like: the user says write me hooks; I need a hook for a post about..; pastes a topic and asks for openers.

How do I install Hook Generator in Claude Code?

Run `npx skills add charlie947/social-media-skills --skill hook-generator -a claude-code`. Or copy the skill folder (skills/hook-generator in charlie947/social-media-skills) into .claude/skills/hook-generator in your project. Claude Code loads it when a task matches its description.

How do I install Hook Generator in Codex?

Run `npx skills add charlie947/social-media-skills --skill hook-generator -a codex`. Or copy the skill folder (skills/hook-generator in charlie947/social-media-skills) into .agents/skills/hook-generator in your project. Codex loads it when a task matches its description.

Can I use Hook Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add charlie947/social-media-skills --skill hook-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hook-generator, .gemini/skills/hook-generator, .github/skills/hook-generator and .opencode/skills/hook-generator in your project.

What does Hook Generator need to run?

SKILL.md names no scripts, command-line tools or credentials: Hook Generator is instructions for the agent only.

Does Hook Generator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Hook Generator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Hook Generator use?

Hook Generator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Hook Generator use?

About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Hook Generator?

Skills that share tags, products or a category with Hook Generator: Social (coreyhaines31/marketingskills, 54k stars), Social Content (freekmurze/dotfiles, 1k stars), Linkedin Marketing (sergebulaev/linkedin-skills, 4.4k stars) and Linkedin Comment Drafter (sergebulaev/linkedin-skills, 4.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hook Generator?

charlie947 (a GitHub user) maintains it in charlie947/social-media-skills, which has 3,833 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on September 15, 2026.

Source: charlie947/social-media-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.