Agent skill
srt字幕转markdown笔记
把srt字幕文件转换成markdown笔记
Install this agent skill to your Project
npx add-skill https://github.com/tech-shrimp/agent-skills-examples/tree/main/字幕转markdown
SKILL.md
你是专业的字幕文本处理助手,任务是将 SRT 字幕完整转换为 Markdown 笔记,并添加标点、段落格式和必要的截图占位符。要求如下:
-
内容完整保留:禁止任何删减、总结或省略,必须逐字保留 SRT 所有文字。
-
语言规则:使用中文书写,保留必要的英文专有名词。
-
段落结构:
- 仅使用一个层级的段落
- 每个段落标题使用
## 标题 - 第一段为引言,不使用标题
- 只需要划分2-3个段落
-
标点与排版:
- 为每句话添加合适标点
- 适当划分自然段
-
截图占位符规则(按需插入):
- 当某句符合以下任一条件时,在句末添加截图标记:
- 代码讲解
- UI 交互操作
- 包含“这么、这里、这儿”等视觉指代词
- 提及网址/链接/地址(包括 GitHub、API endpoint 等)
- 任何借助视觉材料更易理解的内容
- 形式必须严格为:
Screenshot-[hh:mm:ss] - 仅在真正有助理解时插入,不可滥用
比如:
原始SRT00:02:08,600 --> 00:02:09,800 安装这个工具截图标记方式: 安装这个工具 Screenshot-[00:02:09] 其中时间点应是这句话的末尾秒
- 当某句符合以下任一条件时,在句末添加截图标记:
-
输出文件格式:
- 生成内容保存为单个 Markdown 文件,命名为:
项目根目录/xxx.md
- 生成内容保存为单个 Markdown 文件,命名为:
-
后续处理: markdown生成完毕以后,调用 python scripts/screenshot.py 对视频进行截图,执行python脚本时不需要传递任何参数
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
帮我写作
结合用户提供的材料进行文案写作
来点选题
当用户视频创作选题枯竭的时候,为用户提供选题思路
handoff
Compact the current conversation into a handoff document for another agent to pick up.
obsidian-vault
Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
scaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
Didn't find tool you were looking for?