agentleFS
metiutekmetiutek/editorvideo-ai/skills/vedit/SKILL.md

vedit

Skill19 starsChanged 3 months agoMITView on GitHub

Edit video with vedit, a non-linear editor driven through MCP tools. Use when the user wants to cut, assemble, caption, color, add motion graphics or voice-over to video, make a short or a narrated explainer, cut to music, or edit "like this reference video". Covers the tool workflow, the editing rules that make a video not look flat, and what must be confirmed with the user (export, publish, generating media).

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Call open_ui if the user wants to watch the edit live in the browser.

    line 16
  2. Distinctive:

    Not all hard cuts. A cut is the default, not the only choice.

    line 36
  3. Distinctive:

    Never show the same shot twice.

    line 37
  4. Distinctive:

    After ten seconds the viewer needs new information.

    line 38
  5. Very specific:

    Write the script, generate the voice first (generate_voice), then edit on the *measured* times of the voice (speech_times), never on …

    line 72
  6. Very specific:

    When a choice is the user's (style, length, format, which version to keep): ask_user with 2-4 options, the recommended one first, instead …

    line 93
  7. Very specific:

    If something is wrong, awkward or missing in the tool itself, report_issue and keep working.

    line 96

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Editing with vedit

vedit is a timeline editor. The project is one JSON document; the render is a pure function of it (one ffmpeg filter_complex). Every change goes through the same operations whether it comes from the web UI, the in-app chat or this MCP server.

Set up

Needs the vedit MCP server (claude mcp add vedit -- uvx vedit-mcp, already wired if you installed this as a plugin) and ffmpeg. If ffmpeg is missing: install_ffmpeg. Call open_ui if the user wants to watch the edit live in the browser; both share one project.

Workflow

project_create -> import_media -> preview_media (look at the footage first)
-> plan_edit (pick the material) -> add_clips -> apply_style -> your own refinements
-> preview_grid / preview_frame (LOOK) -> review_edit -> render_video (only if asked)
  • Times are in seconds. Animatable parameters take {"kf":[{"t":0,"v":0},{"t":2,"v":1}]}.
  • project_info shows the timeline with ids. Call it when you do not already know the state.
  • Many cuts: add_clips (atomic, one call). Many other changes: batch (atomic, one undo). One call per cut is slow, floods undo history and leaves a half-built timeline if it fails.
  • preview_frame returns the real image. Look at it instead of assuming.
  • Cutting to music: music_beats gives BPM, bar offset and the energy profile. Do not guess the tempo.

Rules that stop a video looking flat

  1. The music must move: automate its gain with keyframes, pick the section with music_beats.
  2. Not all hard cuts. A cut is the default, not the only choice; every transition needs a reason.
  3. Never show the same shot twice. If the footage is not enough, make the video shorter.
  4. After ten seconds the viewer needs new information; cutting faster on the same images does not help.
  5. "Cinematic" is a choice, not a filter: one strong moment held for three seconds beats ten half-seconds.

review_edit counts the choices in the timeline and flags cut-only edits. Until it stops warning, the edit is not finished.

Motion graphics: use blocks first

list_blocks then add_block puts a ready, tuned animation on a track above the footage. 52 blocks in six families: titles (lower_third, title, mask_reveal_title, glitch_title, word_cycle, countdown, logo_shine, chapter_card, end_card), text (caption_pill, kinetic_words, typewriter, chat_messages, notification_toast, location_pin, ticker, quote...), data (counter, bar_chart, donut_chart, line_chart, timeline, rating_stars, price_tag, checklist, stat_card, steps, comparison...), emphasis (highlight_box, circle_highlight, arrow_pointer, marker_highlight, subscribe_button, alert_banner), transitions (color_wipe, flash_frame, iris_wipe, blinds_wipe) and style (letterbox, vignette, film_grain, light_leak, scanlines, viewfinder). One call, no CSS; list_blocks(block=...) gives the parameters. Only when no block fits write HTML with add_html (transparent background; the page clock is the clip clock, so preview and render match). Particles: add_particles. Highlighting a moving subject: track_mask, highlight_subject.

Camera moves

camera_move(clip, move) (list_moves): push_in, pull_out, slow_push, pan_left, pan_right, tilt_up, tilt_down, drift, punch_in, zoom_burst, whip_pan, impact_shake, beat_pulse (needs the BPM from music_beats), handheld, sway, dutch_tilt. The edges stay covered, one undo. Pick one for what the shot says; a different move on every clip is noise.

Plan before building

For more than a handful of clips, or anything that generates images or video (it costs), call propose_plan first: scenes with what, seconds, source and an estimated cost. The user sees times and totals and approves or asks for changes; only then build. An approved plan is saved next to the project.

Narrated videos (voice first)

Write the script, generate the voice first (generate_voice), then edit on the measured times of the voice (speech_times), never on estimated ones. One html clip per chapter, no set_speed on the voice, duck the music under it (duck_music).

Match a reference video

learn_style measures how a video is edited (cut rhythm, transitions, camera moves, voice-over and where cuts fall on its pauses, palette, colour cards) and saves a style. It returns two contact sheets: look at them and add what cannot be measured (characters, on-screen text, graphics) with create_style(style=<id>, guide=...), rewriting the whole guide. Then apply_style after the clips are in.

Generating media

generate_media (image or video, from a prompt, optionally starting from an image) needs a service set up by the user (generation_services says which is ready). It costs the user's credits, so it asks the user; never loop on it.

Never do on your own

  • Export (render_video) and publish (publish_video): only when the user asks. The editor asks them to confirm.
  • Generate media, install a skill: they ask for confirmation too.
  • When a choice is the user's (style, length, format, which version to keep): ask_user with 2-4 options, the recommended one first, instead of deciding at random.

If something is wrong, awkward or missing in the tool itself, report_issue and keep working.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.