Clip Forge 标志

Clip Forge

社区
lowdevco
clip-forge

Turn a long YouTube video, podcast, gameplay recording, match or tutorial into ready-to-post, fully edited vertical Shorts / Reels / TikToks. Finds the most viral moments (from the transcript for talk, from action, sound and scoreboard or kill-feed changes for gameplay and sport), shows a scored table for approval, then renders 1080x1920 clips with a real edit - colour grade, punch-in zooms, slow motion, sound effects, speaker tracking, an animated headline and word-by-word captions (English and Malayalam). Use whenever the user gives a YouTube link or a video file and wants shorts, reels, clips, highlights, "viral parts", "best moments", "cut this into short videos" or "edit this clip", even if they do not name this skill. Also use when a message starts with /clip-gameplay, /clip-podcast, /clip-sports, /clip-tutorial, /clip-video or /clip-edit.

概览

发布者lowdevco
代码仓库Clip-Forge
技能名称clip-forge
星标数
90
复刻数
3
附带文件
36
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 36 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lowdevco/Clip-Forge.git \
  .claude/skills/clip-forge
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Clip Forge。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

ClipForge

Long video in, a handful of finished vertical clips out. ClipForge is built by lowdevco.

The bar is a clip that looks like an experienced editor made it: the picture fills the frame, the colour has punch, the picture and sound react on the moments that matter, and the headline and captions are designed and timed. A plain cut with a label on top is not the goal.

At a glance

