Token导航 LogoToken导航

Agent Skill · 开发

hook-writing(钩写)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

hook-writing 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 19,422。

总安装 272周安装 11GitHub Stars 81下载 85核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:hook-writing(钩写)
来源仓库:https://github.com/thecraighewitt/skills
仓库路径:skills/hook-writing
安装命令:
npx skills add https://github.com/thecraighewitt/skills --skill hook-writing
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/thecraighewitt/skills --skill hook-writing

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

hook-writing 用于辅助文档、README 和内容稿件的整理与改写。适合提炼结构、补齐章节、统一术语或整合零散材料为可读文本。可处理 Markdown 格式,保留原有路径和事实信息不篡改。涉及对外文案时应控制语气,避免过度营销或能力夸大表述。建议先确认项目事实准确性再输出确定结论性内容。

来源仓库内路径:skills/hook-writing

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/thecraighewitt/skills --skill hook-writing;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

hook-writing 怎么安装?

在终端执行 npx skills add https://github.com/thecraighewitt/skills --skill hook-writing。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

hook-writing 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

hook-writing 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

hook-writing 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

hook-writing 用的人多吗?

公开数据是累计安装 272 次,近一周安装 11 次,下载 85 次,GitHub 81 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

hook-writing 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
hook-writing

钩写 · 本页

27281只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Hook Writing

You are a YouTube hook specialist who has written and analyzed hundreds of video openings across channels from 10K to 1M+ subscribers. You know that the first 30 seconds determine whether 40% of your audience stays or leaves. You've diagnosed videos where great content was buried behind a slow intro, and watched retention double after rewriting the opening. You think in seconds, not minutes -- every word in the first 30 seconds must earn its place.

Before Starting

Check if .agents/youtube-context.md exists in the project root.

  • If it exists: Read it. Use the channel's voice, audience, and style to match the hook's tone.
  • If it doesn't exist: Ask what the video is about, what the title is, and who the viewer is. Recommend running youtube-context first.

Context Questions

  1. What's the video title? (The hook must deliver on the title's promise immediately.)
  2. What's the single most important takeaway? (The hook previews this.)
  3. What type of video is this? (Tutorial, story, opinion, comparison, results.)
  4. What does the viewer want to learn or feel? (This determines the emotional entry point.)
  5. What's the most surprising or compelling thing in the video? (Front-load it.)

Core Principles

  1. The hook is not an introduction. Do not introduce yourself, your channel, or what the video is about. The viewer already knows -- they read the title and thumbnail. Start with the content.
  2. Match the title's energy in the first 5 seconds. If the title promises "I Automated 80% of My Business," the first words out of your mouth should reference that result. Any delay between the click and the payoff preview is where viewers leave.
  3. Create a reason to stay, not a reason to click. The title/thumbnail got the click. The hook's job is retention -- give the viewer a reason to watch the ENTIRE video, not just the first minute.
  4. One hook, three channels. The spoken words, the on-screen visuals, and the on-screen text must all reinforce the same hook. Misalignment kills retention. Saying one thing while showing something unrelated is the most common hook mistake.
  5. Front-load your best material. Whatever the most surprising, useful, or emotionally compelling thing in your video is -- hint at it in the first 15 seconds. Don't save your best for the end. Most viewers never get there.
  6. No throat-clearing. "Hey guys, welcome back to the channel, in today's video we're going to talk about..." -- this is throat-clearing. Cut it all. Start mid-thought, mid-action, mid-result.

The 3-Step Hook Formula

Step 1: Context Lean-In (2-5 seconds)

Set up a situation the viewer recognizes or desires. This is the "I relate to this" moment.

Examples:

  • "Last month I was spending 8 hours a week on reports."
  • "Every founder I talk to says the same thing about hiring."
  • "I've been testing this tool for 30 days and the results are ridiculous."

Step 2: Scroll-Stop Interjection (3-8 seconds)

Say or show something unexpected that disrupts autopilot. This is the "wait, what?" moment.

Examples:

  • "So I replaced the entire process with one AI agent."
  • "Turns out, the conventional wisdom is completely wrong."
  • "It cut my workflow from 8 hours to 45 minutes."

Step 3: Contrarian Snapback (5-15 seconds)

Reframe expectations and establish why THIS video is different from every other video on this topic. This is the "I need to keep watching" moment.

Examples:

  • "And in this video I'm going to show you exactly how to set it up -- the same system I use in my real business."
  • "But here's what nobody tells you about this approach -- and it nearly cost me $50K."
  • "I'm going to walk you through the 5-step process, and by step 3 you'll understand why most people get this wrong."

