Youtube Video Kit 标志

Youtube Video Kit

社区热门
huytieu
youtube-video-kit

Produce YouTube-ready video packaging: a branded thumbnail, an animated opening title, background music via ElevenLabs Music, and the upload metadata bundle. Use whenever you make or publish a video (deep dives, demos, blog companions) or want thumbnails, intros, video music, or channel and playlist consistency.

Add to TypingMind

概览

发布者huytieu
代码仓库COG-second-brain
技能名称youtube-video-kit
星标数
1.3K
复刻数
162
附带文件
2
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 huytieu 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Youtube Video Kit AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/huytieu/COG-second-brain/tree/main/.claude/skills/youtube-video-kit
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huytieu/COG-second-brain.git /tmp/COG-second-brain
mkdir -p .claude/skills
cp -r /tmp/COG-second-brain/.claude/skills/youtube-video-kit .claude/skills/youtube-video-kit
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Youtube Video Kit,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Youtube Video Kit。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Youtube Video Kit 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

YouTube video kit

Package videos like a channel, not a screen recording. The template fuses two reference styles: cinematic stills with minimal text (the Anthropic channel) and dark IDE screenshots with huge boxed text, one accent word, readable at 320px (AI-coding channels). It uses the dark lane-art language from the social-media-kit skill.

Configuration

Scripts read environment variables, so nothing personal is hardcoded.

SettingEnv varDefault
Signature text (bottom-left)BRAND_URLyourblog.example
Avatar PNG with a white background (optional)AVATAR_PATHunset (no avatar drawn)
Accent word colorACCENTD97757 (terracotta, configurable)
FontsHEADLINE_FONT, MONO_FONTmacOS Helvetica Neue and Menlo, DejaVu on Linux
Opening eyebrow and chip textOPEN_EYEBROW, OPEN_CHIPexample strings
ElevenLabs keyELEVENLABS_API_KEYnone, required for music

Your channel ID, handle and avatar belong in your own config.

Requirements

  • Python 3 with Pillow
  • ffmpeg
  • ELEVENLABS_API_KEY for music generation
  • A CDP-driven Chrome logged in to YouTube Studio, for publishing (for example the browser-harness skill)

Thumbnail

scripts/ytthumb.py, 1280x720 (rendered at 2560x1440, then downscaled). Keep the template identical across a playlist and vary only headline, accent word and lane pattern.

  • Background #0A0B0D plus lane art on the right third, with green and red end dots.
  • Your avatar, if you set one, is keyed (white above 235 becomes transparent), resized with NEAREST, and placed bottom-right over the lanes. Use one consistent avatar as the channel identity rather than varying photo cutouts.
  • Headline: 2 lines at most, about 5 words, bold sans around 210px at 2x, white, with one accent word. It must stay legible at 320px wide (squint test).
  • One mono chip with real numbers and a green dot.
  • Signature and a cursor block, bottom-left.
bash
AVATAR_PATH=./avatar.png BRAND_URL=myblog.dev python3 .claude/skills/youtube-video-kit/scripts/ytthumb.py "MY AI TESTS|MY PRODUCT." AI "7 passed · 4 failed" thumb.png

Opening title

scripts/ytopen.py [out.mp4] renders 4.2s at 30fps, 1920x1080, with PIL frames piped to ffmpeg (rawvideo to libx264 crf 19). Sequence: lanes draw in, staggered (0-1.2s); eyebrow (0.6s); headline fades in by line (0.9, 1.2, 1.5s, accent word colored); chip (2.2s); avatar rises (1.6-2.6s); signature with a blinking cursor (2.6s); 0.5s fade to black. Edit HEAD in the script for the headline.

To join it to the main video, give the opening a silent AAC track (-f lavfi -i anullsrc=r=44100:cl=mono -shortest) matching the main video's audio params, then use the concat demuxer with -c copy.

Music with ElevenLabs

bash
curl -X POST "https://api.elevenlabs.io/v1/music" \
  -H "xi-api-key: $ELEVENLABS_API_KEY" -H "Content-Type: application/json" \
  -d '{"prompt": "<style prompt>", "music_length_ms": 250000}' -o bgm.mp3

Check that your plan includes the Music API first. For a narration bed, ask for "very minimal, unobtrusive, no melody hooks, no vocals". Mix the bed about 20dB under the voice-over, and louder only during the title:

