h3-base-format

h3-base-format is a skill for Claude Code, Codex from dagthomas/comfyui_dagthomas. It costs 115 tokens per session (882 once invoked), scanned A, original, MIT.

A formatting guide for writing prompts used by MiniMax H3 video-generation workflows. It defines three required sections for describing visuals, sound, and background music.

In plain words
What is it for?
Use it to format text-to-video and image-to-video prompts, including first-frame and last-frame alignment and the mapping of input images to shots.
Why use it?
The connected workflow expects exact section names and specific timing instructions, so small formatting changes can prevent it from reading the response correctly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

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.

agentmods
npx agentmods add skills/dagthomas/comfyui_dagthomas/h3-base-format
Any agent
npx skills add dagthomas/comfyui_dagthomas --skill h3-base-format
Clone the repo
git clone --depth 1 https://github.com/dagthomas/comfyui_dagthomas

Made for: Claude Code, Codex.

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 h3-base-format

README.md
[![agentmods](https://agentmods.dev/badge/skills/dagthomas/comfyui_dagthomas/h3-base-format.svg)](https://agentmods.dev/skills/dagthomas/comfyui_dagthomas/h3-base-format)
Your own site
<a href="https://agentmods.dev/skills/dagthomas/comfyui_dagthomas/h3-base-format"><img src="https://agentmods.dev/badge/skills/dagthomas/comfyui_dagthomas/h3-base-format.svg" alt="Measured on agentmods" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 882 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00115 $0.00882
Opus 5 $0.00057 $0.00441
Sonnet 5 $0.00023 $0.00176
Haiku 4.5 $0.00012 $0.00088

Measured 6d ago against content hash 3c93ca9e99fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

h3-base-format 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 6d ago.

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.

data/h3/skills/h3-base-format/SKILL.md · 67 lines

How it starts

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

H3 base format (T2VA / I2VA / FL2VA / L2VA)

This is what the APNext H3 Prompt Writer and APNext H3 Claude Code Writer nodes expect back. The node splits the text on these three labels, so they must appear exactly once, in this order, each followed by one blank line:

integrated_multimodal_description: [Shot 1] <style>, <one continuous timeline> ...

overall_soundscape: ...

non_diegetic_music: ...

The stated visual style opens [Shot 1] (the node names it, or asks you to choose one).

Alignment lines

T2VA begins directly with integrated_multimodal_description:. The other modes put one alignment line first, then exactly one blank line, then the three fields. Copy the wording character for character; only N (the number of the final shot) and S.SS (the duration, two decimals) change.

I2VA: For the target video, at 0.00 seconds into the target video, <Picture 1> (from [Shot 1]) is fully referenced.

FL2VA: How the reference pictures align with the target video — Picture 1 (from Shot 1) aligns with the 0.00-second mark of the target video; Picture 2 (from Shot N) aligns with the S.SS-second mark of the target video.

L2VA: How the reference pictures align with the target video — <Picture 1> (from [Shot N]) aligns with the S.SS-second mark of the target video.

The node's own directive repeats the right line for the chosen task type; if it and this file ever differ, follow the node.

How the node's images map

The node sends whatever was connected to its image socket as an ordered batch and hands the same frames back out as first_frame and last_frame for the video node:

  • I2VA - the image is <Picture 1>, the exact opening frame. Preserve its identity, clothing, colours, key objects and geography, then develop forward from it.
  • L2VA - the image is <Picture 1>, the exact final frame, and belongs to the last shot. Infer a plausible earlier state, then a transition path, then a gradual convergence, then land on the image.
  • FL2VA - frame 0 of the batch is <Picture 1> (opening), the last frame is <Picture 2> (ending). Describe the change between them and land exactly on the ending.
  • T2VA with an image attached - the image is visual context to describe from, not a keyframe. No alignment line, no <Picture N> labels.

Read the full file on GitHub · 67 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 67 lines · 115 tokens per session scan A 3c93ca9e99fa

Subscribe to this mod's changes

h3-base-format is a skill published in the GitHub repository dagthomas/comfyui_dagthomas (290 stars, last pushed 6d ago), licensed MIT. It adds 115 tokens to every session and 882 once invoked, about $0.0006 per session on Opus 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-08-30.

Related

Other skills, from other repositories

seedance-antislop

This skill should be used when a Seedance 2.0 prompt contains generic AI filler, hollow superlatives, vague cinematic language, bloated adjectives, weak verbs, or needs sharper production-specific wording.

Emily2040/seedance-2.0 · 48 tokens

seedance-examples-ja

This skill should be used when the user asks for Japanese Seedance 2.0 examples, Japanese prompt patterns, example rewrites, or safe versions of working Japanese video-generation prompts.

Emily2040/seedance-2.0 · 43 tokens

seedance-filter

This skill should be used when a Seedance 2.0 prompt is blocked, rejected, silently degraded, or likely to trigger a content filter; or when the user asks for a safer rewrite without losing the creative intent.

Emily2040/seedance-2.0 · 49 tokens

seedance-prompt-short

This skill should be used when the user asks for a compact Seedance 2.0 prompt, short Chinese prompt, prompt compression, 30-100 word output, or removal of unnecessary prompt language.

Emily2040/seedance-2.0 · 47 tokens

seedance-vocab-en

This skill should be used when an English Seedance 2.0 prompt is slop-heavy, generic, padded with empty quality words, tripping false-positive filters, or needs precise English production vocabulary for camera, lighting, motion, VFX, audio, and constraints.

Emily2040/seedance-2.0 · 61 tokens

seedance-vocab-zh

This skill should be used when the user asks for Chinese Seedance 2.0 prompt wording, Mandarin cinematic vocabulary, Chinese prompt compression, or translation of camera, lighting, action, VFX, audio, and production terms into Chinese.

Emily2040/seedance-2.0 · 55 tokens