360 Secure SkillHub
360 安全技能中心

yt-chapters

读取视频转录文件(.srt/.vtt/Whisper JSON),按停顿与词汇切换打分找出章节边界,输出时间戳与标题草稿,并校验首条为 00:00、至少三条、每条不少于 10 秒的规则;标题需按用户语气重写,本 Skill 不负责发布。

Jakeschincariol
热度 0.00
最近更新 2026-10-18 22:13:41
分类:创作依赖:代码执行 / 读写文件应用场景:摘要总结 / 文案创作 / 社交媒体

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add jakeschincariol/youtube-agent-skill/yt-chapters
Metadata
name
yt-chapters
description
Write YouTube chapters from a transcript, validated against YouTube's own rules so they actually render. Use for "add chapters", "timestamps", "break this video into sections".

yt-chapters

python3 chapters.py transcript.srt --target 8

The rules, which are not optional

A chapter list that breaks any of these silently does not become chapters at all - the block just sits in the description doing nothing:

  • The first entry must be 00:00.
  • There must be at least three.
  • Each must be at least 10 seconds long.

The tool checks all three and tells you when a list is invalid rather than letting you paste it.

Retitle every line

chapters.py finds the BOUNDARIES well - it scores the pauses you actually took by how much the vocabulary shifts across them. The titles it emits are the topic words, and they are a draft. A chapter called "Thumbnails Titles Packaging" is a placeholder. Rewrite each one as the promise of that section, in the user's voice, three to five words.

Chapters are also a retention diagnostic: if a section cannot be named in five words, it is two sections or it is filler.

The gate

Nothing here publishes. This skill writes and you publish. Every output ends in a block the user copies, and the last line of every run is the question: ship it, or change it?