/dw:series-episodesfrom dw
Guides the creation of multi-episode series on a dw MCP server, ensuring consistent cast appearance across episodes via shared asset portraits and reference clips.
Ships in dw. 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.
An episode is not one generation. Each episode's shots come from their own
minimax-h3 template runs (templates/minimax/dialogue-short or
templates/minimax/music-video), and the pieces are then cut and scored
together the way templates/assemble-and-score does for a single film. A
series is that same procedure run once per episode, against one cast that
must look and sound the same in episode 5 as it did in episode 1 - which
does not happen by default, because each dialogue-short/music-video run
draws its own portraits unless told not to. This skill states the procedure
and the one step (0 below) that keeps the cast fixed; everything past it is
minimax-h3's and assemble-and-score's own rules, not repeated here.
This skill is written for dw 0.23.1; get_server_info's plugin says whether that is current.
get_server_info for the device and workspace.list_workflows(shape="sequence") for the H3 templates and for
assemble-and-score - both dialogue-short/music-video and
assemble-and-score are shape sequence. Trust the listing over the
names quoted here.minimax-h3 skill before writing any shot - the shots list
shape, the prompt format, and the hard rules (frame count, canvas,
reference limits) all come from there and are not restated here.Draw each character's portrait (and, for a voice that must hold, its
reference clip) exactly once, in whichever workflow is convenient - a bare
templates/minimax/dialogue-short run works, or any Z-Image step. Then
keep_output(name, asset_name="cast/<character>", shared=True) for
each portrait (leave the extension off: the engine appends the file's own, and
a portrait may be a JPEG or a PNG; cite the asset:cast/<character>.<ext>
that keep_output replies with), and upload_asset(..., shared=True) for a voice clip that
did not come from a run. shared=True is the whole point: it puts the
portrait in the asset library every workspace shares
(docs/WORKSPACES.md), so an episode generated in a different workspace,
weeks later, still resolves asset:cast/<character>.<ext> to the same file.
Every later episode's shots entries reference that cast with from_file,
never from_previous_result:
"references": [
{"reference_type": "image", "from_file": "asset:cast/priya.png"},
{"reference_type": "audio", "from_file": "asset:cast/priya-voice.wav"}
]
This is the step that goes missing: a from_previous_result reference (or
an unreferenced portrait prompt, redrawn from a text description that reads
close enough to pass review) draws a new face for the character in every
episode that uses it, and nothing in validation catches it - the shot
generates cleanly, and the drift only shows up when two episodes are
watched back to back. There is no engine check for "the same character
looks the same" across separate runs; the fixed-asset reference is the only
guard, so it has to be a deliberate, first step rather than an implicit one.
As guidance, not a measured rule (script-to-video step 3): frame a recurring
character large. Cast each recurring set the same way: one place card (a
Klein still of the set without the cast; an audience that belongs there
stays) per location and look, kept as
asset:places/<set> and passed after the people in every shot there; it
held the set across a reverse (PRELIMINARY, #1581;
minimax-h3/references/cuts.md, A place card holds the set).
A costume change: see A costume change in minimax-h3/references/per-character.md
(an outfit portrait's item id is cast-<name>-<outfit>).
Save each portrait prompt with save_prompt under one folder for the series
and reference it as prompt:<series>/<character> from every episode.
list_prompts(tag="<series>") is then the cast list, and a character is
referenced, never retyped - retyping is the drift this skill exists to stop.
The same goes for a long shot list: a run_workflow call carrying 26 prompts
is ~50 KB. save_prompt(name, {"text": ...}) each shot under a series-prefixed name (the library
is shared across workspaces) and pass prompt:<series>/<shot> references in
the list; they resolve in nested arguments.
Store each speaking character's voice description the same way, beside the
portrait: prompt:<series>/<character>-voice. It is the written half of the
voice clip, and the shot list's cast entry (script-to-video step 2) points at both.
Generate the episode's shots with templates/minimax/dialogue-short (or
music-video), shots referencing the fixed cast from step 0. Drift
happens across episodes, not within one; step 0 closes it. A scene longer
than one clip is planned with the long-form skill first.
A workflow you write for an ingredient - a shot, narration, a score or cue,
a still, a reference - sets "role": "intermediate" in its saving step's
result, so it reads as intermediate before the recut runs; only the
episode's cut is final. (A file a later run reads drops to intermediate.)
Optional look, before the recut. Not a beat and skippable: to give
every episode one look, grade each shot with apply_lut and one shared
palette (2-16 #rrggbb colours, dark to light), then optionally
film_grain. Fix the palette once, like the cast, and pass the same list
every episode; the same palette gives the same look. An uploaded .cube as
lut works too. The graded clips are then the recut's shots. The recipe
and its workflow are in references/look.md.
Once an episode's shot list is saved, open a request for it (<series>-ep01)
with an item per cast sheet still to draw, shot, score and the cut
(script-to-video/references/request.md). Give each run_workflow a note
(episode, shot) and its item's request; accept the keeper with
set_request, not set_note, and read the user's notes with
get_request before a revision pass.
Once every shot for the episode exists (freshly generated, or promoted from
a run with keep_output), cut and score them with
templates/assemble-and-score - it is the five-beat pipeline this skill
composes into, not something to re-derive:
shots (the episode's clips, in order) goes straight into
concat_videos as hard cuts - nothing is stabilized or rescaled, so the
clips must already share one size and frame rate.loop_audio task (target_frames = the cut's total_frames,
fps matching) rather than letting assemble-and-score pad the tail
with silence. A dialogue episode also needs room tone under its line
gaps: find_loop_bed on the recut (output: it, so the run's shots keep
every candidate inside one shot) names the stretch and its gain. Copy its
pick's start_seconds, duration_seconds and gain into
assemble-and-score's bed_start_seconds, bed_seconds and bed_gain
(0, off, by default) and the template loops that stretch under the whole
cut. Choose the window with find_loop_bed, which rejects tonal windows,
so the bed carries no speech.assemble-and-score's match_levels ("rms" or "peak") evens them
before the cut; leaving it null only warns on a wide spread instead of
fixing it. A voice-over the score buries is a different problem, not
fixed by match_levels or world_gain: duck the score or give dialogue
its own gain, per references/dialogue-mix.md.video-to-sound-effects (or text-to-sound-effect) makes
effects for the rest bed; MMAudio runs 7-25 dB hot, so match_levels them first.assemble-and-score's balanced step, -3 dBFS peak ceiling, always
enforced), but a shared peak is not a shared loudness. Pass one series
target_lufs on every episode, matched downward to what the quietest
episode can reach; before episode 1, read references/loudness.md for how
to pick it and what target_lufs_capped, limit: true and
limiter_heavy mean.For a dialogue scene cut master-and-singles, read references/sitcom-multicam.md.
For smeary two-shot faces, read references/cinema-path.md (1344x768 base
model); choose the path once, at episode 1.
Judge a finished episode with assess_output(name) before listening end
to end (a text-only client can't hear: levels come from get_gallery_metadata
with envelope=true, speech from check-script, sung lines from
attribute_voices): it measures every seam and the shots' levels, and says where to look.
A shot_dead_air finding is an H3 dialogue gap (0.5-2s of near-silence
between lines) inside one shot, not a seam problem - see minimax-h3's
room-tone bed recipe (find_loop_bed, then its pick as
assemble-and-score's bed_start_seconds/bed_seconds/bed_gain) rather
than treating it as a cut to fix.
output: a shot straight from its generation run rather than downloading
and re-uploading it as an asset - only the cast portraits and place cards from
step 0 need to be assets, since they are the one thing that must outlive a single
episode's run directory. For dialogue-short/music-video the per-shot
clips are the shot step's own files, and that step's subfolder is
intermediate - final there holds only the already-concatenated episode,
which is not a usable shots entry. So a recut references output: + the workflow's full catalog path (as
list_workflows names it, prefix and all) + /<episode run id>/intermediate/<workflow id>-shot@<name>.<index>-0.0.mp4 - not just the
template's own name - read off the run's manifest (get_job) rather than
guessed. Or, if the shot should outlive its run directory the way the cast
does, keep_output it and reference the resulting asset: instead.
Before keeping each episode shot, run dw:script-to-video's beat review
(script-to-video/references/beat-review.md) on it.
Beyond minimax-h3's own judging checklist (a character that changes
between shots, a portrait imposing its framing, a voice without affect):
watch two episodes back to back and check the cast reads as the same
people - the failure mode step 0 exists to prevent. Measure it per shot with
templates/face-drift-check (a flag to look at, not a verdict). Compare episodes'
integrated_lufs (get_gallery_metadata), not peak_dbfs; the second
half of references/loudness.md reads the gap. To confirm every
line rendered rather than judging it by ear, run templates/check-script
against the episode's script, per references/check-script.md. In a
request, link it to its own check-<episode item> item (depends_on the
episode), never to the episode it checks, or run it unlinked as a one-off
(script-to-video/references/request.md, "Run each item").
To take the project home, call export_job once per job of the project (each
episode, and the cast run), then fetch each zip's open_url and unpack it into
exports/ under the working directory (per its next).
workflows/templates/assemble-and-score.json, dw/tasks/audio_utils.py
(loop_audio), dw/tasks/joins.py (match_levels),
dw/tasks/audio_dynamics.py (normalize_audio), dw/tasks/pair_audio.py,
docs/WORKSPACES.md (the shared asset library), the minimax-h3 skill
this composes into.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dkackman/diffusers-workflow --plugin dw12 skills in this plugin
/choosing-a-modelUse when a dw MCP server is connected and the user asks for a picture without naming a model family, workflow or model ("draw a lighthouse", "make me an image of...", "the best you can do"). Routes the request to the server's preferred model through templates/preferred/text-to-image and its tier, keeps SD 1.5 for "does it work" smoke tests, lets a named family or workflow win, and reads the plan's preference line before spending./cinematographyUse when a dw MCP server is connected and the user directs the camera or the look - a shot size, a camera move (dolly, crane, orbit, whip pan, crash zoom), a lens, lighting, a film era, a pace, or a named colour grade (noir, teal-orange, 70s stock, VHS, bleach bypass) - for an H3, LTX-2.5, Kandinsky 6, FLUX 3 Klein or MiniMax-H3-Image generation. Gives a closed vocabulary and the one sentence each value becomes in that family's own caption format, and the grades as apply_lut palettes plus film_grain./flux3-kleinUse when a dw MCP server is connected and the user wants an image from FLUX 3 Image Klein - a picture from a short request or a full caption, an edit of their photo, several reference pictures combined into one, or a layout with elements placed by box. Picks the template, states the distilled schedule, the size grid and the reference rules the pipeline does not check for you, quotes cost, and points at Black Forest Labs' upsampler and prompting guide./kandinsky-6Use when a dw MCP server is connected and the user wants Kandinsky 6.0 video - a five-second clip with its own soundtrack from text, or from a picture that becomes the first frame. Picks the template, states the distilled schedule and the size and frame rules the pipeline does not enforce for you, quotes cost, and points at Kandinsky Lab's own prompt format./long-formUse when a dw MCP server is connected and the request is longer than one clip - a scene to block, a long take, a series, a music video, or music or narration longer than one generation. Splits the piece into scenes, picks per scene a single clip, cuts or a chain, sets the chain's shot preset and per-segment check, repairs one bad segment in place, joins long narration and music, and exports the cut for an editor. Every rule cites the bench record it came from./ltx-2.5Use when a dw MCP server is connected and the user wants LTX-2.5 video - a short clip with its own soundtrack, a clip from one picture or between two, a sharper full-size render, a 2x upscale of its own or the user's clip, a subject held across a clip from a reference sheet, a blurry or compressed clip restored, a black-and-white clip colourised, an alpha matte pulled from a clip, or a clip extended or chained longer. Picks the template, states schedule and size rules, quotes cost, and carries the trained caption spec the prompt must follow.Other plugins' skills for the same job