Skip to content
cccskills
FreePublished on GitHub

varg-video-editing

Choose tools and workflows for editing existing footage, from precise cuts and captions to Shorts, dubbing, AI restyling, and quality checks. The guide also explains how to preserve the source and verify the finished video.

OriginalShow the original description

Which service to edit an existing video with, and how to edit it without breaking it. A routing guide for ten editing jobs: cut, trim, resize and join (FFmpeg, the varg ffmpeg tool, Rendi), talking-head cleanup (silence and filler cuts from word timestamps: auto-editor, Descript, ElevenLabs Scribe, Groq Whisper), long video to Shorts (OpusClip, or transcript + Gemini + FFmpeg), captions and subtitles (ASS through FFmpeg, Remotion, HyperFrames, Submagic, ZapCap), assembling from a timeline or template (HyperFrames, Remotion, Shotstack, Creatomate), AI edits that restyle, swap people, relight or extend (varg Recast/Relight/ID-V2V, Runway Aleph, Luma Ray, Wan VACE), dubbing and lip sync (HeyGen, ElevenLabs Dubbing, Sync Labs), upscaling, slow motion and background removal (Topaz, SeedVR, Bria), finding moments and QA (Gemini, varg video-analyze, Twelve Labs, VideoDB), and handing the cut to DaVinci Resolve, Premiere or Final Cut. Use when someone asks to edit, cut, trim, shorten, clip, reframe, caption, subtitle, translate, dub, lip-sync, upscale, restyle or clean up footage they already have, or asks which tool or API to edit video with. Not for making a video from a brief (varg-ai and the format skills).

hashgraph-online/awesome-codex-plugins1,440 stars(GitHub 1,440 + cccskills 0)

Run score Not tested

See how to install

Good for

  • Cutting, trimming, resizing, or joining existing clips
  • Turning long footage into captioned Shorts
  • Adding subtitles, translations, or dubbing
  • Choosing a service for a specific video edit
  • Checking an edit before handing it to an editing app

Files included (3)

  • SKILL.md7.9 KB
  • references/practices.md6.4 KB
  • references/services.md17.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Video editing: which service, and how

Editing starts from footage that already exists, so the first rule is not to damage it. Work in this order, and pick the service for each step from the table below.

  1. Probe. Run ffprobe -v error -show_entries format=duration:stream=codec_type,codec_name,width,height,r_frame_rate,sample_rate -of json in.mp4. Note the frame rate, whether it is variable, the sample rate and the duration.
  2. Transcribe once if anyone speaks: word-level timestamps, saved as JSON next to the source. Every text decision reads from this file: silences, filler words, highlights, captions.
  3. Write the edit decision list as data: source, in and out points, track, effect, the service for each step and its cost. Show it to the person and wait for a yes before any paid call. On varg, run estimate_cost first.
  4. Render deterministically wherever you can (FFmpeg, HyperFrames, Remotion). Use a generative model only on the shortest span whose pixels must change. Cut that span out, edit it, and stitch it back.
  5. Verify. ffprobe the output, grab stills at every cut point (ffmpeg -ss <t> -i out.mp4 -frames:v 1 cut-<t>.jpg) and look at them. Compare the duration with the edit list.

Which service for which edit

The first service in each row is the default pick. Switch only for the reason given. The full table, with access, pricing and links, is in references/services.md.

JobPickSwitch to
Cut, trim, resize, joinFFmpeg on the agent's machinevarg ffmpeg / trim / slice / resize when there is no shell or the clips already live on varg. Rendi for hosted FFmpeg on its own key
Talking-head cleanupWord timestamps + FFmpeg (varg transcription, ElevenLabs Scribe or Groq Whisper)auto-editor for a quick local silence pass. Descript when a person will review the edit in an app
Long video to ShortsOpusClip for finished, scored and captioned clipsTranscript + Gemini + FFmpeg with a tracking crop when you need control. Vizard for cheap bulk clipping
Captions & subtitlesASS from your word timestamps, burned in with FFmpegRemotion / HyperFrames for animated styles. Submagic / ZapCap for their templates
Assemble from a timelineHyperFrames or Remotion when the agent writes the videoShotstack / Creatomate for hundreds of template variants rendered in the cloud
AI edits: restyle, swap, relightvarg: minimax_h3_max_recast (swap people), minimax_h3_max_relight, id_v2v (restyle, keep identity), minimax_h3_max_extend / _insert, prompt edits on kling_v4 and omni_flash_1_1Runway Aleph for prompt and keyframe edits. Luma Ray for motion-preserving restyle and reframe. Wan VACE for masked inpainting
Dubbing & lip syncHeyGen Video Translate (translation, voice and lips in one call)ElevenLabs Dubbing for the best voice, then Sync Labs (varg sync_v3, sync_v2_pro) for the lips
Upscale, slow-mo, cut-outsTopaz (varg topaz_video) on the final exportSeedVR / ByteDance / Sima upscalers for price. Bria for background removal
Find moments & QAGemini video understanding (timecodes, QA questions)varg video-analyze for a quick JSON report. Twelve Labs / VideoDB to search a library
Hand off to an editing appA timeline file: OTIO, FCPXML or Premiere XMLDaVinci Resolve Studio MCP to drive the app live (the only official one). Premiere has only community bridges, and CapCut has no API