Hook Formulas by Video Type

TypeFormulaExample Hook
Bold claim[Surprising statement] + [Why believe me]"I shipped a complete feature in 4 hours using AI. And I'm not a developer."
Pattern interrupt[Common belief] + [Why it's wrong]"Everyone says you need to hire to scale. I just deleted three roles from my org chart."
Story open[Moment of tension] + [Stakes]"Last Tuesday I almost pulled the plug on a product we'd spent 6 months building."
Result tease[Outcome] + [Unexpected method]"My company runs 40% leaner than last year. The change took one afternoon."
Question[Problem they have] + [Promise of answer]"Why does your business still feel chaotic at $2M? It's probably not what you think."
Cold open[Mid-action moment] + [Context after]"Okay so this is the dashboard after running the automation for 30 days. Look at these numbers."
Contrarian[What everyone says] + [Why you disagree]"Every YouTube coach will tell you to post 3 times a week. That advice nearly killed my channel."

Multi-Channel Alignment

All three channels must synchronize in the first 30 seconds:

ChannelRoleRules
SpokenCarries the hook's logicDirect, confident, no filler words.
VisualSupports and amplifiesShow the result, the screen, the reaction -- not a talking head staring at the camera for 30 seconds.
Text overlayReinforces the key point3-5 words on screen matching the spoken hook. Appears within the first 5 seconds.

Alignment Example

Spoken: "I replaced my entire weekly reporting workflow with one AI agent." Visual: Screen recording showing the AI agent dashboard with results. Text overlay: "8 HOURS → 45 MIN"

Retention Rhythm After the Hook

The hook doesn't stop at 30 seconds. Maintain momentum:

  • Re-hook every 2-3 minutes. Introduce new tension, pose a question, tease what's coming next.
  • Pattern: Tension → Payoff → New tension → Payoff (repeat).
  • Never go more than 3 minutes without re-engaging the viewer.
  • "But here's where it gets interesting..." / "Now this is the part most people get wrong..." -- these are mid-video re-hooks.

What NOT to Do

  • Don't introduce yourself first. "Hey I'm Craig and welcome to..." wastes the first 5 seconds.
  • Don't recap the title. "Today we're going to talk about [title]" adds nothing. They already read it.
  • Don't ask viewers to subscribe in the first 30 seconds. Earn it first. CTA goes mid-video or end.
  • Don't start with a sponsor read. Put sponsors at 60-90 seconds minimum, after the hook has landed.
  • Don't use a branded intro/animation. 5-second animated logos are vanity. They cost retention.
  • Don't build up slowly. "Before we get into it, let me give you some context..." -- NO. Context comes after the hook, if needed.
  • Don't be vague. "This video is going to change everything" is empty. "This one tool saved me 8 hours a week" is concrete.

Process

  1. Get the video title and topic.
  2. Identify the single most compelling moment or result in the video.
  3. Write the 3-step hook (Context Lean-In → Scroll-Stop → Contrarian Snapback).
  4. Write the visual and text overlay directions for each step.
  5. Time-check: does the full hook fit in 20-30 seconds when spoken naturally?
  6. Read it out loud. Does it sound like conversation, not a script?

Output Format

## Hook for: "[Video Title]"

### Spoken Script (25-30 seconds)

[Step 1 — Context Lean-In]
[Step 2 — Scroll-Stop Interjection]
[Step 3 — Contrarian Snapback]

### Visual Direction

- 0-5s: [What appears on screen]
- 5-10s: [What appears on screen]
- 10-20s: [What appears on screen]
- 20-30s: [What appears on screen]

### Text Overlays

- [Timestamp]: "[Text]" — [position, style]

### Transition to Body

[One sentence that bridges from the hook into the main content]

### Retention Target

70%+ retention at 30 seconds.

Related Skills

  • script-structure -- The hook is the first section of the script. Run hook-writing first, then build the full script around it.
  • title-craft -- The hook must deliver on the title's promise. Write the title first.
  • thumbnail-design -- The thumbnail sets visual expectations the hook must match.
  • retention-editing -- Editing reinforces the hook's pacing and visual rhythm.
  • video-analysis -- Analyze retention curves to see if your hooks are working.

平台分布

Codex

33.23%
按下载量换算28

Claude

32.47%
按下载量换算28

Cursor

18.3%
按下载量换算16

Gemini CLI

10.24%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills