Agent skill

Sdt Hook

by StopDisTrain in StopDisTrain/sdt-skills

在短视频正文完成后,检查并生成前五秒开头,让开场更抓人、可信,并与正文承诺一致。用户要求优化视频开头、降低开头流失、写口播 Hook 或增强第一句话时使用。

MITAuto-check passed

Install Sdt Hook

skills CLI
$ npx skills add StopDisTrain/sdt-skills --skill sdt-hook -a claude-code

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

GitHub CLI
$ gh skill install StopDisTrain/sdt-skills sdt-hook --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/StopDisTrain/sdt-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/sdt-hook .claude/skills/sdt-hook && 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
sdt-hook
GitHub stars
309
Token cost
~224 tokens
SKILL.md length
36 words
Files
2
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

在短视频正文完成后,检查并生成前五秒开头,让开场更抓人、可信,并与正文承诺一致。用户要求优化视频开头、降低开头流失、写口播 Hook 或增强第一句话时使用。

  • Works in 5 steps: 检查正文是否有真实数据、转变、金句、权威或具体痛点。 → 提取话题、观看理由和账号可信度。 → 按素材提取、可信素材补充、悬念制造三类方法各生成候选。 → …
  • Improve retention
  • SKILL.md covers 前置门, 工作流, 硬规则 and 开头公式
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Sdt Hook is an agent skill from StopDisTrain/sdt-skills. 在短视频正文完成后,检查并生成前五秒开头,让开场更抓人、可信,并与正文承诺一致。用户要求优化视频开头、降低开头流失、写口播 Hook 或增强第一句话时使用。 English: Diagnose and write the first five seconds of a short video after the main script is ready, making the opening engaging, credible, and consistent with the video's promise. Use to improve retention, create a spoken hook, or strengthen the first line.

Its SKILL.md is about 220 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

The repository describes itself as: SDT content research, creation and quality-control skills for Codex. The licence is MIT.

When your agent uses it

  • Improve retention
  • Create a spoken hook
  • Strengthen the first line

Example prompts

  • “/sdt-hook”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 检查正文是否有真实数据、转变、金句、权威或具体痛点。
  2. 提取话题、观看理由和账号可信度。
  3. 按素材提取、可信素材补充、悬念制造三类方法各生成候选。
  4. 删除正文无法兑现、需要伪造数据或不适合口播的候选。
  5. 选 Top 3,并把第一名嵌回逐字稿测试前后衔接。

What it can do on your machine

Read from SKILL.md and the folder at commit 0678cd0. 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

Sdt Hook loads about 224 tokens when it runs. Until then it costs about 86 tokens; SKILL.md has 36 words of instructions outside code blocks.

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

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 StopDisTrain/sdt-skills at commit 0678cd0, republished under its MIT licence (© StopDisTrain). 36 words, ~224 tokens.

Download SKILL.mdSave it as .claude/skills/sdt-hook/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
sdt-hook
description
在短视频正文完成后,检查并生成前五秒开头,让开场更抓人、可信,并与正文承诺一致。用户要求优化视频开头、降低开头流失、写口播 Hook 或增强第一句话时使用。 English: Diagnose and write the first five seconds of a short video after the main script is ready, making the opening engaging, credible, and consistent with the video's promise. Use to improve retention, create a spoken hook, or strengthen the first line.

SDT 视频开头

先做正文质量、素材丰富度和当前开头诊断;通过后再生成开头并嵌入 SDT 成稿。

前置门

必须有完整正文或完整结构。只有选题和标题时停止生成,先回到 sdt-content。

工作流

  1. 检查正文是否有真实数据、转变、金句、权威或具体痛点。
  2. 提取话题、观看理由和账号可信度。
  3. 按素材提取、可信素材补充、悬念制造三类方法各生成候选。
  4. 删除正文无法兑现、需要伪造数据或不适合口播的候选。
  5. 选 Top 3,并把第一名嵌回逐字稿测试前后衔接。

硬规则

  • 不假设观众看过标题。
  • 不在第一句直接给完答案。
  • 不使用虚构成绩、客户量、经验年限或权威背书。
  • 素材增补只能使用已核实材料;否则写成待采集需求,不能写进成稿。
  • 开头必须能由目标账号本人自然说出口。

开头公式

开头至少包含两项:

  • 话题:观众立刻知道在讲什么。
  • 观看理由:数据、反差、损失、未完成问题或具体利益。
  • 可信度:真实经历、可核验结果、具体现场或清晰观察。

优先结构:具体反差 + 未完成问题;真实结果 + 反转;痛点场景 + 新解释。避免连续自问自答和空泛命令句。

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

Files

SKILL.md and 1 other file in skills/sdt-hook of StopDisTrain/sdt-skills.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 0678cd0

Compare with similar skills

Sdt Hook 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.

Sdt Hook compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sdt Hook this skillStopDisTrain/sdt-skills309—~224Automated safety check: PassMIT
Agent Runtime Lifecycle Hookslobehub/lobehub83k—~2.8kAutomated safety check: PassCustom licence
Agentmemory Capture Hooksrohitg00/agentmemory29k—~444Automated safety check: PassApache-2.0
Crush Hook Writercharmbracelet/crush29k—~1.8kAutomated safety check: PassCustom licence
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k11 repos~4.1kAutomated safety check: NotesApache-2.0
Hooksparcadei/Continuous-Claude-v33.9k2 repos~344Automated safety check: PassMIT

Similar skills

  • Registers lifecycle hooks on an agent run to observe, mock or intervene at each step, dispatching them in the order they were registered.

    83k GitHub stars~2.8k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Agentmemory Capture Hooks

    rohitg00/agentmemory

    Describes the lifecycle hooks in the agentmemory Claude Code plugin that record observations automatically, and what to check when observations go missing.

    29k GitHub stars~444 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Crush Hook Writer

    charmbracelet/crush

    Helps write, debug and configure Crush hooks in crush.json that block, approve or rewrite tool calls before they run.

    29k GitHub stars~1.8k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 11 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Hooks

    parcadei/Continuous-Claude-v3

    Hook Development Rules

    3.9k GitHub starsUsed in 2 repos~344 tokens
    Agent WorkflowsAuto-check passed
  • React Hook Form

    supabase/supabase

    Official

    Correct React Hook Form usage anywhere in the monorepo — data flow, subscriptions, reset, dirty state, number inputs, and controlled-input rules.

    111k GitHub stars~4k tokensUpdated today
    Frontend & DesignAuto-check passed

More from StopDisTrain/sdt-skills

All 15 skills in this repo
  • Sdt Topic

    StopDisTrain/sdt-skills

    把已验证的传播机制转成适合目标账号的内容选题,并完成生成、迁移、评分和筛选,让选题自然连接人设、产品或门店。用户要从低粉爆款、垂直样本、邻近受众或跨赛道内容中寻找新选题时使用。

    309 GitHub stars~339 tokensUpdated 1 mo ago
    Auto-check passed
  • Sdt

    StopDisTrain/sdt-skills

    SDT 内容生产工具箱的总入口:根据当前任务选择最合适的 sdt- 模块,既能完成标题、开头等单一步骤,也能组织从账号研究到发布的完整流程。用户不知道该用哪个 SDT Skill,或希望一站式完成内容生产时使用。

    309 GitHub stars~535 tokensUpdated 1 mo ago
    Auto-check passed
  • Sdt Research

    StopDisTrain/sdt-skills

    只读检索小红书公开内容,并把账号数据、标题、封面、互动量、作者近期内容和低粉爆款整理成可追溯证据。用户要求查公开账号或笔记数据时使用;不得点赞、收藏、评论、发布、删除或导出登录凭证。

    309 GitHub stars~343 tokensUpdated 1 mo ago
    Auto-check passed
  • Sdt Wechat HTML

    StopDisTrain/sdt-skills

    把已经完成并通过质检的 Markdown 内容转换成可粘贴到微信公众号后台的 HTML,并支持选择样式、生成预览和检查粘贴兼容性。用户要制作公众号排版稿或微信发布版本时使用。

    309 GitHub stars~274 tokensUpdated 1 mo ago
    Auto-check passed
  • Sdt Xhs Title

    StopDisTrain/sdt-skills

    根据主题、正文或已有标题生成并筛选小红书标题,提供改写和 A/B 方案,同时检查账号调性、真实性以及正文能否兑现标题承诺。用户要起标题、改标题、套用标题模式或检查标题时使用。

    309 GitHub stars~247 tokensUpdated 1 mo ago
    Auto-check passed
  • Sdt Account

    StopDisTrain/sdt-skills

    把账号链接、主页截图、产品说明和历史内容整理成可复用的账号档案,明确调性、人设、受众、产品连接和表达边界。用户要求分析账号定位、建立账号资料,或开始完整内容生产流程时使用。

    309 GitHub stars~257 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Sdt Hook

What does Sdt Hook do?

在短视频正文完成后,检查并生成前五秒开头,让开场更抓人、可信,并与正文承诺一致。用户要求优化视频开头、降低开头流失、写口播 Hook 或增强第一句话时使用。. Sdt Hook is an agent skill from StopDisTrain/sdt-skills. 在短视频正文完成后,检查并生成前五秒开头,让开场更抓人、可信,并与正文承诺一致。用户要求优化视频开头、降低开头流失、写口播 Hook 或增强第一句话时使用。 English: Diagnose and write the first five seconds of a short video after the main script is ready, making the opening engaging, credible, and consistent with the video's promise.

When should I use Sdt Hook?

Sdt Hook fits situations like: improve retention; create a spoken hook; strengthen the first line.

How do I install Sdt Hook in Claude Code?

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

How do I install Sdt Hook in Codex?

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

Can I use Sdt Hook 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 StopDisTrain/sdt-skills --skill sdt-hook -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sdt-hook, .gemini/skills/sdt-hook, .github/skills/sdt-hook and .opencode/skills/sdt-hook in your project.

What does Sdt Hook need to run?

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

Does Sdt Hook 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 Sdt Hook 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 Sdt Hook use?

Sdt Hook 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 Sdt Hook use?

About 224 tokens (SKILL.md is roughly 896 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 Sdt Hook?

Skills that share tags, products or a category with Sdt Hook: Agent Runtime Lifecycle Hooks (lobehub/lobehub, 83k stars), Agentmemory Capture Hooks (rohitg00/agentmemory, 29k stars), Crush Hook Writer (charmbracelet/crush, 29k stars) and Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sdt Hook?

StopDisTrain (a GitHub user) maintains it in StopDisTrain/sdt-skills, which has 309 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on August 25, 2026.

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