跳到正文
cccskills
免费在 GitHub 公开

context-to-video

Turn any context (blog URL, pasted article, PR diff, meeting notes, release notes, raw prompt) into a narrated explainer mp4 with slides, subtitles, and optionally a talking-head avatar. Uses a free local stack (Pillow + edge-tts + ffmpeg) with optional SadTalker for the avatar. Use when the user says "動画化", "explainer video", "解説動画作って", "ブログを動画に", "記事を動画化", "PRを動画で説明", "議事録を動画化", "context to video", or wants an mp4 from arbitrary text/source. Output is mp4 + srt under the user's chosen project workspace.

中文简介正在准备中。当前显示原文说明。

集成工具YouTubeGitHubAzure
查看安装方法

包含的文件(16)

  • SKILL.md7.1 KB
  • LICENSE.txt5.2 KB
  • references/avatar-generation-sdxl.md6.8 KB
  • references/avatar.md7.9 KB
  • references/customization.md1.6 KB
  • references/ffmpeg-advanced-filters.md3.1 KB
  • references/production-upgrade.md3.1 KB
  • references/scale-up-production.md6.9 KB
  • references/script-schema.md1.4 KB
  • references/setup.md3.2 KB
  • references/voiced-mascot.md28.1 KB
  • references/youtube-upload.md11.0 KB
  • scripts/add_avatar.py4.2 KB
  • scripts/build_video.py6.2 KB
  • scripts/download_models.ps11.9 KB
  • scripts/ellipse_overlay.py2.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Context → Video

任意の入力コンテキストを、ナレーション+スライド+字幕+(任意で)アバター付きの mp4 に変換する。

When to Use

  • 動画化, 解説動画作って, ブログを動画に, 記事を動画化, explainer video, context to video
  • リリースブログ / PR 説明 / 議事録 / 設計メモ / リリースノート / 学習コンテンツを短尺動画化したい
  • YouTube / 社内勉強会 / Teams / X 向けの素材を時短で量産したい
  • 顧客向けに出すなら TTS は Azure Speech 正規版に差し替える (既定は edge-tts 無料エンドポイント)

Input Sources (any of these works)

入力取り方
ブログ/記事 URLweb_fetch で本文取得
貼り付けテキストそのまま要約
PR / commit diffgh pr view + gh pr diff
議事録・設計メモファイル読み込み
リリースノートURL or Markdown
自由プロンプトLLM に直接構成依頼

→ ソース取得後の処理は共通(LLM が notes/script.json を書く)。

Stack (all free, local)

役割ツール
台本生成LLM (このスキル呼び出し元)
スライドPillow (BIZ UDGothic 等)
ナレーションedge-tts (Edge の Neural 音声・無料・非公式)
動画合成ffmpeg (imageio-ffmpeg 同梱バイナリ可)
字幕.srt 自動生成
アバター (任意)SadTalker (GPU推奨) + ffmpeg 楕円マスク

Quick Workflow (no avatar)

pip install edge-tts imageio-ffmpeg pillow
# 1. 入力からscript.json生成 (LLM)
# 2. 動画生成
python scripts\build_video.py --project <project-dir>
# → output\final.mp4 + final.srt

詳細: references/script-schema.md / references/setup.md

Avatar Mode (talking-head in corner)

GPU(VRAM 8GB+)があるなら、SadTalkerで右下にアバターを足せる。 初回セットアップは別 venv (Python 3.10) で 30〜40分、以降は 1動画あたり +20〜30分。

# 既存動画 + 8音声 → アバター合成
python scripts\add_avatar.py --project <project-dir> --face <face.jpg>
# 楕円マスク版を作る
python scripts\ellipse_overlay.py --project <project-dir>
# → output\final_with_avatar.mp4 と final_with_avatar_ellipse.mp4

セットアップ・落とし穴・キャラ選び: references/avatar.md

Output Layout

<project>/
├── notes/script.json                  台本 (LLM が書く)
├── slides/slide_XX.png                1920x1080
├── audio/audio_XX.mp3                 スライドごとのナレ
├── avatar/                            (任意)
│   ├── input/face.jpg                 アバター元写真
│   ├── SadTalker/                     repo + checkpoints
│   ├── venv/                          Python 3.10 + torch cu121
│   └── clips/audio_XX.mp4             各ナレぶんアバター動画
└── output/
    ├── final.mp4                      無印 (スライド+ナレ)
    ├── final.srt                      字幕
    ├── final_with_avatar.mp4          (任意) アバター矩形
    └── final_with_avatar_ellipse.mp4  (任意) アバター円形ワイプ

Defaults

  • 解像度: 1920x1080 30fps (16:9)
  • 音声: ja-JP-NanamiNeural (女性・落ち着き)。男性なら ja-JP-KeitaNeural
  • スライド数: 表紙 + 本編 5〜7 枚 (合計 6〜8 枚)
  • 配色: slate-900 / sky-400 / BIZ UDGothic
  • 1スライドあたり 15〜25 秒、合計 2〜4 分

声・配色・フォント・アスペクト比変更: references/customization.md

Production Use

