Communitygithub.com

jsath/claude-skills / 字幕引擎

根据已完成视频的转录稿,为每个平台生成字幕:提取值得重复的台词,撰写首行选项,生成各平台版本(Instagram、TikTok、YouTube 标题与描述,其他按需生成),保持创作者的历史最佳字幕风格,并检查行动号召是否与视频实际内容匹配。当创作者要求字幕、钩子、YouTube 标题与描述或 CTA 检查时使用。仅生成草稿,绝不发布或安排发布。

claude-skills / 字幕引擎 是什么?

这是一个专为视频创作者设计的 AI 技能,能够从已完成视频的转录稿中自动生成面向多个平台的字幕。它由五个智能体协同工作:转录阅读器提取最佳台词、首行撰写器提供五种钩子选项、平台撰写器根据平台规则调整格式、语音保持器分析创作者的历史最佳字幕以保持个人风格、CTA 匹配器确保行动号召与视频实际内容一致。该技能支持 Instagram、TikTok、YouTube 等平台,并可通过自定义设置适应更多平台。用户需要提供最终版视频的转录稿(.srt/.vtt 或直接转录文本)以及 10-20 个最佳历史字幕用于风格学习。所有输出均为草稿形式,不会自动发布或安排发布,确保安全性和用户控制。适用于 Claude Code 和 Claude.ai 等平台。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jsath/claude-skills/tree/HEAD/skills/caption-engine

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

字幕引擎

五个智能体将已完成视频的转录稿转换为每个平台的字幕,保持你的个人风格,并确保行动号召与视频实际内容匹配。

另请参阅 ../reel-captions:针对单个创作者视频的固定平台字幕格式。此技能会根据你最好的历史字幕学习你自己的格式。

你需要什么

输入方式
最终版视频的转录稿(非原始素材)编辑应用的字幕导出(.srt/.vtt);YouTube Studio > 字幕 > 下载,或“显示转录稿”;在 Claude Code 中,使用 Whisper 处理视频文件。Claude.ai 无法转录视频。最后手段:直接粘贴你说的话。
10 到 20 个最佳历史字幕粘贴、Google Drive,或平台数据下载。如果有的话,可附加观看/保存数据及日期范围。
CTA 列表设置答案:关键词、它能带来什么、该事项是否已就绪

你的调度器不会被触及:字幕以可粘贴的文本形式返回。如果历史字幕少于 10 条,语音保持器会提示其修正可能较为粗略。

设置(start 或当 PROFILE 为空时)

进行两轮问答,接受“跳过”,显示 PROFILE 内容,然后要求提供转录稿。

  1. 你发布到哪些平台?
  2. 标签:无、少数、或固定列表?有哪些你总是使用的标签?
  3. 你使用哪些行动号召(评论关键词、保存、关注、简介链接、新闻通讯)?具体关键词和它能带来什么?
  4. 粘贴 10 到 20 条效果好或最像你的字幕(如果有,请附带数字和日期)。
  5. 你从不使用的风格(表情符号、全大写、问句)?
  6. 你从不会说或承诺的事情?

命令与路由

命令运行内容
caption(粘贴转录稿)1 > 2 > 3 > 4 > 5,生成一组字幕
hooks1 > 2
platforms3(需要已选定的首行)
voice对任意字幕草稿运行 4
cta check对任意字幕草稿运行 5

在作为智能体执行前,请先阅读 agents/ 中的对应文件。在 Claude Code 中,你可以将它们复制到 .claude/agents/ 作为真正的子智能体运行。

  • agents/01-transcript-reader.md:获取最佳台词、回报、口头行动号召、事实列表
  • agents/02-first-line-writer.md:生成五种不同类型的首行选项
  • agents/03-platform-writer.md:按平台调整格式和标签规则
  • agents/04-voice-keeper.md:从最佳字幕中提取语音笔记,修正不匹配
  • agents/05-cta-matcher.md:每条字幕一个行动号召,与视频匹配时标记为 PASS 或 BLOCKED

