Communitygithub.com

jsath/claude-skills - 短影片多平台貼文生成器

為一個已完成的短影片生成 `CAPTIONS-PLATFORMS.md`:針對 Instagram、TikTok、YouTube Shorts(標題 + 描述)、Facebook、Threads、Bluesky 和 X,分別撰寫符合各平台字數限制的貼文文案,並在應有的平台上放入含關鍵字的 CTA(行動呼籲),唯獨 X 平台不放。關鍵字、CTA、平台、主題標籤和字數限制均來自設定檔;檢查腳本會逐一驗證,任何缺失都會判定失敗。請在編輯完成後,當被要求「寫下所有平台的說明文字」、「為這支 Reels 撰寫各平台文案」或排程前使用。

claude-skills - 短影片多平台貼文生成器 是什麼?

這個技能專為已完成的短影片(Reels / Shorts / TikTok)自動生成跨平台貼文文案,輸出單一 `CAPTIONS-PLATFORMS.md` 檔案,再由 `scripts/check_captions.py` 進行驗證。它只處理文字內容,不負責實際發布或排程。 其核心流程為:從 `captions.srt` 提取影片鉤子(hook),若有 `CAPTION.md` 則沿用其中的草稿標題與用詞,然後根據 `config.json` 中的設定(關鍵字、CTA 語句、啟用平台、禁止平台、字數限制、主題標籤數量範圍)填入固定格式。對於 X(Twitter),特別禁止 CTA、關鍵字與「comment」字眼,避免被視為垃圾內容。檢查腳本會逐一比對字數、標籤數量等規則,確保完全通過後才產出最終檔案。如果影片中口頭說的關鍵字與設定檔不同,腳本會使用口頭版本並加上 `# OPEN:` 註記。 此技能支援 Claude Code、Cursor 等具備 shell 執行能力的 AI 代理平台;若只用於 Claude.ai 而無 shell 環境,則需手動對照字數限制表檢查。輸出後會回報檔案路徑、使用的關鍵字與 CTA、檢查結果以及所有 `# OPEN:` 註記行。

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

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Reel 多平台貼文生成

一份已完成的 Reel,對應一份 CAPTIONS-PLATFORMS.md,並通過 scripts/check_captions.py 驗證。此技能僅處理文字內容:永不發布或排程。管線位置:在 edit-style(或長片 longform-edit)之後,排程之前。

設定(一次性)

cp config.example.json config.json

編輯 config.json:

鍵意義範例
keyword預設留言關鍵字,你的 DM 自動回覆系統會回應此關鍵字GUIDE
cta確切的 CTA 語句,會原樣使用留言「GUIDE」我會傳連結給你
cta_platformsCTA 語句必須出現的平台instagram, tiktok, facebook, threads, bluesky, youtube_description
no_cta_platforms禁止出現 CTA、關鍵字及「comment」字眼的平台twitter
skip_platforms永遠不寫的平台linkedin
limits各平台最大字元數bluesky 300, threads 500, X 280
hashtags各平台主題標籤 [最少, 最多],其餘用 defaultinstagram [4, 7]
core_hashtags你固定使用的主題標籤#yourniche
ban永遠不允許的字元或詞組em dash, en dash

僅承諾你的 DM 自動回覆系統確實會回應的關鍵字。如果不確定,請在寫入貼文前先詢問使用者。

輸入

  • Reel 資料夾:final.mp4、captions.srt(最終版本的逐字稿),以及選用的編輯版 CAPTION.md(草稿貼文與標題)。切勿編輯 CAPTION.md。
  • 如果影片中口頭說出不同的關鍵字,則使用該關鍵字。貼文中的關鍵字必須與影片中說出的一致。

步驟

  1. 讀取 captions.srt。鉤子(hook)=影片中第一句口語,大致保留原樣。
  2. 若存在 CAPTION.md 則讀取,沿用其中的標題與用詞。
  3. 填入下方格式。先寫 CTA 語句,再圍繞它調整內文。若超過限制,縮短內文,絕不縮短 CTA。
  4. 對照影片或編輯的 QA 檢查清單核對每個數字。若不一致,保留實際測量到的數字,並加上 # OPEN: 註記行。
  5. 執行 python3 scripts/check_captions.py <reel>/CAPTIONS-PLATFORMS.md。修復所有 FAIL 項目,重新執行直到 PASS。