無料 edge-tts は 非公式・SLA なし・商用グレー。顧客配布や常時運用には:

  • ナレーション → Azure Speech (Neural TTS) に差し替え
  • アバター付き商用 → Azure TTS Avatar (Lisa等・公式・$0.30/分〜)

詳細: references/production-upgrade.md

Common Variants

  • 9:16 ショート版 (X/Reels): W,H = 1080, 1920、ナレを 60 秒に圧縮
  • 字幕焼き込み: ffmpeg subtitles=final.srt フィルタで動画に焼く (ffmpeg-advanced-filters.md)
  • BGM 追加: 別 mp3 を低音量でミックス (ffmpeg-advanced-filters.md)
  • 章/コース化 (学習教材): script.json を章単位に分割、共通イントロ/アウトロ
  • 多言語版: voice 切替 + script を翻訳
  • チャンネル固定キャラ生成: SDXL でマスコット作って seed 保存 (avatar-generation-sdxl.md)
  • VOICEVOX + 公式キャラ立ち絵: ずんだもん等の「ゆるふわ解説」チャンネル向け、PSDレイヤー差分で本格リップシンク (voiced-mascot.md)
  • 円形アバターワイプ: ffmpeg geq filter で円形マスク + アクセントリング (ffmpeg-advanced-filters.md)
  • YouTube 自動配信: API で公開予約 + サムネ (youtube-upload.md)
  • PoC → 定期配信チャンネル昇格: ディレクトリ再設計 (scale-up-production.md)

Done Criteria

  • <out>/output/final.mp4 (またはアバター版) が再生でき、音声と映像がズレない
  • スライド本文 28pt 以上 / タイトル 56pt 以上で可読
  • ナレが入力の主要メッセージを正しく反映
  • final.srt がナレーションと同期
  • 入力ソースの著作権を侵害していない (本文丸読みでなく要約 + 引用範囲)
  • (アバター時) GPU メモリ溢れ無く完走、口パクが極端にズレていない

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Design, review, and debug agent workflows, and decide when a request should use a prompt, instruction, skill, agent, or hook before escalating to multi-agent design. Use for .agent.md / .instructions.md / .prompt.md / AGENTS.md work, workflow architecture, orchestration planning, scheduled automation model allocation, or when agent workflows may be overkill. Triggers on 'agent workflow', 'create agent', 'automation models', 'ワークフロー設計', 'orchestrator'.

中文简介正在准备中。当前显示原文说明。

aktsmm/Agent-Skills262026年10月23日 更新

Design, run, and review fair performance, token, and cost comparisons across GitHub Copilot CLI, Codex CLI, and direct model APIs. Use for AI CLI benchmark, Copilot vs Codex, prompt-cache diagnosis, cache read/write analysis, fresh-process latency measurement, token-cost comparison, or when a benchmark must separate provider caching from local CLI caches.

中文简介正在准备中。当前显示原文说明。

aktsmm/Agent-Skills262026年10月23日 更新

Analyze historical VS Code GitHub Copilot Chat sessions by model, reasoning effort, AIU, time, reliability, workflow behavior, and external quality evidence, or safely prune workspace-scoped local chat history by age. Use for session analysis, repeated-task retrospectives, model evaluation, cost/performance analysis, and old session cleanup.

中文简介正在准备中。当前显示原文说明。

aktsmm/Agent-Skills262026年10月23日 更新

Create reproducible animated infographic GIFs from structured data or measured results, with audience-language labels, explicit timing semantics, representative-frame QA, and a static fallback. Use when asked for GIF生成, animated infographic, 動的インフォグラフィック, 結果が流れる図, animated benchmark, or a blog/SNS animation whose displayed metrics must remain traceable to source data.

中文简介正在准备中。当前显示原文说明。

aktsmm/Agent-Skills262026年10月23日 更新

archify

免费

Create polished, validated architecture, workflow, sequence, data-flow, and lifecycle/state diagrams as explorable standalone HTML with inline SVG, dark/light themes, optional trace motion, and PNG/JPEG/WebP/SVG/WebM export. Accept plain-language requirements or pasted Mermaid flowchart, sequenceDiagram, and stateDiagram input; inspect repository evidence when the diagram must reflect real code. Use when the user asks to visualize system architecture, infrastructure, cloud/security/network topology, technical workflows, API call sequences, request lifecycles, data pipelines, ETL/ELT, data lineage, state machines, or to convert/beautify Mermaid. Also use for Archify, interactive or animated HTML diagrams, インタラクティブ図, 動く構成図. When an editable .drawio file is required, use the draw.io workflow instead and treat Archify HTML only as a supplement.

中文简介正在准备中。当前显示原文说明。

aktsmm/Agent-Skills262026年10月23日 更新

Generate ASCII-art text banners for terminals, READMEs, and CLI startup messages. Use when a user asks for an ASCII banner, text art, バナー, アスキーアート, or a decorative header for a script/README.

中文简介正在准备中。当前显示原文说明。

aktsmm/Agent-Skills262026年10月23日 更新

查看 aktsmm 的全部技能

报告此技能的问题