Communitygithub.com

jsath/claude-skills

1280×720のYouTubeサムネイル(またはバナー・カバー)を生成します。テキストのない背景プレート、人物の実写切り抜き、1~3単語のカラーブロック、公式ロゴを配置し、重なりやフレーム端のチェックをスクリプトで自動実行。320px/168px表示でも読めるかを確認します。サムネイル、カバー、バナー、『クリックしたくなる』デザイン、または小さく見えるサムネイルの修正を依頼されたときに使用します。

claude-skills とは?

このスキルは、YouTubeサムネイルやバナー・カバー画像を高品質に生成するためのツールです。「画像モデルで背景プレートを作り、コードでテキストを配置する」という方法を採用し、AI生成文字の誤字や顔の置き換えを防ぎます。スクリプト`compose_thumbnail.py`がレイアウト検証(重なり・フレーム端チェック)を行い、320px / 168pxの縮小表示でも読める状態を保証します。 主な機能として、実写からの人物切り抜き(rembg)、1~3単語の見出しをタイトなカラーブロックとドロップシャドウで配置、公式ロゴの合成、レイアウトJSONによる調整の再利用が可能です。画像モデルへのプロンプトでは「人物・テキスト・ロゴを禁止」し、高コントラストで空きスペースを確保するルールを徹底。最終出力は1280×720の完成画像、プレビュー画像、layout.jsonの3点です。 対応プラットフォームは、Claude Code(シェル実行)でのコンポーズ処理、Claude.aiでの企画・プロンプト作成です。また、rembg・Pillowを必要とし、画像モデルがなくてもビデオフレームをぼかして代用可能です。これにより、チャンネル全体の視覚的一貫性を保ちながら、クリック率を高めるサムネイルを迅速に作成できます。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jsath/claude-skills/tree/HEAD/skills/video/thumbnail-generator

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

サムネイルジェネレーター

方法: 画像モデルがプレートを作り、コードが文字を配置します。 生成されたテキストは誤字だらけになり、生成された顔は別人になるため、テキスト、ロゴ、および実在の人物の顔は scripts/compose_thumbnail.py によって合成され、レイアウトがチェックされます。

関連スキル: longform-edit と edit-style が動画とそのフレームを生成します。このスキルはフレームをカバー画像に変換します。

必要条件

  • Python 3.9+ with Pillow (pip install pillow)。必須。
  • 切り抜き: pip install "rembg[cli]" を実行後、rembg i photo.jpg cutout.png で背景を除去し、透明なPNGを出力します。
  • プレート(必須ではない): アクセス可能な任意の画像モデル(エージェント内の画像生成ツール、編集エンドポイントを持つ画像API、またはなし: 動画の実際のフレームをぼかして暗くしたものも優れたプレートになります)。
  • Claude.ai は計画とプロンプトの作成に使用します。コンポーズ処理には Claude Code(シェル)が必要です。

入力

  • 動画のタイトルと、その1文での約束。
  • 人物の実際の写真またはビデオフレーム。できれば高さ1500 px以上で、動画に必要な感情が表れているもの(フレームを選んでください。顔を創作してはいけません)。
  • 名前のあるツールの公式ロゴ(ブランドのプレスページまたはサイトのSVG)。
  • オプション: ユーザーが合わせたい参照サムネイル。まずその画像を正確に見つけて研究します(references/reference-matching.md を参照)。

