Communitygithub.com

explainer-video

ページ・資料・サービスの内容を、ナレーション付きのモーショングラフィックス解説動画(縦型ショート中心・話数シリーズ可・しゃべる案内役キャラ可)にする。Remotion+Gemini TTS。「解説動画を作って」「〜を動画でわかりやすく」「説明動画」「研修動画」「オンボーディング動画」「使い方を動画で」「契約・規約・料金を動画で説明」「/explainer-video」などで起動。説明が目的でない動画(実写風のAI映像・撮った動画の編集や書き出し・ロゴだけ動かすアニメーション)や、静止画1枚の依頼には使わない。Use when the user wants an explainer / motion-graphics / narrated video that explains a page, document, or service.

explainer-video 是什么?

explainer-video is a Claude Code agent skill that ページ・資料・サービスの内容を、ナレーション付きのモーショングラフィックス解説動画(縦型ショート中心・話数シリーズ可・しゃべる案内役キャラ可)にする。Remotion+Gemini TTS。「解説動画を作って」「〜を動画でわかりやすく」「説明動画」「研修動画」「オンボーディング動画」「使い方を動画で」「契約・規約・料金を動画で説明」「/explainer-video」などで起動。説明が目的でない動画(実写風のAI映像・撮った動画の編集や書き出し・ロゴだけ動かすアニメーション)や、静止画1枚の依頼には使わない。Use when the user wants an explainer / motion-graphics / narrated video that explains a page, document, or service.

兼容平台✓Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/hanimaru1121/claude-skills/tree/HEAD/plugins/explainer-video/skills/explainer-video

在你喜欢的 AI 中提问

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

文档

解説動画(explainer-video)

台本を1文ずつ書くと、声(Gemini TTS)・字幕・場面のアニメーション・案内役キャラがそろった mp4 を作れる。 ある会社の契約ページを全8話+紹介動画の縦型シリーズにしたときの仕組みを、どの案件でも使えるひな形にしたもの。

  • ひな形:${CLAUDE_PLUGIN_ROOT}/skills/explainer-video/template/(Remotion 4 / React 19)
  • 新規作成:bash "${CLAUDE_PLUGIN_ROOT}/skills/explainer-video/scripts/new-project.sh" <作成先>
  • 詳しい資料:references/blocks.md(場面の部品)、references/pitfalls.md(詰まった点)、references/variations.md(作れる動画の種類)

前提(足りなければ案内して止まる。勝手に入れない)

  • Node.js 20.11 以上(npm 付き)と ffmpeg / ffprobe。new-project.sh が確かめ、無ければ何を入れるかを出して止まる。そのときはユーザーに入れてもらってから続ける
  • Gemini API キー(音声と照合に使う。課金を紐付けないプロジェクトのキーなら無料枠)。~/.config/gemini/api_key(chmod 600)か環境変数 GEMINI_API_KEY。無ければ tts.mjs が用意のしかたを出して止まる。キーの値はチャットに出さない・聞かない(ユーザーに自分でファイルへ保存してもらう)
  • 案内役キャラの切り出しを使うときだけ Python 3 と numpy・Pillow
  • 動画の描画に使う Remotion は独自のライセンス(個人・小さな会社は無料、一定規模以上の会社は有料の Company License が要る)。会社の仕事で使うときは、最初に一度その旨をユーザーに伝える(https://www.remotion.dev/license)

0. 最初に聞くこと(分からない分だけ。推測で埋められるものは聞かない)

  1. 元の資料(ページURL・ファイル・文章)と誰が・いつ見るか(見る人の段階で口調と情報量が変わる。例:まだ申し込む前の人に、なれなれしい口調は不自然、という指摘があった)
  2. 形:縦 1080×1920(既定)/横 1920×1080/正方形、1本の長さ(1本60〜120秒が目安)、本数(シリーズか単発か)
  3. 声:既定は Leda(明るい若い女性)。落ち着いた声などの希望。ナレーションなし(字幕+BGM)も可
  4. 案内役キャラを出すか。出すなら画像(スタンプシート1枚でよい)
  5. 締めで何をしてほしいか(ページを見る/問い合わせる 等)と、入れてはいけない内容
  6. 保存先(既定:作業中のプロジェクト内 video/<名前>/、完成品は out/final/。ほかに置きたい場所があれば聞く)

進め方は「構成案 → 台本 → 見た目確認 → 音声 → 書き出し」。構成案と台本はユーザーに見せて承認をもらってから次へ。承認の前に音声(TTS)を作らない(無料枠を使うため)。

1. プロジェクトを作る

bash "${CLAUDE_PLUGIN_ROOT}/skills/explainer-video/scripts/new-project.sh" <project>/video/<名前>
  • .gitignore 済み(node_modules・out)。公開・デプロイするフォルダの中には作らない
  • src/brand.ts:ヘッダーの英字・シリーズ名・話数・締めの文言・案内役の有無とポーズ名
  • src/theme.ts の C:色。依頼元サイトの CSS 変数や資料の色に合わせる(ブランドの一貫性)
  • 案内役を使う:スタンプシートを python3 scripts/split-stickers.py <sheet> public/guide(3×3想定。違えば中を直す)→ brand.ts の guide.enabled: true と poses の名前・番号を合わせる。実在の人物に似せた画像は本人の了承を確認
  • 横型・正方形:theme.ts の W/H を変え、ui.tsx の Stage(上290・下500の余白)、Caption.tsx、Guide.tsx の位置、各部品の幅(900前後の固定値)を合わせて直す。変えたら必ず §3 の静止画で確認

2. 台本(src/episodes/<ep>/narration.json)

1話=1フォルダ(ep01, ep02…、単発の紹介は intro で episode: 0)。index.tsx はサンプルの ep01 をコピー、src/Root.tsx の EPISODES に足す。

{ "episode": 1, "title": "…", "next": "次の話の題名(最終話は省略)",
  "model": "gemini-3.8-flash-tts", "mode": "episode", "voice": "Leda",
  "style": "20代後半の日本人女性。やさしく明るく、発音ははっきり。…",
  "lines": [ { "id": "01", "scene": "title", "tts": "読み上げ文", "caption": "字幕", "pose": "wave" } ],
  "outroPose": "bow" }
  • 1文=1行。1文は40字前後まで(字幕の吹き出しに収まる・聞き取りやすい)。1話10〜15文
  • tts は読みやすい表記、caption は見やすい表記:$10→tts「10ドル」、英字略語はカタカナ(LINE→ライン、Wi-Fi→ワイファイ、FAQ→エフエーキュー)。数字の読み違いが多いので金額・時刻は特に
  • 同じ scene が続く文は1つの場面にまとまる(場面の中の何文目かで要素を出す)
  • 元資料にない事実を足さない。数字・条件は資料どおり。資料どうしの食い違いを見つけたら勝手に直さずユーザーに報告
  • 台本ができたら、元資料との照合を別の目で(検証用のサブエージェントが使えれば投げる)。前回はこれで13件直った

3. 場面(scenes.tsx)と見た目の確認

  • 部品は src/components/blocks.tsx(一覧と使い分けは references/blocks.md)。足りなければ新しく作ってよいが、動きは transform/opacity と useSpring/useProgress(src/lib/anim.ts)で
  • 音声を作る前に、文字数から長さを見積もった無音版で崩れを探す:
    node scripts/stills.mjs ep01 ep02    # → out/check/<ep>-sheet.png(場面ごとの完成時の静止画を横に並べた一覧)
    
    一覧画像を Read で見て、はみ出し・折り返し・重なり・案内役との衝突を直す。全話そろうまで繰り返す
  • 動きの確認は npx remotion studio(Ep01Preview など)

4. 音声(Gemini TTS)

bash scripts/tts-all.sh ep01 ep02 …     # 1話1回で生成 → 無音で1文ずつに切る → 文字起こしで照合 → timings.json
node scripts/verify.mjs ep01           # 保存済み音声の照合だけやり直す
bash scripts/tts-all.sh --dry-run ep01 # 動作確認用:API を呼ばず仮の音で最後まで流す(本番前に --force で作り直す)
  • キーの場所と無い場合は「前提」のとおり。用意で詰まったら references/pitfalls.md
  • 無料枠は TTS がモデルごとに1日10回ほど(太平洋時間の0時にリセット)。mode: "episode" なら1話1回。足りない日は gemini-3.8-flash-lite-tts(別枠・同じ声)に切り替えるか翌日。枠の数は変わることがあるので、上限エラーが出たら再試行せず止まって伝える
  • 照合で止まったら(読み飛ばし・区切りずれ)その話だけ作り直す。照合を省かない(TTS は文を丸ごと飛ばすことがある)
  • 同じ台本なら生成せず切り分けだけやり直す(out/raw/)。台本を直したら、その話は作り直しになる

5. 書き出しと納品

bash scripts/render-all.sh            # 全話 → out/final/<ep>.mp4(1080×1920, H.264)
node scripts/stills.mjs --final ep01  # 音声ありの本番で最終確認
  • 納品用に <案件名>(全N話)/ を作り、第1話_<題名>.mp4 の名前でコピー(置き場所は §0 で聞いたところ)。長さと再生確認(ffprobe)を添えて報告
  • 配る・投稿する前に:人の募集・契約・料金・健康・金融など規制が絡む内容は、公開前のチェック(法務・規約を見る人やサブエージェント)を勧める。投稿・送信の引き金はユーザー

声・口調の決め方(前回の学び)

  • 声は3つほど試聴用に1文だけ作って選んでもらうと早い(1回分の枠を使う)。Leda=明るい若い女性(採用)、Gacrux=落ち着いた年上の女性(「暗くなる」で不採用)
  • 口調は見る人との関係で決める。初対面向けは丁寧でやわらかく(「〜なんです」「〜してくださいね」)
  • 別の TTS(Cloud TTS の Chirp 3 HD)は語尾の抑揚が不自然で不採用

Individual skills in this repo

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

conversion-flow-designer

> This skill should be used when the user wants to design the CTA placement and conversion flow of a landing page — where every CTA lives, how micro-conversions chain into the primary CV, where the sticky bar sits, what exit-intent shows, how long the form should be. Triggers include "CTA設計", "design conversion flow", "コンバージョン導線", "CTA placement", "マイクロCV", "exit-intent", "sticky bar", "フォーム最適化", "form length", or when the orchestrator reaches Tier 2 Step 3. It reads `02-strategy/ia.json` and `02-strategy/strategy.json` and produces `02-strategy/conversion-flow.json`. Make sure to use this skill whenever IA exists but no conversion-flow plan is on disk yet, so `copywriting-generator` knows what CTA copy to write per section and `form-builder` knows what fields to render.

design-system-builder

> This skill should be used when the user wants to generate the visual design system (colors, typography, spacing, radii, shadows, breakpoints, Tailwind config) for a landing page based on the brand tone captured in the brief. Triggers include "デザインシステム", "design system", "カラーパレット", "color palette", "デザイントークン", "design tokens", "ブランドカラー決めて", "フォント選定", "Tailwind config作って", or when the orchestrator (`lpb48`) reaches Tier 3 Step 1. It first proposes 3 clearly different design directions (from `references/design-directions.md`) and records the user's choice with a section-by-section layout plan, then builds the tokens. It reads `00-brief.json` (brand tone, industry, language) and `01-analysis/reference-clone.json` (if present) and writes `03-design/design-tokens.json` conforming to `design-tokens.schema.json`. Make sure to use this skill BEFORE `visual-mockup-designer`, `wireframe-generator` styling decisions, `image-asset-planner`, and any `lp-coder-*` skill — they all consume design tok

hanimaru1121/animation-implementer

This skill should be used when the user wants the interaction specs from `ui-microinteraction-designer` actually wired into the running implementation — each spec implemented with the library best suited for it (vanilla CSS for simple hover, GSAP for complex scroll choreography, AOS for in-view reveals, Framer Motion for React) — with `prefers-reduced-motion` always respected and animations restricted to `transform`/`opacity` so they hit 60fps. Triggers include "アニメーション実装", "アニメーションを動かして", "scroll animation", "in-view reveal", "parallax", "GSAP入れて", "AOS入れて", "implement animations", "wire up motion", "60fps", or when the orchestrator (`lp-maker`) reaches Tier 4 after `lp-coder-*`. Make sure to use this skill whenever interactions are specified but not yet animated, because the LP without motion feels lifeless even with strong copy and design.

hanimaru1121/image-asset-generator

This skill should be used when the user wants the actual image files for the landing page generated and placed in the implementation folder — based on the specs from `image-asset-planner`. If the user has an image generation MCP (DALL-E, Imagen, Stable Diffusion, Midjourney bridge) it calls that; otherwise produces a usable placeholder (labeled SVG with correct dimensions, or a CSS gradient with text). Triggers include "画像生成して", "画像を作って", "ヒーロー画像", "OG画像作成", "generate images", "create hero image", "make placeholder images", "image assets", "画像アセット", or when the orchestrator (`lp-maker`) reaches Tier 4. Note that founder/customer/real-person portraits MUST NOT be AI-generated and are flagged for the user to provide real photos. Make sure to use this skill whenever the LP has image slots that need files, so `lp-coder-*` can reference real paths.

hanimaru1121/image-asset-planner

This skill should be used when the user wants a complete spec list of every image, illustration, and icon the LP needs — file names, exact dimensions (1x/2x/3x), formats, purposes, alt text, and ready-to-paste generative-AI prompts for Midjourney/DALL·E/Imagen/Adobe Firefly. Triggers include "画像仕様", "image plan", "画像リスト", "画像プロンプト", "AI画像", "Midjourneyプロンプト", "image spec", "what images do we need", "ヒーロー画像どうする", "アイコン仕様", or when the orchestrator (`lp-maker`) reaches Tier 3 Step 4. It reads `02-strategy/ia.json`, `02-strategy/copy.json`, and `03-design/design-tokens.json`, and writes `03-design/image-spec.json`. Make sure to use this skill BEFORE `image-asset-generator` in Tier 4 — without specs, generation is random and brand-inconsistent. Every needed image is enumerated so generation can be batched.

hanimaru1121/visual-mockup-designer

This skill should be used when the user wants a high-fidelity, openable HTML+Tailwind mockup of the entire landing page — colors applied from design tokens, real copy from `copy.json`, placeholder images sized correctly, and all sections from IA visible end-to-end. Triggers include "モックアップ", "mockup", "モックアップ作って", "プレビュー", "preview", "high-fidelity comp", "デザインカンプ", "デザイン案", "ビジュアル案見せて", or when the orchestrator (`lp-maker`) reaches Tier 3 Step 3. It reads `03-design/design-tokens.json`, `03-design/wireframe.svg`, `02-strategy/copy.json`, and `02-strategy/ia.json`, and writes a single-file `03-design/mockup.html` (CDN Tailwind, no build step) the user can open in any browser. This is NOT the final shippable code — it's a designed comp. Animations and interactions are marked with HTML comments for `ui-microinteraction-designer` and `animation-implementer` downstream. Make sure to use this skill whenever the user wants to "see what the LP would look like" BEFORE committing to production

相关技能