安全规则(每个智能体)

  • 绝不发布、公布或安排发布。字幕均为草稿,带有 ID(C1, C2...)。
  • 不能包含转录稿或创作者笔记中未提及的主张、数字、结果或承诺。
  • 字幕的行动号召必须与视频匹配:如果视频说“评论 GUIDE”,则字幕不能声称“简介链接”,除非创作者确认两者皆可。
  • 仅使用创作者认可的标签和提及。未经批准不得标记品牌或个人。赞助视频需添加 [披露] 行,由创作者标记。
  • 表现数据仅引用创作者粘贴的内容,并附带日期范围。

共享文件

Claude Code:文件保存在 captions/ 目录下。Claude.ai:最后打印更新的列表,以便创作者保存到项目知识库中。

  • PROFILE:设置答案
  • BEST CAPTIONS:历史字幕 + 数字和日期范围
  • VOICE NOTES:来自智能体 4 的模式
  • CTA LIST:行动号召 | 具体关键词 | 它能带来什么 | 是否就绪
  • DRAFTS:等待批准的字幕

每次运行结束

  1. 每个执行过的智能体一行。
  2. 等待批准的字幕:ID | 平台 | 首行。
  3. 需要你关注的内容,包括所有被标记为 BLOCKED 的 CTA。
  4. 缺失的数据以及如何修复。
  5. “尚未发布或安排任何内容。”

示例(虚构数据):

运行:转录阅读器、首行(5 个选项,推荐 H2)、平台(IG、TikTok、YouTube)、语音保持器(3 处修正)、CTA 匹配器。
草稿:C1 Instagram "我 11 点前不再回复邮件。",C2 TikTok,C3 YouTube 标题 + 描述。
需要你注意:C2 被阻塞,声称“简介链接”但视频说“评论 FOCUS”(0:41)。
缺失:历史字幕无数据;仅基于风格匹配语音。
尚未发布或安排任何内容。

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

jsath/claude-skills

Write CAPTIONS-PLATFORMS.md for one finished short video: a per-platform post caption for Instagram, TikTok, YouTube Shorts (title + description), Facebook, Threads, Bluesky and X, each within that platform's limits, with your comment-keyword CTA on the platforms where it belongs and never on X. Keyword, CTA, platforms, hashtags and limits come from a config file; a checker script fails the file on any miss. Use after an edit is finished, when asked to 'write the captions', 'caption this reel for every platform', or before scheduling.

jsath/claude-skills

Transcribe audio or video on your own machine with Whisper (mlx-whisper, faster-whisper or whisper.cpp) and get word-level timestamps as words.json, a plain .txt and an .srt. No API key, nothing uploaded. This is the transcription step the editing skills (edit-style, longform-edit, reel-captions) depend on. Use when asked to transcribe a take, get word timings, make an SRT, re-transcribe a final render for a caption sync check, or 'run whisper locally'.

jsath/claude-skills

Turns one published long-form video or podcast transcript into up to thirty pieces: 10 clips with new hooks and exact timestamps, 8 X posts, 4 LinkedIn posts, 3 carousels, 2 threads, a newsletter, a community post and a blog post, laid out on a two-week plan, all built only from what was said. In Claude Code it also cuts, reframes and captions the clips with ffmpeg. Use when someone wants to repurpose a long video, find clips, or write social posts from a transcript. Never posts or schedules.

jsath/claude-skills

Turn a raw talking-head take into a dynamically edited 1080x1920 reel: full-face, full-graphic and split layouts that switch every 2 to 5 seconds, real UI and official-logo panels, captions on every word timed by Whisper, voice plus synthesised SFX (no music bed) mastered to -14 LUFS, and hard QA gates (caption sync on the final render, A/V length, loudness, colour, framing, contact sheet, claims). Also covers writing the script so it does not read as AI. Use when asked to 'edit this reel', 'make it look edited', 'add captions / dynamic layout / graphics', or 'write a reel script'.

jsath/claude-skills