StepYou doOutputStop for the user?
0. ModeSettle the kind of video, read its referencereferences/<mode>.md in mindOnly if the mode is unclear
1. Checkcheck_setup.pymode, todo, speech_to_textBefore installing anything on their PC
2. Getfetch.py, the .bat route, or a file already here<workdir>/<video>.mp4 (+ subtitles)Videos over ~90 min: whole or a section?
3. FindTools from the mode referenceCandidate momentsNo
4. ScoreScore, table, askApproved clip numbersAlways. Never render before the answer
5. EditPlan → render → quality check<workdir>/shorts/*.mp4No
6. Post copyTitle, caption, hashtags<workdir>/shorts/posts.mdNo
7. Hand overDeliver files, list clips, offer changesThe replyIt ends the turn

Working conventions:

  • All scripts live in scripts/ next to this file. Call them with the absolute path to that folder.
  • One work folder per video (<workdir>); finished clips go in <workdir>/shorts.
  • Anything that takes more than a minute or two (speech-to-text, scouting, rendering) runs in the background, and you tell the user roughly how long.

Ground rules

  1. Rights. Only work on videos the user owns or may reuse. If they are clipping someone else's channel, say once that re-uploading needs the owner's permission, then carry on.
  2. Approval before rendering. Rendering is the slow part and their taste decides. Show the scored table and wait.
  3. Never invent. Hooks, callouts, kill counts, scores and quotes come from what you saw in frames or read in the transcript. Never make up a channel handle; ask for it once.
  4. Honest scores. Three good moments get three high scores, not twelve 85s. Say when you judged from still frames only.
  5. Check your own work. Look at frames of every rendered clip before showing it (step 5c).
  6. Restraint. Three well-placed beats in 30 s feel edited; ten feel like a filter.

0. Mode

The kind of video decides how moments are found, framed and captioned. Read the one reference file for the mode before step 3, and follow it.

CommandModeReferenceUse for
/clip-gameplay <link>gameplayreferences/gameplay.mdGame recordings and streams, with or without a facecam
/clip-podcast <link>podcastreferences/podcast.mdPodcasts, interviews, talking head: the moment is in the words
/clip-sports <link>sportsreferences/sports.mdMatches and broadcasts: goals, wickets, points, finishes
/clip-tutorial <link>tutorialreferences/tutorial.mdHow-to, lessons, coding, screen recordings: one complete idea per clip
/clip-video <link>videoreferences/video.mdEverything else: vlogs, reviews, events, travel, reactions
/clip-edit <file or link>editreferences/edit.mdThe user already has the clip or the times and wants only the edit; replaces steps 3 and 4
  • A command at the start of the message (or the kind of video named in words) settles the mode. Do not second-guess it.
  • With no command, decide from the title, channel and a contact sheet (peek.py --at with five times spread over the video). Still unclear: ask in one line.
  • Anything after the link is a request to honour, for example /clip-gameplay <link> top 3, neon captions, watermark @myname.

1. Check the machine

python scripts/check_setup.py

Read mode, todo and speech_to_text. Install what todo lists (they are copy-paste commands; ask before installing on the user's own PC).

ResultMeaning
mode: localYouTube is reachable (Claude Code on the user's own PC). The whole pipeline runs from just a link
mode: cloudYouTube is blocked (Claude chat / cloud sessions). The download happens on the user's computer; everything after runs here. Do not retry through other tools or mirrors: the block is at the network level
speech_to_text: falseNo transcript can be made here unless the video has subtitles. Podcast mode needs one; say so before starting

2. Get the video

A. Local mode, link given

python scripts/fetch.py "<url>" --out <workdir>

It prints the video path and any subtitle files. For videos over ~90 minutes ask whether they want the whole thing or a section (--section 600-3000).

B. Cloud mode, link given

Say plainly, in one or two sentences, that this chat cannot download from YouTube itself and the download takes one step on their PC. Then:

  1. Send them assets/pc/get_video.bat (once; they keep it in a folder of their choice, e.g. a project folder connected to the chat).
  2. They double-click it and paste the link. It saves the video, subtitles and info file into an inbox folder next to the .bat. Default is 720p to keep the file small; get_video.bat <url> 1080 gives sharper crops.
  3. If computer-folder tools are available (names containing remote-devices), list the inbox folder, copy the .mp4 and every .json3 / .vtt beside it into the workspace, and continue. Those tools usually cap one file at about 400 MB: if the video is bigger, ask them to re-run the .bat at 480, or to say which part of the video matters.
  4. With no such tools, ask them to attach the video and subtitle file (small files only), or to run this skill in Claude Code on the PC where route A works end to end.

C. A video file is already here (attached, or in a connected folder): use it directly. A subtitle file with the same name beside it is picked up automatically.

3. Find the moments

Follow the reference file for the mode. The tools it draws on:

ToolWhat it gives
transcribe.py <video> --out <workdir> [--lang en|ml|auto] [--model small]Word-timed transcript: subtitle file → faster-whisper → sherpa-onnx. Exit code 3 = no transcript possible
scout.py <video> --out <workdir> [--top 12] [--len 30] [--kind sports] [--roi x,y,w,h]The stretches with the most sound and motion, ranked, each with an 8-frame filmstrip in <workdir>/scout/, plus end.jpg for the last 45 s. --roi is the kill-feed or scoreboard box: every change there is counted and timed
track.py <video> --clips <workdir>/clips.json --writeWho is on screen and who is talking in each clip; writes a suggested layout, face positions and a speaker-following crop path into clips.json
analyze_audio.py <video> --out <workdir>Single loud instants (a laugh, a shout) with their lift in dB
peek.py <video> --at 754,760 --out x.jpgFrames at exact times
peek.py <video> --range 998-1032 --n 8 --out x.jpgA filmstrip of one stretch, start to finish
peek.py <video> --at 600 --grid --out x.jpgOne frame with a pixel grid, for reading the box of a facecam, kill feed or scoreboard
peek.py <video> --at 600,640 --crop x,y,w,h --out x.jpgOne region enlarged, for reading a score or other small on-screen text

Transcripts:

  • exact_word_timing: false means word timings are estimated inside each line. Captions still work; the highlight is a little less tight.
  • Speech-to-text is roughly real time with small on 2 CPUs. Run it in the background and tell the user. Do not go below small for Malayalam, and say Malayalam captions will need a read-through.
  • When it finishes, read <workdir>/transcript.txt in full (compact [mm:ss] text; the JSON is for the renderer).

Scouting: scout.py takes about two minutes for a 17-minute 1080p video. Its action number is a rank inside that one video: it says where to look first, not how good the moment is. Open the filmstrips and judge with your own eyes.

4. Score and get approval

Aim for 8–12 candidates on a long video (fewer if it is short), each 20–60 s; action moments can be as short as 12 s. No overlaps.

Score each out of 100:

PartPointsWhat earns them
Hook30First 3 seconds make a stranger stop: a claim, a question, or action already under way
Payoff25It delivers: the answer, the punchline, the kill, the fail
Stands alone20Makes sense without the rest of the video
Emotion15Surprise, laughter, tension, awe, or strong disagreement
Pace10No dead stretch; the length fits the content

Show the table, best first:

#TimeLenScoreHook line (on screen)Why it works
112:34–13:1036s88He quit a ₹40 lakh job for thisBold claim up front, clean ending

Then, in the same message, ask:

  • which numbers to render (offer "top 5");
  • the channel handle for the watermark, if not known;
  • whether they want a different look from the mode's default edit.

Stop here until they answer.

The hook line is the 3–8 word headline shown for the first 3.5 seconds. Put *stars* around the one or two words that carry it; they take the accent colour. Create curiosity without lying about the clip. Use the speaker's language (Malayalam hook for a Malayalam clip).

5. Edit

Read references/editing.md now. It is the editing standard; this section is the short version.

5a. Plan each clip

For every approved clip decide five things, then write <workdir>/clips.json:

DecideKeyRule of thumb
FraminglayoutFill the screen: center or speaker first, blur last
TreatmenteditFrom the mode reference, unless the user named a look
Headlinehook3–8 words, one or two *starred* words, true to the clip
BeatsbeatsThe 2–3 moments the picture reacts to; exact times beat auto
Endingend, outroEnd on the payoff, never in an end card or menu
json
{"clips": [
  {"id": 1, "start": 754.2, "end": 790.6, "hook": "He quit a *₹40 lakh* job",
   "slug": "quit-job", "layout": "auto", "edit": "story", "tighten": true},
  {"id": 4, "start": 2210, "end": 2236, "hook": "1 HP. *Four enemies.*",
   "layout": "center", "edit": "hype", "captions": false,
   "beats": ["auto", {"t": 2229.4, "fx": ["punch", "flash"], "text": "Clutch"},
             {"t": 2231.0, "fx": "slowmo", "len": 1.2}]}
]}

Edits

EditBest forWhat it does
hypeGameplay, sports, anything fastVivid grade, slow push-in, punch + shake + flash with a bass thump on each beat, condensed all-caps headline, progress bar
premiumGeneral video (default)Punchy grade, slow push-in, punch-in with a soft thump on each beat, bold headline
storyPodcasts, interviews, talking headSoft grade, zoom cuts on sentence changes, animated captions
cleanBusiness, tutorials, serious topicsSoft grade and animated text only
rawWhen the user wants it untouchedPlain cut, boxed headline, static captions

Beats are the moments the picture reacts to. Leave "beats" out to have them found from the sound, or list your own: t in source seconds, fx of punch, shake, flash, slowmo, optional text for a one-to-three word callout. Slow motion at most once per clip, on the payoff.

Layouts

LayoutResult
speaker9:16 crop centred on the detected face; follows "focus_path" from track.py when present
autospeaker if a clear face is found, otherwise blur
center9:16 crop that fills the screen; "focus_x": 0–1 slides it, "focus_path" moves it over time
stackTwo speakers, one above the other; face positions come from track.py or "faces"
splitFacecam on top, game below; needs "facecam": [x, y, w, h]
blurWhole width kept in the middle, blurred copy above and below; "zoom": 1.0–2.5 enlarges the sharp picture. Last resort: it leaves the picture small

Looks, for every clip on the command line or per clip in clips.json:

OptionPer-clip keyWhat it does
--edit hype|premium|story|clean|raw"edit"The editing treatment
--style bold|clean|neon|fire"style"Caption look and accent colour. bold: white capitals, yellow accent (default). clean: smaller sentence case, pale blue. neon: green accent, purple outline. fire: largest, orange accent
--outro "Follow for more""outro"Tag that pops over the last 1.6 s
--watermark "@name""watermark"Small see-through channel tag for the whole clip
--progress"progress"Thin bar along the top that fills as the clip plays

5b. Render

python scripts/render.py <video> --clips <workdir>/clips.json --out <workdir>/shorts [--edit hype] [--style fire] [--outro "Follow for more"] [--watermark "@name"]
  • It prints one JSON line per clip: ok, file, layout, edit, seconds, and beats with the times the effects landed.
  • A full render takes about 1.5× the clip's length per clip on an ordinary PC. Say how long, and run it in the background.
  • When framing or a beat time is a guess, run --preview first: small fast drafts (*_preview.mp4) to check before the full render.
  • Re-render one clip with --only <id>.

5c. Quality check

Pull frames from each clip and look at them before showing anything:

ffmpeg -y -loglevel error -ss 2 -i <clip.mp4> -frames:v 1 <workdir>/check_01.jpg

Check the headline (2 s), one beat, and the last second. Every clip must pass:

CheckFix if it fails
The subject is in frame, nothing important cropped offlayout, focus_x, zoom or facecam
The frame is full, not a small picture floating in blurcenter / speaker, or blur with "zoom": 1.6+ and "hook_hold": true
The hook is readable and true to the clipRewrite hook
Captions do not sit on a face or on the part of the game that matterslayout or "captions": false for voiceless gameplay
Beats land on the actual moment, not near itExact t in beats
The clip ends on the payoff, not in an end card or menuMove end; check with peek.py --range
Caption words are right (names, terms)Fix transcript.json, re-render

Re-render just the failing clip with --only <id>.

6. Post copy

For each rendered clip, in the clip's language:

  • Title: under 60 characters, the hook rephrased, no clickbait the clip does not pay off.
  • Caption: 1–2 lines plus a question or call to action.
  • Hashtags: 3–5, one broad, the rest specific to the topic or game.

Save them as <workdir>/shorts/posts.md and show them in the reply.

7. Hand over

  • Local mode: say where the shorts folder is.
  • Cloud mode: send each .mp4 and posts.md as files. If the video came from a connected folder on their computer, also save the clips into a shorts folder beside the inbox.

Finish with one line per clip (number, length, hook) and offer changes: a different start or end, another layout or caption style, a new hook line, or more clips from the remaining candidates.

Things that go wrong

SymptomCause and fix
Download fails in local mode with a sign-in or bot messageUpdate yt-dlp (python -m pip install -U yt-dlp) and retry once. Still failing: ask the user to download it another way and use route C
transcribe.py exits 3 with "could not find module ... dll"The speech engine is installed but cannot load. check_setup.py prints the fix (on Windows, the Visual C++ runtime). A machine problem, not a silent video: say so
Captions are wrong wordsThe transcript is wrong, not the renderer. Fix the words in transcript.json for that range and re-render, or re-run transcribe.py with a bigger --model
Face crop follows the wrong persontrack.py guesses the speaker from mouth movement. Switch that clip to stack, or center with a focus_x
The edit feels like too muchDrop to premium or clean, or give a short explicit beats list instead of auto
ass filter missingffmpeg was built without libass; check_setup says how to install a full build

附带文件

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

常见问题

Clip Forge AI 技能有什么作用?

Turn a long YouTube video, podcast, gameplay recording, match or tutorial into ready-to-post, fully edited vertical Shorts / Reels / TikToks. Finds the most viral moments (from the transcript for talk, from action, sound and scoreboard or kill-feed changes for gameplay and sport), shows a scored table for approval, then renders 1080x1920 clips with a real edit - colour grade, punch-in zooms, slow motion, sound effects, speaker tracking, an animated headline and word-by-word captions (English and Malayalam). Use whenever the user gives a YouTube link or a video file and wants shorts, reels,...

为什么在 TypingMind 中使用 Clip Forge?

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

如何在 TypingMind 中安装 Clip Forge?

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

哪些 AI 模型可以使用 Clip Forge?

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

Clip Forge 可以搭配多少个 AI 模型使用?

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

Clip Forge AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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