格式

# <reel> 各平台貼文。來源:CAPTION.md + captions.srt
keyword: <KEYWORD 或 none>
cta: <確切 CTA 語句 或 none>
## instagram
<CTA 語句>

<鉤子>

<2 到 5 段短段落>

<再次出現 CTA 語句>

<核心主題標籤 + 1 到 2 個話題標籤,一行>
## short
<CTA 語句>

<鉤子>

<1 到 2 句傳達重點的句子>
## twitter
<鉤子 + 一行,一段落,無 CTA,無主題標籤,目標 130 到 200 字>
## bluesky
<CTA 語句>

<鉤子 + 一行;整段文字須包含 CTA 且在限制內>
## youtube_title
<一行,理想 40 到 60 字,最多 100 字,無表情符號>

short 區塊會餵給 TikTok、Facebook、Threads 以及 YouTube 描述。僅在需要覆蓋時,才額外加入 ## tiktok、## facebook、## threads 或 ## youtube_description。

規則

  • CTA 出現在所有平台,唯獨 X 除外。 X 是簡短描述,不是漏斗:在那裡放留言閘門會像垃圾訊息。檢查工具會拒絕任何包含 CTA、關鍵字或「comment」字眼的 X 文字。
  • 這支 Reel 沒有關鍵字? 寫 keyword: none,並將 cta: 設為互動問題(「你會用哪一個?」)或 cta: none。
  • Instagram: CTA、鉤子、短段落、再次出現 CTA、一行全小寫主題標籤。不要有 @提及、不要有連結(IG 上人們不會點擊)。將表情符號項目符號改為純文字「- 」行。
  • 短平台: CTA、鉤子、1 到 2 句句子,無主題標籤。
  • YouTube 標題: 宣稱或結果(「這個免費工具取代每月 50 美元的 App」),而非標籤(「工具評測」)。
  • 語氣: 縮寫、直述句、「&」可以。不要用 em 或 en dash、不要用「不是 X。是 Y。」句型、不要用「game-changer」、不要用反問句開頭。
  • 永遠不要: 第一條留言、協作者標籤、LinkedIn 文字、音符表情符號、私人資料(收入、客戶名稱、帳號 ID)。

實際範例

設定檔關鍵字 GUIDE,影片說「comment GUIDE」。完整通過的檔案:examples/CAPTIONS-PLATFORMS.md。其中的 X 區段:

## twitter
this free tool replaces a $50/month app. it runs on your own laptop, no account, no upload & the code is public.

檢查結果:

  bluesky                126 chars
  instagram              333 chars
  twitter                112 chars
  youtube_title           39 chars
PASS

失敗處理

問題做法
沒有 captions.srt先用 use-local-whisper 技能為 final.mp4 產生逐字稿
沒有 config.json檢查工具會退出並提示:複製範例檔並填入內容
口頭關鍵字與設定檔不同在標頭中使用口頭版本(keyword: / cta: 行覆蓋設定檔),並加上 # OPEN: 標記
某平台限制無法同時容納 CTA 與鉤子將內文縮減至僅保留鉤子;若仍超過限制,回報狀況,勿刪除 CTA
Claude.ai 無 shell 環境撰寫檔案,然後手動對照上方表格檢查限制,並說明未執行檢查工具

交接回報

回報:檔案路徑、使用的關鍵字與 CTA、檢查結果,以及所有 # OPEN: 行。

Individual skills in this repo

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

jsath/claude-skills

Writes captions for a finished video from its transcript: pulls the line worth repeating, writes first-line options, writes per-platform versions (Instagram, TikTok, YouTube title and description, others on request), keeps the creator's voice using their best past captions, and checks the call to action matches what the video actually says. Use when a creator asks for captions, a caption hook, a YouTube title and description, or a CTA check. Drafts only; never posts or schedules.

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.

相關技能