bash
ffmpeg -i video.mp4 -i bgm.mp3 -filter_complex \
 "[1:a]atrim=0:<dur>,volume='if(lt(t,4.2),0.45,0.13)':eval=frame,afade=t=in:d=1.2,afade=t=out:st=<dur-3>:d=3[bg];\
  [0:a][bg]amix=inputs=2:duration=first:normalize=0[a]" \
 -map 0:v -map "[a]" -c:v copy -c:a aac -b:a 160k out.mp4

Sanity check with volumedetect on a narration window: mean near -25dB, max at or above -6dB. Store generated tracks durably so a playlist reuses the same music family.

Storyboarding: illustrate, do not slide

The principle: every frame should show the concept being narrated, not print it. A text-list frame is a slide, and viewers skim it.

  • For each voice-over sentence ask "what is the picture of this idea?" A loop that eats itself gets a drawn loop. Two lanes converging get drawn converging. Fall back to typography only for the one or two anchor statements.
  • Screenshots count as illustration only with a guided camera: a cursor moving to the thing discussed, click ripples, a highlight wrapping the exact row, zooms. A static screenshot is a slide.
  • Voice-over pacing: on non-illustration frames (rules, recaps, quotes) narrate faster, with shorter sentences or trimmed silence. Slow down only where the visual needs watching time (footage, terminal replay). A boring frame with slow narration is the biggest drop-off combination.
  • Animation speed: cursor hops 0.4s or less, element fade-ins 0.5s or less, and no static frame longer than 2.5s without something moving (cursor, spinner, highlight pulse).

Shot-segment QA before assembling

A highlight box once shipped floating over empty page space because its coordinates were guessed. Every screenshot segment passes this before concat:

  1. Highlights are in card coordinates (the screenshot scaled to card width). Cursor waypoints are in screen coordinates. Do not mix them.
  2. A highlight wraps one actual UI row or element edge to edge. It never slices through a row or floats in whitespace. Snap it to the real bounding box read off the image.
  3. Audit before rendering: paste the highlight rect onto the scaled screenshot with PIL and look at it. After rendering, extract a frame at each highlight's midpoint (ffmpeg -ss <t> -frames:v 1) and look at it.
  4. Highlights must not overlap zoom windows. The highlight rect does not scale with zoom, so end it before the zoom starts.
  5. Cursor waypoints and click ripples land on the element being narrated, not in dead space.

Upload bundle and Studio publishing

Per video, keep in the kit folder: the final mp4, the thumbnail PNG, and youtube-description.txt (hook line, chapters, blog link first, skill links, tags). Title formula: benefit, plus the named product, plus the "AI agent" keyword, 70 characters or fewer. For playlist consistency use the same thumbnail template, the same opening and the same music family.

To publish through YouTube Studio in a logged-in Chrome (your own channel):

  • The upload dialog's file input is sometimes in shadow DOM. Use cdp("DOM.performSearch", query="input[type=file]") plus DOM.setFileInputFiles by nodeId.
  • Title and description boxes are #textbox elements: select all, then type.
  • Thumbnail: input#file-loader.
  • Audience: click the VIDEO_MADE_FOR_KIDS_NOT_MFK radio through JS .click().
  • Playlist: the dropdown checkbox in the dialog.
  • Advance: #next-button three times through JS click. Set visibility with the PUBLIC radio through JS .click(), then #done-button.
  • Deleting an old upload: video edit page, Options, Delete, consent checkbox, Delete forever.
  • Replacing a video file creates a new video ID, so update every posted link. An X reply must be deleted and reposted. LinkedIn posts and Reddit comments are editable.

Definition of done

  • Thumbnail passes the 320px squint test, with signature (and avatar if you use one)
  • Opening uses the channel animation, and terminal shots follow the terminal-replica skill
  • Music bed generated, mixed and level-checked, and tracks stored durably
  • Upload bundle complete for manual publish

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Youtube Video Kit AI 技能有什么作用?

Produce YouTube-ready video packaging: a branded thumbnail, an animated opening title, background music via ElevenLabs Music, and the upload metadata bundle. Use whenever you make or publish a video (deep dives, demos, blog companions) or want thumbnails, intros, video music, or channel and playlist consistency.

为什么在 TypingMind 中使用 Youtube Video Kit?

因为您只需安装一次,就能搭配任何模型使用。Youtube Video Kit 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Youtube Video Kit?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/huytieu/COG-second-brain/tree/main/.claude/skills/youtube-video-kit。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Youtube Video Kit?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Youtube Video Kit 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Youtube Video Kit 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Youtube Video Kit AI 技能免费吗?

是的。huytieu 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