/trove-media:trove-beat-syncfrom trove-media
Fits and validates a music beat grid for video editing, maps cuts and motion to beats, compensates audio offsets, and verifies sync on renders. Useful for music-driven video timelines.
Ships in trove-media. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when a chosen music track should shape a video timeline. Analyze and accept the beat grid before storyboarding. If no track is chosen, pace the edit to its content and leave beat sync for later. Defer media measurements and normalization to trove-ffmpeg.
scenes.py --beats requires a video stream, so it cannot read an audio-only track directly. For an audio-only track, first get consent to create temporary media. Use background.py to make a silent carrier at least as long as the track, then audio.py --replace to add the track. Read the installed manual for file arguments. Run scenes.py ANALYSIS_VIDEO.mp4 --beats. Do not claim direct MP3 support.usable from the result. Check likely half-time and double-time interpretations against supported onsets. Do not choose a tempo from the scalar alone.usable: true is necessary, but it does not prove every residual criterion. Do not claim match or residual limits passed unless measured evidence provides them.uv run --with librosa --with scipy --python 3.11. State that the command downloads packages. Without consent, report the measured result and use content pacing. Do not quietly install, download, or substitute another package.trove-ffmpeg is unavailable, mark grid analysis and dependent checks unchecked. Do not invent command output.Keep source phase and beat interval in floating-point seconds. Convert to frames only when writing the Remotion timeline. Use one shared beatF(n) function for beat-anchored cuts and keyframes. Keep source phase unchanged when compensating output offset. The formula and an example are in Beat analysis.
Use the grid for regular cuts and tightly repeated steps. Anchor isolated accents and ending holds to measured transients. Treat onsets as candidates, not automatic instructions for a visual hit. Let dense drums carry rhythm without pulsing the whole frame on every beat.
Allow no more than three full-frame impacts in the entire video. Match each one to a strongest measured hit, with at least sixteen beats between impacts. Keep ordinary beat movement on the subject or graphic layer. Do not turn every beat into a zoom, shake, flash, or inversion.
Align sound effects by their audible peak, not by the source file's first sample. Measure the output audio offset for the actual render pipeline. Apply source peak lag and measured output offset as separate values. Keep both in the timing calculation rather than hand-editing individual hit frames. See Sound design.
{"bgm": false}. Never make the no-BGM version by removing a track from the finished file with a media command.loudness.py. Measure the no-BGM stem and report its peak without applying the platform target.scenes.py DELIVERED_NORMALISED_BGM_FILE --beats on the delivered, loudness-normalised file. Compare every designed cut against the nearest measured beat, and report the error in frames. Do not use the pre-normalised render as the final re-test.check.py DELIVERED_FILE --platform DESTINATION --content for each delivered file.See LICENSE.md for the upstream license and adaptation notice.
What SKILL.md sets; muted values are Claude Code's defaults
sync video cuts to music beats; fit a BPM and phase grid before storyboarding; verify beat timing after rendering a promo; render matching BGM and no-BGM versions
npx claudepluginhub bravew/trove --plugin trove-media8 skills in this plugin
/trove-broll-ingestFind the usable moments in raw footage, cut each one, grade it, and add it to a b-roll library. Use when a raw clip or a folder of raws needs selecting, grading, and cataloguing. Not for a talking-head script and not for a finished edit./trove-ffmpegEdit video and audio locally with the vendored ffmpeg engine: cut, trim, and join clips; reframe and resize to 9:16 or 1:1; change speed; burn in captions, subtitles, logos, and titles; remove silence; sync multicam and external mics; normalise loudness; convert HDR to SDR; apply LUTs; mix background music with ducking; export for YouTube, Reels, TikTok, and X; run delivery compliance checks; detect scenes and build highlight reels, contact sheets, and whole-edit project files. Use when the request names an actual media file, a delivery target, or an edit ffmpeg performs. Do not use it for questions that merely mention video in passing./trove-product-videoPlan and produce a cinematic product promo from a frontend project or product interface. Use for a full product video, a video-shotcraft template adaptation, or a requested vertical re-composition. Do not use for general video editing./trove-shot-recipesResolve video-shotcraft shot cards and adapt their motion for Remotion scenes. Use when a user names a shot card or asks to find and apply a shot recipe./trove-take-cutCut a raw multi-take recording down to one keeper per line. Use when the same lines were read several times and the retakes, stumbles, and dead air should go. Not for footage that is already a single take, and not for a single trim./trove-video-editEdit a pre-cut talking-head video: captions, overlays, zooms, and a music bed. Use when the cut is already made and the edit is what remains. Not for raw multi-take footage and not for finding b-roll in a clip.Other plugins' skills for the same job