手順

  1. コンセプトを一行で: 視聴者が見るもの + 1~3単語。3語以上必要な場合、コンセプトが間違っています。結果を見せ、方法は隠す。
  2. プレートを作成(1280×720以上、16:9)。任意のモデルに対するプロンプトのルール:
    • "no people, no faces, no text, no letters, no logos"(常に)
    • トピックに関連した、ストーリーを伝えるシーン。「画面だらけの暗い部屋」は避ける。
    • ハイコントラスト、1つの支配的な色、テキストを配置するための空白。
    • デフォルトの青/紫のAIグラデーション風は避ける。 代替案: 動画の実際のフレームを gblur でぼかし、20~40%暗くする。
  3. 人物を切り抜く(rembg)。テキストから人物を生成してはいけません。画像モデルで人物をリスタイルする場合、入力画像として実際のフレームを渡し、顔・歯・服を変更した結果はすべて拒否します。
  4. layout.json を書く(形式はスクリプトのヘッダーに記載)。初期値: 切り抜きの height 0.85~0.95(片側)、下端に揃える。見出しの size 110~140。2行目 60~80。ロゴの width 180~260。
  5. コンポーズ: python3 scripts/compose_thumbnail.py layout.json --out thumb.png。すべての FAIL(重なり、フレーム外、切り抜きの高さ70%未満、5語以上)を修正します。
  6. thumb.preview.png を見る。最初に168 px表示で確認。以下のチェックリストを実行します。プレートではなくレイアウトを調整する。コンセプトが変わった場合のみ再生成する。
  7. オプションの1回のみのポリッシュパス: 画像モデルに編集モードがある場合、完成したコンポジットを1回だけ低強度(0.3~0.5)で通し、照明と彩度を調整します。その後、すべての単語が正しく綴られていること、顔が同じ人物であることを再確認します。そうでない場合は、ポリッシュしていないものを出荷します。

ルール(却下されたサムネイルから)

  • 優先順位: 顔 > 見出し > ロゴ > 背景。
  • すべてが小さすぎる。 感覚より30~50%大きく要素を作る。ほとんどの人は168 px幅で見ています。
  • 文字はソリッドカラーのブロックに、文字にぴったり沿ったパディング(1280幅で約8 px)、ドロップシャドウ。黄色=注意、緑=ポジティブ、赤=危険(白文字)、白=ニュートラル。太字のコンデンスドサンセリフ(Impact、Bebas Neue)。
  • 顔を覆うものは何もなし。テキストが顔にかからない。
  • 1つのプレートがフレームの端から端までを埋める。隙間や継ぎ目が見えてはいけない。
  • 重複または鏡像要素は安っぽく見える。繰り返しの要素はそれぞれ独立した画像として扱う。
  • 新しいサムネイルはそれぞれ、チャンネルの直近の数個と異なる見た目にする。
  • 切り抜きの拡大は約1.15倍まで(スクリプトが警告)。より大きなソースを見つけること。
  • ロゴ: 公式、色と比率は変更しない、AIで描き直してはいけない。

QAチェックリスト(回答に答えを書いてください)

  • 168 px表示: すべての単語が読めて、顔が認識できますか?
  • 1~3単語(最大5)、綴りが正しい
  • 顔が完全に見えている、あごや額が切れていない、ソースフレームからのUIバッジがない
  • 重なりなし、フレーム端で切れているものなし(スクリプトPASS)
  • ハイコントラスト、明確な焦点、ごちゃごちゃしていない
  • チャンネルの他のサムネイルの横に並べたとき、クリックしたくなりますか?

出力

thumb.png            1280x720 最終版
thumb.preview.png    フルサイズ + 320 px + 168 px の並べた表示
layout.json          次の調整はやり直しではなく再実行のために

回答例:

thumb.png PASS (構成交替)。168px: "IT'S FREE" 読める、顔はっきり。
コンセプト: 驚いた顔 + "IT'S FREE" + ツールロゴ; プレート = 03:12のフレームをぼかし、30%暗く。
全バージョンを thumbs/v1..v3 に保存。

エラー対処

問題対処
画像モデルがない実際のフレームをぼかして暗くしたものをプレートとして使用
人物の良い実写写真がない提供を依頼。代わりの顔を生成してはならない
モデルがプレートにテキストや顔を入れた"no text, no people"をプロンプトの最初に追加して再生成、またはその領域をクロップ
切り抜きにハローや髪の欠けがあるrembg -m isnet-general-use を試す、または背景がより単純なフレームを選ぶ
フォントがない(文字が小さいか代替フォントになる)layout.json の "font" に実際の太字 .ttf を設定

ユーザーが1つを選ぶまで、すべてのバージョンを保持してください。詳細: references/composition.md(サイズ、テキスト、レイヤー順序) references/reference-matching.md(参照画像への一致、バナー、正方形広告)

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

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

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.

関連スキル