Communitygithub.com

SrigadaAkshayKumar/ai-video-editor

根据已渲染完成的视频,生成包含YouTube标题、描述、章节、标签、置顶评论、缩略图文字以及Instagram Reels标题和话题标签的完整发布包,并根据指定的频道或客户品牌自动优化内容。

ai-video-editor 是什么?

这是一个专门为AI视频编辑器(如Claude Code、Cursor、Codex)设计的技能,用于在视频渲染完成后自动生成全面的发布包。它读取磁盘上的最终视频元数据(如清理后的转录稿、剪辑报告、视觉计划等),然后生成包括4-6个优化的YouTube标题(不超过60字符)、带章节和关键词的描述、15-25个标签、2-3种缩略图文字、置顶评论以及适配Instagram 9:16裁剪版的标题和话题标签。技能支持通过YouTube Data API、浏览器抓取或网络搜索获取真实频道数据,以匹配频道标题风格和SEO最佳实践;同时,它能够根据品牌配置文件调整输出,避免重复内容并严格遵守不虚假承诺的规则,优先使用诚实但引人注目的角度。该技能适合需要批量处理视频发布元数据的内容创作者或团队,确保所有平台上的呈现一致且优化。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/SrigadaAkshayKumar/ai-video-editor/tree/HEAD/.claude/skills/youtube-metadata

在你喜欢的 AI 中提问

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

文档

发布包(YouTube + Instagram)

视频已在磁盘上——无需询问视频内容。请先阅读以下文件:

文件提供内容
work/cleancut.transcript.md最终时间线上每位发言者的所有陈述
work/cut-report.md清理后的脚本;work/edl.json中的原因总结结构
work/visual-plan.jsonchapter_open叠加层=章节标题+最终时间戳→YouTube章节;big_statements=关键论点
work/direction.json(无人脸视频)日志、承诺、回报
output/credits.md来源+必需署名——放入描述中
project.json中 brief / brand用户对本视频的意图;如果指定了品牌,则为品牌slug
config/brands/<slug>.json该品牌的名称、用户名、频道ID、受众、标题公式、示例、链接(仅在品牌被指定时)

切勿捏造视频未传达的任何声明、数字或承诺。

1. 真实频道数据(告知用户获取的数据层级)

这是谁的视频? 此仓库为多人编辑视频。如果用户未说明,请编写频道中立元数据(标题中不包含频道名称,使用通用链接),并在一行中询问是否需要针对某个频道调优。当用户指定频道时,使用/创建 config/brands/<slug>.json 并执行以下层级。

  • 层级1 — YouTube Data API(.env 中有 YOUTUBE_API_KEY,品牌配置中有频道ID): search?channelId=…&order=viewCount&type=video&maxResults=25 和 order=date,然后 videos?part=snippet,statistics,contentDetails&id=…。历史上表现与近期表现之间的差距是最有用的信号。
  • 层级2 — 浏览器(先询问):打开频道的视频选项卡,按热门排序,阅读标题和观看次数;然后查看最新视频。公开信息,无需登录。
  • 层级3 — 网络搜索:仅限惯例,无观看次数。说明建议是基于模式匹配的。
  • 对于CTR级别的建议,请用户提供YouTube Studio数据(展示次数、CTR、平均观看时长)。

如果品牌配置缺少字段,请从频道近期标题推断惯例,并提供保存到 config/brands/<slug>.json(名称、用户名、标题公式+示例、受众、链接)的选项。

2. 惯例

  • 匹配频道自己的标题公式(与频道风格不符的标题会降低回头订阅者的点击率)。对于泰卢固语/印地语频道,通常模式是英文标题,以语言作为关键词:<吸引点> | 泰卢固语 | <频道> 或 <话题> 泰卢固语版本。
  • 检查是否已有相同话题的视频:通过本视频回答的问题进行区分,并链接旧视频。

3. 生成一个可直接复制粘贴的模块

标题 — 4-6个,按优先级排序,每个不超过60个字符,关键词在前3-4个词内,覆盖多种角度:直接问题、辟谣/负面框架、视频中包含的真实数字或结果、“适合谁”。每行一个点击逻辑说明。不使用表情符号。

描述:前两行(大多数人看到的全部内容)重述承诺和回报,第一行包含主要关键词,前150字符内关键词密集但仍可读;用受众自己的语言写一段简短段落(泰卢固语/印地语-英语混合即可);章节来自chapter_open叠加层,第一个为0:00,格式为M:SS 标题(如果有片头,则加上片头长度);链接(视频中提到的一切、相关旧视频、品牌配置中的社交媒体等);来自output/credits.md的署名模块;最后加3-5个话题标签。

