/varg:blender-code-filmfrom varg
Generates a complete 3D short film in Blender using only Python scripts, with procedural terrain, instanced props, node materials, and per-shot cameras bound to timeline markers. Includes a stills-first approval pass, draft render, contact-sheet audit, and final ffmpeg encode.
Ships in varg. 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; scripts run unread.
An agent can make a finished 3D film without touching Blender's interface: it writes one Python file that builds the world, places the cameras and renders the frames. On the day Claude Fable 5.2 came out (2026-11-09) this was one of the most saved formats on X:
The starter in scripts/film.py is this skill's own test: a lantern orb drifts up a low-poly forest valley
at dusk in three shots (wide, follow, reveal), with haze, sparks and a warm rim light. Nothing is downloaded.
Put these to the person (in their language) and wait:
estimate_cost), or sounds
synthesized in code.blender --version || brew install --cask blender # or the installer from blender.org
blender -b --factory-startup -P scripts/film.py -- --stills --draft --out render/stills
Always run headless (-b) with --factory-startup so the user's add-ons and preferences can't change the
picture. Arguments after -- go to the script.
Everything that changes the picture sits at the top of film.py:
LOOK: the palette in linear RGB (sky, ground, materials, key and fill colors). One palette for the whole
film; one warm key light and one cool fill; practical lights (lamps, the orb) for the rest.SHOTS: one row per shot with start/end frames, lens in mm, the camera's start and end position in
metres, what it aims at (a moving point or an object), and key, the frame that --stills renders.build_* functions: one per part of the world, in metres, seeded (--seed) so a re-render gives
identical frames.Write the beat sheet first (what happens in each shot, in one line), then turn it into SHOTS. Rebuild the
whole scene from scratch on every run (read_factory_settings(use_empty=True)); never patch a saved .blend.
ground_z in the starter) and build
the mesh from it. Then every tree, rock and path sits on the ground exactly, with no ray casts.bpy.data.objects.new(name, proto.data)), then delete the prototype. The starter places 420 trees this way.Base Color, Roughness, Emission Color
and Emission Strength. Dark albedos (below 0.05) read as black under a grazing sun; start near 0.1.marker.camera = cam. Keyframes from
keyframe_insert are Bezier and already ease in and out.mux.sh takes any audio.--stills --draft: one quarter-size still per shot (under 1 s each after the first run). Look at them.--stills at full size: show the person and get a yes before any animation.--draft: every frame at quarter size, then scripts/sheet.sh render/draft 12 makes a contact sheet of
every 12th frame. Check: the camera never clips through geometry, nothing pops or flickers, no shot is
empty, exposure holds across cuts, the subject stays in the frame.blender -b --factory-startup -P film.py -- --out render/final, or --shot <name> to redo one shot.
Frames are PNGs, so a crash keeps every finished frame and one shot can be redone alone.scripts/mux.sh render/final film.mp4 [music.mp3] encodes H.264 CRF 18, cuts the music to the film, fades
it out over the last second and normalizes it to -14 LUFS.The builder never grades its own work (a rule that spread with Fable 5.2 prompts such as @everestchris6's).
| Eevee | Cycles | |
|---|---|---|
| Starter at 1920×1080 | 2.9 s/frame (96 samples, with haze) | not practical with haze |
| One 960×540 still, haze on | under 1 s | 3 min 16 s (64 samples, Metal GPU, includes the first kernel compile) |
| One 960×540 still, haze off | under 1 s | about 1.5 s (48 samples, denoised) |
| Whole film at 960×540, haze off (216 frames) | 2 min 29 s (0.7 s/frame) | 8 min 19 s (2.3 s/frame, 48 samples) |
| Use for | stylized, low-poly, toon, drafts, most finals | glass, caustics, photoreal interiors, product shots |
Volumes are what make Cycles slow: drop the haze (--no-haze) or render Cycles finals on a GPU farm.
film.py --engine cycles switches Cycles to the GPU backend the machine has (Metal, OptiX, CUDA, HIP,
oneAPI); with --factory-startup it would otherwise render on the CPU.
build_haze), and raise
scene.eevee.volumetric_end past the set (default 100 m) or the far sky shows a clean band.obj.visible_shadow = False on the orb, bulb or lantern.action.fcurves no longer exists (Blender 5 actions have layers and slots). To edit curves use
bpy_extras.anim_utils.action_get_channelbag_for_slot(obj.animation_data.action, obj.animation_data.action_slot).fcurves, or avoid it: default keys already ease.BLENDER_EEVEE in 5.x and was BLENDER_EEVEE_NEXT in 4.2–4.x. Read the
enum instead of hard-coding it (the starter does).Emission Color since 4.0 (older scripts set Emission).Material.use_nodes and World.use_nodes print deprecation warnings in 5.x; they still work until 6.0.Short briefs that work as one prompt (fill the brackets; ask the section 1 questions first):
Make a [20]-second [16:9] film in Blender, entirely in Python, run headless. Low-poly storybook look,
flat shading, warm practical lights, soft haze. Story in [4] shots: [one line per shot]. One palette:
[cream, teal, warm orange]. Every model, material and texture from code, nothing downloaded. Stills of
every shot first; a fresh critic reviews them before any animation. Then a quarter-size draft and a contact
sheet, then the final at 1920x1080, then an MP4 with [a calm piano bed from varg].
Make a 15-second 90s-style toy commercial in Blender with Python: [the toy] on a turntable, a hero push-in,
two close-ups of [features], a glow moment, then a packshot. Plastic materials with clear-coat, a
glossy studio floor, three-point light plus one colored rim. No real brands. Stills first, critic loop, then
render and mux with an upbeat jingle bed.
Make a music video in Blender for [song.mp3]: measure the BPM, cut on the downbeats, drive the lights and one
hero object's scale from the kick. [Theme], [palette], [3-6] shots. Contact sheet every 12th frame before
the final render.
scripts/film.py: the starter film (world, shots, render modes --stills, --draft, --shot,
--engine cycles, --samples, --percent, --no-haze, --seed). Replace the world and SHOTS with yours.scripts/sheet.sh: contact sheet of every Nth frame (frame numbers when ffmpeg has drawtext).scripts/mux.sh: frames (+ music) to MP4.Related: code-to-video-previz (a Blender or three.js blockout that drives Seedance),
code-game-trailer, code-3d-explainer, model-split-screen (Fable vs Opus, Eevee vs Cycles),
video-sound, varg-ai.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: skills.73: Invalid string: must start with "./", skills.74: Invalid string: must start with "./", skills.75: Invalid string: must start with "./", skills.76: Invalid string: must start with "./", skills.77: Invalid string: must start with "./"
.claude-plugin/plugin.json: skills.73: Invalid string: must start with "./", skills.74: Invalid string: must start with "./", skills.75: Invalid string: must start with "./", skills.76: Invalid string: must start with "./", skills.77: Invalid string: must start with "./"
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.
83 skills in this plugin
/ad-creative-testingTurn one winning ad into a creative testing plan for TikTok and Meta. Decodes why an ad won (hook, argument, buyer, format), plans concepts that Meta's Andromeda and TikTok treat as genuinely different (buyer × angle × format × first frame, not caption swaps), sets how many creatives to launch, the budget per test and when to judge, writes file and ad names that make results readable, reads hook rate, hold rate, CTR and CPA to find which part failed, and says when to kill, iterate or scale. Use when someone asks how many ads to test, how to make ad variants, why their variants all perform the same, whether an ad is fatigued, when to kill an ad, or how to scale a winner. NOT for producing the videos (use ecommerce-video-ads, ecommerce-video-edit or product-video-hooks) or for media-buying account setup./ai-ad-compliance-checkTurns an AI video ad into a compliance report for TikTok Shop, TikTok ads, Meta, YouTube, the FTC, New York's synthetic-performer law and the EU AI Act before it runs: varg video_analyze pulls every shot, spoken and on-screen claim and person, each claim is matched to the seller's evidence, the visuals are checked against TikTok Shop's AI product rules (no fake effects, before/after, changed quantity or size), people and voices against the FTC fake-testimonial rule, and the result is a pass / fix / block list with the rule, source and date, a rewrite for each fix, and the AI labels to set on each platform. Use when someone asks "is this ad allowed", "will TikTok Shop reject this", "check my AI ad for compliance", "do I need an AI label", "can an AI avatar say it used the product", or before publishing AI product ads, UGC or testimonials. Not legal advice, and not for writing the ad (use ecommerce-video-ads or tiktok-shop-video).Other plugins' skills for the same job