hook-generator

hook-generator is a skill for Claude Code from charlie947/social-media-skills. It costs 104 tokens per session (632 once invoked), scanned A, original, MIT.

A writing guide for creating six short LinkedIn opening hooks. Each hook uses two lines to create curiosity, contrast, and a reason to keep reading.

In plain words
What is it for?
Use it to draft LinkedIn post openings based on a topic, including number-led, contrarian, personal, authority-based, admission, and future-focused versions.
Why use it?
It removes the effort of inventing different opening angles for a post. The required length, personal wording, numbers, and formats give each option a clear shape.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the social-media-skills plugin — 17 skills shipped together

Good fit Use it to draft LinkedIn post openings based on a topic, including number-led, contrarian, personal, authority-based, admission, and future-focused versions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/charlie947/social-media-skills/hook-generator
About the project

charlie947/social-media-skills is a collection of markdown instructions that gives AI agents specialized workflows for creating and managing social-media content. It supports a content system spanning LinkedIn, Instagram, Substack, X, and YouTube, with shared voice and context files guiding the individual skills.

charlie947/social-media-skills · 3,385 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add charlie947/social-media-skills --skill hook-generator
Clone the repo
git clone --depth 1 https://github.com/charlie947/social-media-skills

Made for: Claude Code.

Or install social-media-skills, the plugin that ships this one along with the rest of its 17 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hook-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/charlie947/social-media-skills/hook-generator/github.svg)](https://agentmods.dev/skills/charlie947/social-media-skills/hook-generator)
Your own site
<a href="https://agentmods.dev/skills/charlie947/social-media-skills/hook-generator"><img src="https://agentmods.dev/badge/skills/charlie947/social-media-skills/hook-generator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hook-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/charlie947/social-media-skills/hook-generator"><img src="https://agentmods.dev/badge/skills/charlie947/social-media-skills/hook-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 632 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 28 Apr 2026
  • Snyk pass 28 Apr 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00104 $0.00632
Opus 5 $0.00052 $0.00316
Sonnet 5 $0.00021 $0.00126
Haiku 4.5 $0.00010 $0.00063

Measured 13d ago against content hash efe43558494c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

hook-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/hook-generator/SKILL.md · 90 lines

What it actually says

Hook Generator

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.

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:

  • Include at least one "How I" or "I" statement across the two lines
  • 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 steal: 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 steal]
[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.
  • Never hedge. A weak hook is worse than no hook.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 90 lines · 104 tokens per session scan A efe43558494c

Subscribe to this mod's changes

hook-generator is a skill published in the GitHub repository charlie947/social-media-skills (3,385 stars, last pushed 13d ago), licensed MIT. It adds 104 tokens to every session and 632 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens