/vidbucks:vidbucks-reference-to-videofrom vidbucks
Takes any reference (YouTube link, video file, image set, channel, or written brief) and autonomously produces an original video matching its style and quality. Measures, classifies, collects assets, builds, and iterates.
Ships in vidbucks. 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.
None: SKILL.md is the whole skill.
Goal: the reference's STYLE and QUALITY level, with the user's own content. The reference decides the route; there is no fixed look. The steps are defaults, not limits.
tools/fetch_reference.py); media you put INTO the output defaults to clean (Google Images for viewing only, licensed assets with credits, no private faces / celebrity likeness / third-party logos in what you generate or fetch); whatever the user supplies or asks for is used as given, with the trade-off said once. The user publishes.knowledge/learned.md.core/)python tools/analyze_reference.py --file <mp4> -> knowledge/references/<slug>/ with report.md, fingerprint.json, style_spec.json (palette roles, cut/brightness/motion curves, transition mix, tempo, sound-hit rate, loudness, route hints), scene_plan.md, sheet.png. Link: --link <url> (metadata, engagement, title skeleton, thumbnail palette, captions, chapters, channel context, scene proposal) AND the video itself: it is downloaded to <ref>/source/ (tools/fetch_reference.py: yt-dlp, then the media-API fallback in VIDBUCKS_MEDIA_API; YouTube, Shorts, X, Instagram, TikTok, Reddit, Vimeo...) and measured like a file in the same folder (link_report.md keeps the link data). Then run step 2b on <ref>/source/source.mp4.
Download failed (every method)? Do everything the link allows, in order, without asking for the file: (a) --link --no-fetch; (b) a VISUAL PASS in the Browser pane: resize_window mobile, open the Shorts/watch URL, javascript_tool: v=document.querySelector('video'); v.pause(); v.muted=true; v.currentTime=T, then a screenshot at scale 0.3 every ~0.7 s for Shorts (every 2-3 s for longer videos); read the on-screen text, objects, motion, layout positions (as fractions of frame height), palette, font character, scene count; reset the viewport to desktop afterwards. View only: nothing is downloaded or stored as an asset. (c) State what stays unknown (audio, exact timings, cut statistics) and compare by side-by-side of the sampled frames instead of the numeric gate. If the user later supplies the mp4, run the numeric gate too.
2b. Verify the measurement shot by shot (the agent is the vision model). python tools/shot_review.py build knowledge/references/<slug> <mp4> writes per-shot sheets (first/middle/last), the MEASURED camera class (static, handheld, pan_tilt, push, fast from phase correlation) and the words spoken in each shot. Look at every high-priority sheet and fill review/answers.json (shot_type, size, camera, method, subject, action, place, light, on_screen_text, prompt, confidence, evidence). shot_review.py check refuses missing evidence, unknown values, contradictions with the measured camera and coverage < 80 % of the runtime; shot_review.py apply writes review.md (screen-time mix by shot type and size, hook structure, adjacent repeats, talking share, camera agreement) and prompt_formula.md (the prompt structure per shot type), and stores it in fingerprint.json["review"].sheet.png, thumb.jpg and a dense frame strip (ffmpeg -vf fps=4,scale=200:-1,tile=8x6). Name the type and the devices (slam, whip, split-open frame, light cone, typed captions, pendulum...). Read approach_hint as a hint only; if speech was not analysed it says so.scene_plan.md for the user's content: one idea per phrase, times, the icon/object per beat, captions, sound. Decide formats (9:16 / 16:9 from one responsive composition), duration, voice-over or not, the tempo grid, and the loudness target = the reference's LUFS (unknown -> -16). Plan the joins as an eye trace: give each shot an in-hook and an out-hook on the thirds (chain.json) and run python tools/cut_chain.py check chain.json (match / eye-trace / graphic / jump; jumps only on purpose), board draws it for the BOARD gate. Then the three approval gates before any full render (python tools/gates.py; the user can skip them: gates.py waive): write story.json (idea, device, beats with time / what / bridge / sound) -> gates.py story and show STORY.md (approve / change beats / different angle); after the look is built, gates.py look --comp <Id> --at <2-4 most different moments> and show look.jpg; then gates.py board --comp <Id> (one panel per beat, thumbs up/down by number, approve board --panels-down 3,7 sends panels back). gates.py check must pass before the full render; editing story.json after approval re-opens all gates. Ask with options and a recommended default (one click). Skip the gates only for a revision of an approved film or when the user says so.node tools/fetch-stock.mjs --q "<specific query>" --type image --n 4 --source wikimedia,openverse --out public/<video>/stock (specific Wikimedia queries beat Openverse's loose ranking; look at a contact sheet and pick). Cut-outs: python tools/cutout.py in.jpg out.png --mode key-red|key-dark|key-grad|none [--clear x0 y0 x1 y1] [--clear-poly ...] [--fill-rows] [--fade-bottom 0.08] - look at the result on a grey ground. Procedural/canvas assets when no licensed photo exists. User material (screenshots, logos, documents): analyse -> architecture -> rebuild as clean vectors, never paste as-is.node bin/vidbucks.mjs config get (default Remotion). Remotion: closest template in src/templates (copy its config from demos.ts, register the new composition in src/Root.tsx or src/templates/index.tsx), or new code following docs/motion-rules.md` and the Remotion skill `/remotion-best-practices. Voice-over: python tools/vo_words.py --text "..." --out public/<video> --voice af_heart --speed 0.92 (times the captions from word times). Music: python tools/make_pulse_track.py --bpm B --dur D --mood dark|bright|calm --out public/<video>/pulse.wav with B = 60*n/T so a chosen moment T lands on beat n. SFX from the audio library on the visual change points. Each phrase must end ~0.25 s before the next starts (no overlapping captions). HyperFrames: npx -y hyperframes init <name> --example blank --resolution portrait --non-interactive --skip-transcribe, author with its skills (/hyperframes, /motion-graphics, /music-to-video...), npx hyperframes check, npx hyperframes render -o out.mp4; see examples/hyperframes/typed-caption. Other renderer: follow its entry in .vidbucks/renderers/<id>.json (agentSkills, scaffold, render). Any voice: --engine custom --tts-cmd "...". Whatever built the video, step 7 (measure, compare, side-by-side) is identical.npx tsc --noEmit; render; python tools/quality_gate.py out/<render>.mp4 --ref knowledge/references/<slug>/fingerprint.json (FAIL blocks delivery, fix and gate again: picture shorter than sound, burned-in text, silence, still open); python tools/analyze_reference.py --file out/<render>.mp4; --compare <ref>/fingerprint.json <render>/fingerprint.json; --sidebyside <ref.mp4> <render.mp4> out/qa/side.png and LOOK. Fix every FIX row, re-render, repeat (about 4 loops). A clean score does not replace looking; a photographic reference caps what code can reach.| type (what you see) | route |
|---|---|
| kinetic typography, text-driven trailers | template KineticType (events on a BPM grid; words, glitch, orb, logo card, picture cards) |
| text-message / chat story (Shorts "story in texts") | kit ChatStory: tools/chat_story.py plan chat.json --out chat.timed.json --cues cues.json [--tts] (drip timing, typing indicator, composer typing, reactions, read receipt, auto-scroll; one Kokoro voice per side), render ChatStory with --props {"cfg": ...}; fictional people only, a generic messenger look (no app branding) |
| data race, ranked numbers over time | kit DataRace (cfg.keys keyframes; smooth overtakes, eased scale, nice gridlines, period label); the source line is mandatory, unreal data says "Illustrative data" |
| top-N countdown / list video | kit Countdown (rank slam, whip slide, progress rail, #1 flash; icon from the media library or a licensed picture; at per item to sync with narration) |
| ad variants: one template, many hooks / aspects | kit AdSpot + tools/ad_variants.py ads.csv --out out/ads/<c> --aspects 9:16,1:1,16:9 (hook types question / claim / pain / number / pov; index sheet compares hooks; proof only with a source or a review count) |
| logo animation, intro / outro sting | kit LogoReveal + `tools/logo_prep.py logo.svg --out logo.json --style draw |
| whiteboard explainer with a drawing hand | kit Whiteboard (icons, lines and words drawn at a set speed; the marker tip rides the stroke end; eraser wipe) |
| object-metaphor / editorial / monochrome with a voice-over (paper grain, photographed objects, split frame, light cone) | template ObjectStory + licensed cut-outs (fetch-stock + cutout.py) + vo_words.py + pulse track |
| minimal icon-and-line story, tiny serif captions typed with a voice | template IconStory (ballCoins, pendulum wave, dotted sphere; add icons in the same style) |
| particle / 3D-scroll look, rope or bloom shapes | template ParticleBloom (a word as particles); a photoreal subject or a filmed room needs real plates |
| product / UI / screen-recording promo | rebuild the UI as vector components with camera moves by default; the user's own screenshots or recordings are used as given when they want them |
| motion-design promo (bento, poster, blocks, line, retro-game/CRT) | vector primitives on a beat grid; take the layout language from the reference |
| stickman / doodle explainer, long-form | long-form route in CLAUDE.md section 5 (vidbucks-script -> vidbucks-longform-build, vidbucks-stickman-engine) |
| character / hand-drawn animation | engine characters (Doomer, Face2, Meme in src/engine) or sourced art; state the limits |
| maps / documentary | GeoMap kit with Natural Earth data (tools/geo_export.py) |
| 2D animated paper-landscape documentary (weather, natural disasters, nature, earth science, places) with an observer, field notebook and inserts | kit StormWorld + tools/storm_build.py storm.json --timing timing.json --out props.json --cues cues.json (shots start on narration lines; 10 funnel shapes, 9 events, 8 lands, 7 skies, 12 insert kinds, 5 transitions; 16:9 and 9:16) |
| dark archival documentary (public-domain photos/footage, framed prints, serif chapter cards, date tags, memos, record tables, maps with routes) | kit ArchiveDoc + tools/archive_build.py archive.json --timing timing.json --out props.json --cues cues.json (media from fetch-stock.mjs --source wikimedia, maps from board_map.py) |
| historical / character POV vlog made with an AI video model (Flow, Veo, Omni) | skill vidbucks-historical-pov |
| filmed real-world, talking head, vlog, phone-filmed screen | real licensed footage, the user's own footage if the output must contain it, or an honest mock-up; expect a lower score |
| music-only loop / meme / caption template | replicate the structure and caption format with own text; seamless loop where the reference loops |
| unknown | build the smallest prototype, measure, decide |
| Mixed types: take the route for each layer. A template is a starting point: change the code freely when the reference needs it. |
cuts_per_min / shot_len_median_s -> change scene lengths; slow the easing of big moves (every fast eased move registers as a cut) | brightness_mean / dark_frame_ratio -> background tone, vignette | loudness_lufs -> loudnorm to the reference LUFS (+ gain trim) | bpm -> new pulse track at the measured tempo (octave-free) | cuts_on_beat -> move the big moments onto beats | transition_mix -> hard cut vs blur/whip/flash to match | sound_hit_on_cuts -> SFX on the detected transition times (transition_list in fingerprint.json) | curve correlations -> reshape the pacing over time | palette_distance -> theme colours.
useMemo) and shown as images or drawn once per frame; use delayRender for anything async; keep randomness deterministic (seeded or random("key"+frame)).@remotion/google-fonts; system fonts only when the user's brand uses one.--scale 0.3-0.4 for review, render once the stills are right.What SKILL.md sets; muted values are Claude Code's defaults
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: agents: Invalid string: must end with ".md"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
12 skills in this plugin
/vidbucksEntry point of Vidbucks. Use whenever the user wants to make, plan, script, voice, animate, package, revise or analyse a video or a YouTube video, sends a reference (link, file, images, "make one like this"), asks for a promo/short/reel/explainer, or says "new video", "revise the video", "analyse this". Loads the operating manual and routes to the right skill; with any reference it starts vidbucks-reference-to-video./vidbucks-channel-studyStudy a reference YouTube CHANNEL to extract its repeatable formula (title skeleton, thumbnail recipe, length band, cadence, hook shape, caption style, palette) and write a style brief + beat sheet, using only public data and measurements. Use when the user names a channel to learn from or asks for "the style of channel X". For building the actual video from a reference use vidbucks-reference-to-video./vidbucks-footage-editEdit the user's OWN raw footage (talking head, interview, podcast, tutorial, vlog, multi-take recordings) into a finished video by its words - local transcript, a cut list (EDL) the agent writes from the transcript, one-pass render with every cut on a word boundary, captions and overlays, then verified (every word heard whole at every join, duration, loudness, cut strips). Use when the user hands over recordings and says "kurgula / edit this / cut the silences / make it tighter / remove the retakes / add captions". Not for building a video from a reference (that is vidbucks-reference-to-video)./vidbucks-historical-povHistorical / character POV vlogs made with an AI video model (Google Flow Omni/Veo, Higgsfield, any image-to-video) at the quality of the top channels - a famous figure films their own day like a modern vlogger (selfie, servant-filmed, hidden-camera B-roll), deadpan comedy, real history underneath. Covers the measured format, the script engine, the character lock, prompt blocks, continuity by extending clips, Flow settings and costs, failure rules, and the quality gates. Use when the user asks for a "tarihi vlog", "padişah vlogu", "Elizabeth/Tudor gibi", "POV vlog", "sultan selfie", a comedic history short, or any AI-generated character vlog in that style./vidbucks-longform-buildBuild a video end to end inside the vidbucks core - narration, scenes.json for the stickman engine, stock media, music/SFX, render, loudness, thumbnail and packaging. Use after the script is approved (Decision Card complete) or when the user says "build / render / produce the video"./vidbucks-metricsRead YouTube Studio metrics (CTR, first-30-second retention, average view %, impressions, traffic sources) against the metrics rules in `knowledge/metrics-rules.json` and decide continue / wait / intervene / abandon, with one concrete action. Use when the user pastes analytics, asks why a video is not growing, or wants to choose what to do next on a channel.Other plugins' skills for the same job