Rules that save a re-render

  • Frame-accurate cuts need a re-encode. -c copy snaps to the nearest keyframe and can leave black frames or audio drift. Re-encode the cut (-c:v libx264 -crf 18 -c:a aac), or use varg trim with precise: true.
  • One frame rate before joining. Convert mixed sources first (-vf fps=30 -r 30, -ar 48000). Then use the concat filter, not the concat demuxer, unless every input has identical codecs and settings.
  • Cut audio with the video. Use the same timestamps for both. Pad each spoken cut by 50–150 ms and add a ~30 ms afade at each joint so the cuts do not click. Check that the output duration matches the edit list.
  • Never overwrite the source. Write to new files, and use low-resolution proxies for analysis and previews. Apply the final cut to the full-resolution source, and upscale only the final export.
  • Generative windows are short. Most video-to-video models take 5–30 s per pass. Split at a calm moment, edit each piece, and cross-fade the seams. Check faces and identity on frame grabs before you deliver.
  • Hosted APIs are jobs. Store the job id, poll or take a webhook, back off on 429, and download the result straight away (some links expire within hours). Pass public URLs between steps. On varg, upload once with /v2/files.
  • Reframe with tracking. For 9:16, follow the face or subject rather than cropping the center. Keep captions inside the safe zones: the top ~12% and bottom ~20% are covered by platform UI.
  • Spend only after a yes. Show the edit list and the estimate first. Cache transcripts and generations. Never re-run a paid model just to move a cut.

On varg

One key covers the deterministic and the generative steps: ffmpeg, trim, slice, resize and render for the cut, transcription for word timestamps, video-analyze for QA, and the video edit, lip-sync and upscale models above. Each model's inputs are in its spec at https://varg.ai/models/<model>.md. Prices are in credits from estimate_cost; never quote them in money. For generating new footage, use the varg-ai skill.

The full table, with access, pricing, gotchas and links: references/services.md. Online: https://skills.varg.ai/browse/skills/edit-services.md

How the best editing agents cut footage (transcript first, edit decision list, word-boundary padding, 30 ms audio fades, proxies, self-checks with a retry cap, timeline hand-off): references/practices.md, 21 practices with sources. For the named edits themselves (cuts, transitions, titles, UI, cursors, devices, numbers), use the varg-video-edit-library skill.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Plan worthwhile local tasks by checking dependencies, effects, resources, and platform boundaries, then execute the exact approved plan. It can use safe parallel work or suitable Apple-silicon backends when the project exposes them.

  • Speed up independent local build or test steps
  • Plan a task with several dependency-linked operations
  • Choose an Apple-silicon backend for supported numerical or media work
hashgraph-online/awesome-codex-plugins1.4KUpdated Oct 27, 2026

Turn a winning TikTok or Meta ad into a structured creative test plan. Identify what made it work, plan distinct concepts, set test budgets and review timing, and use funnel metrics to decide whether to stop, iterate, or scale each ad.

  • Planning how many ad concepts to test and what budget to assign
  • Creating ad variants that differ in buyer, angle, format, or opening frame
  • Diagnosing why variants perform alike or where an ad loses viewers
hashgraph-online/awesome-codex-plugins1.4KUpdated Oct 30, 2026

add

FreeSummary

Record deferred engineering decisions and temporary workarounds in a debt registry, with context such as effort, ongoing cost, affected area, and payoff trigger. Entries receive short labels so they can be reviewed or dropped later.

  • Logging a TODO or unfinished implementation
  • Recording a temporary default or bypassed check
  • Tracking a swallowed error or loosened type
hashgraph-online/awesome-codex-plugins1.4KUpdated Oct 30, 2026

Generate or compare AI agent code for LangChain, EINO, AutoGen, AgentScope, and CrewAI using framework-specific templates, API mappings, conventions, and project structures. Reference files include verification dates to help identify potentially outdated guidance.

  • Creating an agent project for a chosen framework
  • Comparing APIs across supported agent frameworks
  • Referencing framework-specific tool and memory patterns
hashgraph-online/awesome-codex-plugins1.4KUpdated Oct 26, 2026

Investigate a reproducible bug, test failure, or unexpected page behavior, then make a narrowly scoped fix. The workflow calls for a regression test before changing code, verifies the fix, and reports remaining risks and evidence while avoiding unrelated refactoring or feature work.

  • Finding the cause of a failing test
  • Fixing an unexpected page or feature behavior
  • Adding a regression test before a minimal code change
hashgraph-online/awesome-codex-plugins1.4KUpdated Oct 30, 2026

Build an AI agent project through six collaborative stages, from requirements and architecture to tools, prompts, code generation, and verification. Start framework-independent, then generate a runnable project for frameworks such as LangChain, EINO, AutoGen, AgentScope, or CrewAI.

  • Designing an AI agent from a business need
  • Generating a runnable agent project
  • Planning tools, prompts, and orchestration
hashgraph-online/awesome-codex-plugins1.4KUpdated Oct 26, 2026

See all skills by hashgraph-online

Report a problem with this skill