SkillsGrove
SkillsGrove/動画制作/anton-abyzov/vskill/video-pipeline

video-pipeline

インストール

$npx skills add https://github.com/anton-abyzov/vskill --skill video-pipeline
$git clone --depth 1 https://github.com/anton-abyzov/vskill.git /tmp/vskill && mkdir -p ~/.claude/skills && cp -r /tmp/vskill/plugins/marketing/skills/video-pipeline ~/.claude/skills/video-pipeline
この Agent Skill をインストールしてください:https://github.com/anton-abyzov/vskill/tree/9f8b96610efc9a6af1477456188fb8d114899ccd/plugins/marketing/skills/video-pipeline — まず SKILL.md とスクリプトを読み、安全であることを確認してから、私のスキルフォルダにインストールしてください。

概要

原文の説明 · MITRun a video end to end as one ordered pipeline: intake, measure the footage, cut, assets, graphics, master, deliver. Routes each stage to the skill that owns it (hyperframes and its sub-skills, hyperframes-best-practices, media-use, kie-gemini-omni, social-media-posting), keeps a per-video stage record so work resumes after a dropped session, and ships a script that measures footage or a reference video (shots, pacing, silences, loudness, frames, word timestamps). Use when a request spans several stages ('take this recording to a finished, posted video'), or asks to 'analyze this footage', 'match the pacing of this video' or 'what is my video workflow'. Not for one stage alone: a recut goes to hyperframes-best-practices, a new composition to hyperframes, a motion graphic to motion-graphics, posting to social-media-posting.
以下の SKILL.md は anton-abyzov/vskill(コミット 9f8b966)から MIT ライセンスに基づいて転載しています。本文は変更しておらず、ファイル先頭のメタデータのみ省略し、画像はリンクとして表示し、非常に長いファイルは途中までの表示としています。Copyright 2026 Anton Abyzov。ライセンス:LICENSE。表示しているのは指示ファイルのみです。スクリプト等は元のリポジトリをご覧ください。

video-pipeline

This skill is a router with one tool of its own. It decides the order, names the owner of each stage and holds the gates between them. It does not restate what the owning skills already say: load the owner and follow it. When a rule here conflicts with an owner, the owner wins for its stage, and the user's own editing rules win over both.

Stages

Skip a stage the video does not need. Stage 3 never starts before 2 is done, and stage 5 never before the cut from 3 is approved: overlays are timed against a locked cut.

# Stage Owner Leaves behind
1 Intake: footage or brief, target length, aspect, destination this skill .work/pipeline.json, .work/targets.md
2 Measure the footage scripts/analyze.py .work/analysis.json, frames, word transcript
3 Cut hyperframes-best-practices (recorded takes), media-use operations (other footage) cuts.json, edl.txt, master.mp4
4 Assets: find, then generate media-use first, kie-gemini-omni for generated images and clips files in assets/ with their source noted
5 Graphics and scenes hyperframes picks the route: product-launch-video, general-video, motion-graphics the route's own brief, plan and compositions
6 Assemble and master hyperframes render, hyperframes-audio or media-use mixing the render the owner names (renders/video.mp4)
7 Deliver social-media-posting the file, its preview, the post once approved

A video with no footage (a launch film, an explainer, a motion graphic) starts at 1, skips 2 and 3, and enters at 5 through hyperframes.

The take rules that stage 3 routes to cover scripted recordings with retakes. Clips cut from a live stream or other unscripted footage have no retakes: cut them with stream-to-shorts, where pauses and filler words are removed.

BRIEF.md belongs to the HyperFrames skills: it has a set format, they treat an existing one as settled, and hyperframes init refuses a folder that already has files. So this skill never writes it. Its own notes (length, aspect, destination, pacing targets) go in .work/targets.md. When the video will have graphics, let /hyperframes create the project folder first, then add .work/ inside it; the owner copies what it needs from .work/targets.md into its brief.

Stage record

Keep .work/pipeline.json in the video's project folder and update it when a stage finishes, before starting the next one:

{"video": "specwithcode-handoff-reel", "stages": {
  "measure": {"status": "done", "artifact": ".work/analysis.json"},
  "cut": {"status": "approved", "artifact": "master.mp4", "note": "6 takes kept, 1.1x"},
  "graphics": {"status": "in_progress", "artifact": "compositions/"}}}

Statuses: todo, in_progress, done, approved, skipped. On pickup, read this file first and continue from the first stage that is not done, approved or skipped. Never redo an approved stage unless the user reopens it; a recut after approval resets every later stage to todo.

Stage 2: measure before cutting

