minimax-h3

minimax-h3 is a skill for Claude Code from dkackman/diffusers-workflow. It costs 82 tokens per session (3,405 once invoked), scanned A, original, Apache-2.0.

A video-generation workflow for MiniMax H3, a model that creates clips with sound, dialogue, or singing characters. It supports text and several ways to use pictures or reference material as part of a shot.

In plain words
What is it for?
Use it to create short videos with audio, dialogue, music, lip-sync, multiple shots, or a subject and voice guided by a reference.
Why use it?
It turns different video requests into the appropriate H3 workflow and checks the server and hardware conditions first. This avoids using an unsupported device or the wrong input format.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dw plugin — 12 skills, 1 MCP server shipped together

Good fit Use it to create short videos with audio, dialogue, music, lip-sync, multiple shots, or a subject and voice guided by a reference.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dkackman/diffusers-workflow/minimax-h3
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dkackman/diffusers-workflow --skill minimax-h3
Clone the repo
git clone --depth 1 https://github.com/dkackman/diffusers-workflow

Made for: Claude Code.

Or install dw, the plugin that ships this one along with the rest of its 12 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for minimax-h3

README.md
[![agentmods](https://agentmods.dev/badge/skills/dkackman/diffusers-workflow/minimax-h3/github.svg)](https://agentmods.dev/skills/dkackman/diffusers-workflow/minimax-h3)
Your own site
<a href="https://agentmods.dev/skills/dkackman/diffusers-workflow/minimax-h3"><img src="https://agentmods.dev/badge/skills/dkackman/diffusers-workflow/minimax-h3/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for minimax-h3

Your own site · 80×15
<a href="https://agentmods.dev/skills/dkackman/diffusers-workflow/minimax-h3"><img src="https://agentmods.dev/badge/skills/dkackman/diffusers-workflow/minimax-h3.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,405 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00082 $0.03405
Opus 5.5 $0.00033 $0.01362
Sonnet 5.5 $0.00016 $0.00681
Haiku 4.5 $0.00008 $0.00341

Measured yesterday against content hash d1cc642581cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

minimax-h3 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dw/skills/minimax-h3/SKILL.md · 199 lines

How it starts

The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MiniMax H3 on a dw server

H3 generates video and audio together. Every template fits a 24 GB card.

Before anything

This skill is written for dw 0.23.1; get_server_info's plugin says whether that is current.

  1. get_server_info: the device (H3 is CUDA) and the workspace.
  2. list_workflows with shape "shot", "sequence" and "audio": the family's templates by name, summary, traits, cost; it outranks names here.
  3. get_workflow on the one chosen: variables and defaults.

Which shape is the request

  • One clip, up to 14.4 seconds, from text: templates/minimax/video-with-audio (960x544, fast), or templates/minimax/video-with-audio-768p to render. From a one-line idea: templates/minimax/enhance-prompt writes it first.
  • Pinned to a picture: first frame templates/minimax/image-to-video; first and last templates/minimax/first-and-last-frame; last only templates/minimax/last-frame-only; a one-line idea plus a picture templates/minimax/enhance-prompt-with-image. Draw it with the minimax-h3-image skill (CUDA, ~70 GB RAM), else flux3-klein.
  • A locked frame that lip-syncs to a song: FL2VA with the song held by hold_audio keeps the first frame's pixels and the mouth follows the track (add it to templates/minimax/image-to-video's fl2va step). Fallback: Ref2VA [keyframe completion + audio reuse], <Picture 1> the first frame, <Audio 1> the song, also held: framing, not pixels, ~4.7x the denoise; a last frame costs 45% more and does not land.
  • Pinned to a clip (hold earlier footage): a guides argument on t2va/fl2va - up to 4 clips, 3 on a guide chain, each at a frame that is a multiple of 17; the VRAM ceiling charges each guide's frames on the canvas. A guide holds look as well as motion: a full-length one copies the take; a style prompt does not restyle it. "audio": true on a guide holds its soundtrack too. Rules and example: get_guide("workflows", section="H3: holding a clip with guides").
  • Fix one region of a good take (the rest and audio stay): templates/minimax/regional-edit; first references/regional-edit.md.
  • Reframe a take to portrait: fit_to_model mode: "crop", or re-render at a 32-multiple portrait size.
  • Replace a performer: replace-performer-cuts, pick its cuts, replace-performer; the prompt gives each cut's pose and framing. A cut's prompt/seed beats the workflow seed/prompt; re-roll one cut by rerun_job with only its seed new. Limits: 1-32 cuts; render_frames on 17n+5 in 124-345, ≥ num_frames; references ≤ 9 images, 12 files. references/regional-edit.md.
  • A good take with a soft small face: templates/minimax/face-repair.
  • New setting, same action: the clip as sole video reference, a CHANGE/PRESERVE prompt; bench/records/env-swap-ref2va.md.
  • Sound for a silent clip (picture kept): templates/minimax/add-sound; listen_scale 0.5 is fastest that keeps lip sync. Never re-voice an on-screen speaker: voice-over.
  • A consistent subject: templates/minimax/reference-to-video (image: appearance, audio clip: voice); templates/minimax/composable-references adds a video reference for framing and camera, at ~4x (a 22-frame window ~1.4x); templates/minimax/generated-subject-reference draws the subject first; templates/minimax/voice-timbre-reference fixes a voice from Bark.
  • Several boards, one generation, unbroken score: templates/minimax/storyboard, cuts no concat matches. One beat only; past that, cuts.
  • Longer than one clip (14.4 s): read the long-form skill first; it picks cuts, a chain or a bridge per scene, the chain's shot preset and its check. H3's chains: templates/minimax/chained-segments (default continuity: "guide", guide_frames 22 or 39 (default 22) holds the last frames and voice as a guide), templates/minimax/chain-video-continuity (the previous tail as a video reference), templates/minimax/chain-matched-to-audio (a track sets the length), templates/minimax/chain-matched-and-aligned (per-segment prompts). What a guide seam trims and carries: references/chains.md. A long monologue held to a narration is long-form's narrated take.
  • A piece with cuts: fresh shots from shared portraits, then a concat. templates/minimax/dialogue-short (draws the cast, one shot per shots entry, concat_videos splices) and templates/minimax/music-video (a song, one slice and one lip-synced shot per entry, padded then trimmed to its cut - from_file reuses an existing cast portrait and skips drawing). Render rule: an entry's num_frames is max(124, next 17n+5 ≥ lead_frames + cut_frames); past 345, split the span. Before composing one, read references/cuts.md: the shots list (a music video's six fields), cost per entry, scoring and one voice across cuts.
  • Dialogue into a song, not a concat: slice_audio, join_into_song, pair_audio, in that reference's last section.
  • Unrelated shots, no cut: templates/minimax/shots-batch - one H3 step per entry. keep_output each clip, then templates/assemble-and-score cuts and scores.
  • Music alone: templates/minimax/music; minimax-music3 skill: audio_duration is a ceiling, not a length.
  • Replace a shot's sound: templates/video-to-sound-effects (MMAudio, 7-25 dB hot: match_levels first), then pair_audio.

Read the full file on GitHub · 199 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +2 lines d1cc642581cb
  2. 7d ago Changed · +3 lines 5656857ca632
  3. 15d ago First seen · 194 lines · 82 tokens per session scan A 015fb9bd891e

Subscribe to this mod's changes

minimax-h3 is a skill published in the GitHub repository dkackman/diffusers-workflow (19 stars, last pushed today), licensed Apache-2.0. It adds 82 tokens to every session and 3,405 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-15.

Related

minimax-h3 compared with skills from other repositories

minimax-h3 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
minimax-h3dkackman/diffusers-workflowSkill19todayApache-2.0A82Claude Code
multimodal-stable-diffusiondavila7/claude-code-templatesSkill34ktodayMITA52Claude Code, Codex
genai-visionj4flmao/agent-skillsSkill4613d agoMITA91Claude Code, Codex
workflows-guidecyanheads/workflows-mcp-serverSkill318d agoApache-2.0A79Claude Code
stable-diffusion-image-generationsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A50Claude Code, Codex
stable-diffusion-image-generationOrchestra-Research/AI-Research-SKILLsSkill15k1mo agoMITA50Claude Code
test-workflowanatolykoptev/n8n-mcp-agentSkill0yesterdayMITA17Claude Code, Codex