Edits a raw long-form YouTube recording (screen recording export, camera file, or either plus a separate mic) into a publish-ready video automatically, like Descript on autopilot: transcribes with word timestamps, removes retakes and keeps the last take, tightens dead space while keeping silent on-screen action (speeding up long waits), masters the voice to -14 LUFS / -1.5 dBTP with no music bed, re-transcribes the FINAL render for an every-word SRT (optional burned-in captions), drafts chapters, titles and a description, and fails loudly on QA gates (words, A/V sync, caption sync per chapter, caption coverage, loudness) plus contact sheets you look at. Use when someone says edit this long-form, clean up my recording, cut the retakes and dead space, process the long-form inbox, or descript this. Needs Claude Code with ffmpeg, whisper.cpp and Python 3.

jsath/claude-skills

Turns one podcast episode transcript into a week of written content: an Episode Prep agent that checks the transcript and speaker names, a Clip Spotter that picks the best short-clip moments with exact timestamps and hooks for an editor to cut, a Show Notes Writer that writes show notes and chapter markers, a Repurpose Writer that turns the big ideas into a newsletter, a LinkedIn post and Instagram captions, and an Episode Planner that spreads it all over the week. Works from a transcript the user supplies or exports from their transcription tool. It does not edit audio or video and does not cut clips. Use when a podcaster asks for show notes, chapters, clip timestamps, or posts from an episode, or says \"repurpose this episode\". Drafts only; never posts.

jsath/claude-skills

Turns one raw talking-head take into a finished 1080x1920 vertical reel in Claude Code with free local tools (ffmpeg, whisper.cpp, headless Playwright): transcribes, keeps the last take of repeated lines, cuts pauses, captions every word, adds real screenshots and official logos, and runs measured QA gates. Use when someone wants a raw phone take edited into a Reel, TikTok or Short, retakes and silences cut, word-by-word captions, or a finished video checked. In Claude.ai it only produces a cut list, shot plan and .srt from a pasted transcript.

jsath/claude-skills

Turns notes, voice-note transcripts and half ideas into Reel, TikTok and YouTube scripts in the creator's own voice: ranks an idea bank, writes ten hooks per idea, writes the script at the right length, rewrites anything that sounds like AI using transcripts of the creator's past videos, and fact-checks every claim with a source and date. Use when someone wants a video script, hooks, a ranked list of what to film, a voice pass, a claims check, or a record sheet to read from while filming.

jsath/claude-skills

Reviews and rewrites a video script (YouTube long-form, a short, or a talking-head reel) so it sounds like one person talking to one friend and holds attention: kills forced analogies and presenter phrases, fixes framing, checks hooks, open loops and re-engagement beats, and suggests titles. Use when someone says fix this script, polish my script, make it sound like me, tighten this before I film, or asks for a hook or title for a video. Returns the rewritten script plus a short change log.

jsath/claude-skills

Make a 1280x720 YouTube thumbnail (or a banner/cover) that reads at phone size: a text-free background plate (generated or from a real frame), a real cutout of the person, 1 to 3 words in tight colour blocks, an official logo, composed by a script that checks overlaps and frame edges and renders the 320px and 168px views you must look at. Use when asked for a thumbnail, cover, banner, 'make this clickable', or to fix a thumbnail that looks cluttered or small.

jsath/claude-skills

Runs five agents that keep a YouTube channel's titles and descriptions matched to what people search for now: a Channel Reader that pulls the user's own video list and stats with their YouTube Data API key, YouTube Analytics OAuth or a pasted YouTube Studio export, a Niche Watcher that finds what is working right now for similar-size channels from public search results the API returns or the user provides, a Title Writer that drafts titles, descriptions and chapters for new videos, a Back Catalogue agent that picks old videos worth a refresh and drafts new versions, and a Change Tracker that records every change the user makes and compares before and after on matched windows. Use when a creator asks for YouTube SEO, better titles or descriptions, what is working in their niche, a back catalogue refresh, or says \"seo run\". Never invents search volumes or stats and never changes a video; drafts only.

相关技能