python3 <SKILL_DIR>/scripts/analyze.py <footage> --out .work --frames 24 --transcribe
python3 <SKILL_DIR>/scripts/analyze.py <footage> --out .work --screencast --transcribe   # screen recording

It needs ffmpeg and ffprobe; --transcribe needs the whisper CLI and is skipped with a note when it is missing. It writes .work/analysis.json: stream facts, integrated loudness and true peak, silences and speech spans, shots, pacing numbers, and the paths of the saved frames and the word transcript.

Silences shorter than 1.2 s are ignored by default, the same threshold the take rules use, so a pause inside a take does not split it. Then read the file, and look at the frames with your own eyes before proposing anything:

  • notes lists problems to settle first (no audio, streams of different length).
  • speech_spans and silences locate the takes and the dead air between them. They are for finding boundaries, never for cutting inside a take.
  • shots on a screen recording marks where the screen changed, which is where an overlay or a zoom usually belongs.
  • loudness sets the mastering job: the gap to the target in stage 6.
  • For recorded takes, the word transcript is the source for grouping repeated attempts. The cut rules live in hyperframes-best-practices.

For footage where the picture carries meaning the words do not (a demo with no narration, a screen with small text), sample more frames (--frames 60) or read specific moments with ffmpeg -ss <t> -frames:v 1. A video-understanding model is an option for long footage; treat what it returns as a draft and check each claim against a frame.

Matching a reference video

When the user points at a video and says "like this", measure it instead of guessing:

python3 <SKILL_DIR>/scripts/analyze.py <reference file> --out .work/reference --frames 12

Carry the numbers forward, not the content: shot_median_s, cuts_per_min, first_cut_s, silence_ratio, words_per_min_spoken when transcribed, and what the frames show about layout (text position, caption style, how much of the frame the subject fills). State them as targets in .work/targets.md, for example "median shot 2.4 s, first cut by 1.5 s, about 170 spoken words a minute".

A reference is something to measure. Its footage, music, graphics, voice and wording stay out of the new video. Download one only to measure it, keep it under .work/reference/, and never place it in assets/.

Gates

Stop and get the user's answer at these points; work on anything that does not depend on it in the meantime.

  1. After stage 1 when length, aspect or destination is unknown and cannot be read from the footage or the request.
  2. After stage 3: the cut. Show the EDL snippets and the master. Nothing in stage 5 is timed until this is approved.
  3. Before any paid generation the user did not ask for by name.
  4. Before stage 7 publishes anything. Approval is per post.

In a no-questions run, gates 1 and 2 become decisions you record in the stage record with their reason; gates 3 and 4 still hold.

These are the pipeline's gates only. Each owner keeps its own, and they still apply inside its stage: for example hyperframes has the person pick a storyline for a longer film and opens the preview before the delivery render.

Stage 6: master

  • Target loudness: -14 LUFS integrated for YouTube and social, true peak at or below -1 dBFS. Run analyze.py on the render and compare; fix with the owner's mixing tools, not by re-encoding blind.
  • Video and audio stream lengths match within 0.05 s (notes reports a mismatch).
  • Scan the rendered frames for private strings before delivery: --frames at about 4 per second on a short, fewer on a long video, with --frame-width set to the render's width so small text is readable.

Inside SpecWithCode

These apply when the studio-code tools are present; elsewhere the stages run the same way without them.

  • One thread per video, titled after the video. The stage record is what lets another thread, model or machine pick it up.
  • Plan on the strongest model, execute on a cheaper one. Intake, the cut decision and the storyboard deserve the best model the project allows. Rendering, transcription, frame checks and re-renders do not: hand them to a cheaper model with delegate_task, or switch the thread with studio_thread_configure and continueWith.
  • Heavy work goes to the machine that suits it. Launch render or transcription threads on another machine with studio_thread_launch and machine, and move footage there with studio_file_transfer. Keep the stage record and the cut files in the project folder so the result comes back the same way.
  • Gates use ask_user. Publishing on signed-in sites goes through the chrome_* tools under social-media-posting.
  • Show the result as one inline image or video plus the file paths, and save a longer write-up with studio_report_save.

What this pipeline leaves out, and why

See references/stage-map.md for the tool-by-tool comparison with the public toolkit this ordering was checked against. In short: no timeline-editor connectors (the cut is an ffmpeg render from a reviewed cut list, so it can be re-run), no automatic silence or filler-word removal (the take rules keep each take whole), no cloud GPU rendering by default.

Done when

  • Every stage in .work/pipeline.json is done, approved or skipped, each with its artifact.
  • The delivered file was measured after rendering and meets the stage 6 targets.
  • The user approved the cut and, if anything was published, each post.
ライセンス全文を見る(MIT)
MIT License

Copyright (c) 2026 Anton Abyzov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.