标签 15-25个,逗号分隔:精确英文搜索短语、相同意图的音译(如“nptel telugu”)、频道标签、宽泛话题标签最后;意图最强的放在最前。

缩略图文字:2-3个选项,3-5个词,补充标题而非重复标题。

置顶评论:一行,邀请本视频应引发的特定评论。

Instagram(9:16裁剪版):标题的第一行是吸引点(约125字符后截断),2-4行简短文字,呼吁评论/保存,如有必要加上署名,5-10个话题标签混合话题+语言+细分领域。建议封面帧(参见 youtube-thumbnail: output/cover-9x16.png)。

规则

  • 切勿承诺视频未传达的内容;诚实的反直觉角度通常是更强的吸引点。前30秒未能兑现的点击诱饵不可取。
  • output/credits.md 要求的来源/署名不可省略。

Individual skills in this repo

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

SrigadaAkshayKumar/ai-video-editor

Turn a finished AI-edits video (projects/<p>, or several parts of one long video) into YouTube Shorts. Reuses the edit's word timestamps, reads the whole transcript, picks self-contained dialog moments, adds text hooks + comment prompts, renders 9:16 clips with Remotion. Use when the user asks to clip/make shorts from an edited project or a long video.

SrigadaAkshayKumar/ai-video-editor

Choose, fetch and place background music for an edit — Openverse search (commercial-use CC, or CC0-only), music_cues in work/audio-plan.json with fades, offsets and a deliberate silence gap; tools/mix.mjs conditions every bed, sets it to one measured house level under the voice and sidechain-ducks it. Use when adding, swapping or re-levelling music.

SrigadaAkshayKumar/ai-video-editor

Generate and style word-synced captions (Telugu, Hindi, English, code-mixed) as the HyperFrames captions pass over each format's Remotion picture, fix caption text, black captions out under on-screen text, and check caption content at every cut join. Use when creating, restyling, correcting or repositioning captions in any edit.

SrigadaAkshayKumar/ai-video-editor

Editorial rules for turning a raw talking video or voiceover into a clean cut — removing retakes, repetitions, false starts, stutters, fillers, mispronounced words, contradictions/inconsistencies, off-script chatter and dead air — by writing work/edl.json for tools/cut.mjs. Telugu, Hindi, English and code-mixed speech. Use for stage 2 of edit-video or whenever the user asks to tighten/re-cut a video.

SrigadaAkshayKumar/ai-video-editor

Turns a bare voiceover (no presenter on camera) into a finished faceless documentary/explainer for YouTube 16:9 and Instagram 9:16 — clean-cuts the narration, DIRECTS it (story spine, tension curve, hooks, involvement beats), researches the claims and screenshots the real sources, plans a scene track (stock b-roll, stills, news screenshots, pure-graphic beats) with motion graphics, designs music + SFX, renders, captions and credits it. Use when the user gives a voiceover/narration file (or says "faceless video", "make a video from this VO", "documentary").

SrigadaAkshayKumar/ai-video-editor

End-to-end editor for TALKING-HEAD videos (a person on camera) in this repo. Use when the user hands over a raw video with a speaker and wants a finished edit, or asks to continue/resume/redo any stage of an existing talking-head project — clean cut, motion graphics, b-roll, SFX, music, captions, final render, thumbnail. Delivers YouTube 16:9 and Instagram 9:16. Telugu, Hindi, English and code-mixed speech. For a voiceover with no presenter use edit-video-faceless.

SrigadaAkshayKumar/ai-video-editor

Plan the picture of an edit in work/visual-plan.json — motion graphics (28 component types across six stage layouts that dock/shrink/dim the video), b-roll cutaways from Pexels/Pixabay, camera moves, a-roll framing for 9:16 — validate it, QA it with stills in both formats, and render it with Remotion. Use for any titles, charts, stats, lower thirds, diagrams, b-roll or zooms in a talking-head or faceless edit.

SrigadaAkshayKumar/ai-video-editor

Design the sound effects of an edit in work/audio-plan.json sfx_events — which effect, where, how often — using the measured SFX library (repo assets/sfx, HyperFrames' bundled set, CC0 fetches from Openverse) and the spectral rule that sub-band cues carry structure while vocal-band cues are rationed. Mixed and levelled by tools/mix.mjs. Use when adding or adjusting SFX in any edit.

SrigadaAkshayKumar/ai-video-editor

Design and build a high-CTR thumbnail for a video this repo edited — hook selection, the real face frame pulled from the footage, background cut-out, type set with real fonts (Telugu/Devanagari included), the YouTube 1280x720 thumbnail and the Instagram 1080x1920 cover, an optional image-generation prompt for the background layer, and a feed-size legibility check. Use when the user asks for a thumbnail, thumbnail ideas, a cover image, or how to make the thumbnail more clickable.

相关技能