/agent-edite-davinci-resolve:resolve-mitr-subtitle-presetsfrom agent-edite-davinci-resolve
Apply Mitr subtitle presets to 16:9 and 9:16 Resolve tracks.
Ships in agent-edite-davinci-resolve. 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.
Loads the user's saved Subtitle track presets (Inspector > Load Preset) onto
DaVinci Resolve subtitle tracks by script, picking the exact approved preset by timeline
orientation: landscape 16:9 vs portrait 9:16 Shorts. It does NOT create cues,
retime captions, or invent styles. It only copies an existing preset. Uses the
stdlib plus Resolve's own scripting bridge. Resolve has no preset API, so the
write goes into the disk-database Project.db while the project is closed.
When a DRT already holds a Subtitle track with the wanted style (for example
.hermes/kt404-hl/batch/pilot_edit.drt, Mitr Font), prefer
py -3.13 -m scripts.drt_clone_subtitle_style --timeline <src> --new <name> --styled <drt> --workdir <dir>:
export -> clone the styled track with the timeline's own cues -> import as a new
timeline -> every track, gain and fade read back equal to the source. Resolve
stays open and the source timeline is untouched. Check one burned-in render to
see the style. Bunny Girl ep5 (2026-11-07): 48 cues, Fusion zooms equal within
1e-15 (the DRT keeps 15 significant digits, so compare transforms with a
tolerance). Reference DRTs on disk: 16:9 Mitr Font =
.hermes/kt404-hl/batch/pilot_edit.drt; 9:16 Mitr-short-001 =
.hermes/projects/bunny-girl-ep3/vertical/v916.drt (used for Bunny Girl ep5
9:16, 2026-11-07, and Bunny Girl ep1 9:16 after a DRT gap edit lost the style, 2026-11-21; V1 crop and Fusion zooms read back equal). Any DRT export/import of a 9:16 timeline can drop a Mitr-short-001 style that was applied by the Project.db patch: check one burned-in subtitle frame afterwards. The MCP timeline_ai set_subtitle_preset is not a substitute for a
plain track style: it only carries animated presets (FusionCompHolderItems)
and refuses with "No animation preset".
pm.GetCurrentDatabase()['DbType'] == 'Disk').python). Python 3.14 compression.zstd (or pip install zstandard) is optional and only used for the --list font summary.C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\Developer\Scripting
and C:\Program Files\Blackmagic Design\DaVinci Resolve\fusionscript.dll..drp backup and
explicit user approval after showing the dry-run plan and exact affected
timeline/track list. Merely naming a preset or timeline is not authorization.Project.db patch. If the
helper cannot guarantee that condition, do not run --apply; use a supported
Resolve action or stop as BLOCKED and report the limitation.Use only the repository helper scripts/load_subtitle_preset.py, after checking
the Resolve MCP catalog and recording an MCP-GAP: if it lacks preset loading.
The nested skill copy is a compatibility wrapper, not an independent database
writer. Always dry-run first and present the exact plan. --apply remains
blocked unless the approved backup and fully-closed Resolve requirements above
are satisfied.
Preset mapping in the user's library (verified on project KT404_2026-09-29:
30 tracks of 1920x1080 used Mitr Font, 30 tracks of 1080x1920 _9x16 used
Mitr-short-001):
| Orientation | Raster | Preset | Font in preset |
|---|---|---|---|
| horizontal (แนวนอน) | 1920x1080 | Mitr Font | Mitr SemiBold, default position |
| vertical (แนวตั้ง) | 1080x1920 | Mitr-short-001 | Mitr Bold + custom position |
| (unused/basic) | any | mitr, mitr-short | Mitr Regular, identical bytes |
python load_subtitle_preset.py --list
python load_subtitle_preset.py --preset "Mitr Font" --orientation horizontal
python load_subtitle_preset.py --preset "Mitr-short-001" --orientation vertical
python load_subtitle_preset.py --preset "Mitr Font" --all-timelines
python load_subtitle_preset.py --preset "Mitr Font" --timeline "TL name" --timeline "TL 2"
--apply currently exits before writing any database bytes. Use this helper
for read-only discovery and dry-run planning only.
Other flags: --user (default guest), --project-db, --user-db overrides.
No target flag = current timeline only.
--list and confirm the exact preset name. Preset names are case- and
punctuation-sensitive. If the user's requested name differs from the saved
name (for example Mitr-Font vs Mitr Font), do not silently substitute;
show both names and ask which exact preset they intend.already_matches, then N of M subtitle track(s) would change.
A mixed project (16:9 + _9x16 copies) needs two runs: horizontal with
Mitr Font, vertical with Mitr-short-001. Never --all-timelines one
preset over a mixed project.--apply as unavailable: it deliberately stops before writing because
it cannot verify that Resolve fully exited. A future writer must be updated
and reviewed to enforce that condition, and must create and verify a durable
.drp backup, save/close the project, confirm no Resolve process holds the
database, and verify every changed row. Never bypass this gate by calling
the nested copy or a direct SQLite command.verified_tracks, changed_tracks, cue counts, backup dir; ask the
user to eyeball one horizontal and one vertical timeline in the viewer.How it works (for debugging): presets live in
<library>\Resolve Projects\Users\guest\User.db, SM_User.FieldsBlob, key
SubtitlePresetsBA. A styled track stores the identical bytes under
EffectFiltersBA in Sm2TiTrack.FieldsBlob. Library path comes from
%APPDATA%\Blackmagic Design\DaVinci Resolve\Preferences\dblist.conf (drive
colon stripped, e.g. G\My Drive\...). Orientation comes from
Timeline.GetSetting("timelineResolutionWidth"/"timelineResolutionHeight").
load_subtitle_preset_auto on a large project: Armigon Shorts 2026-10 (96 timelines) needed more than 90 s to exit, so the first --apply stopped with 'did not close gracefully' and wrote nothing. The close timeout is now 240 s; if it still trips, reopen with resolve_recover.py --project and rerun. 48 _9x16 tracks then patched in one relaunch (2,405 cues, every LOAD_OK), and a second dry run read already_matches=True on all 48 (2026-11-12).No target timeline has a subtitle track (orientation=vertical) is normal
for a project with only 16:9 timelines. It's not a bug.DB has N subtitle tracks but Resolve reports M: unsaved new tracks. Save in
Resolve and rerun.EffectFiltersBA (unstyled stub). The
script appends the key, which reproduces Resolve's own bytes exactly.Projects\Tygarina\2026-09-30\<name>). The
script globs recursively and requires the DB to contain the target timeline IDs
(GetUniqueId() == Sm2Timeline_id).pointSize to change Inspector Size (8.14286 is the
descriptor, not the UI size). Save a new preset in the UI instead.Nothing to do).For the current helper, preserve the dry-run report and state that the preset was not applied. A later implementation must define and verify its own post-write acceptance checks before enabling database mutation.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub pong34811/agent-edite-davinci_resolve --plugin agent-edite-davinci-resolve98 skills in this plugin
/agent-edite-skills-catalogInventory, read, and route this repo's project skills./agent-skill-repo-releaseVersion, tag, push, and publish skill-repo releases./davinci-resolve-apiComprehensive guide for scripting DaVinci Resolve Studio via its Python API. Covers environment setup, connection, project management, media pool operations, timeline building, clip placement, color management, rendering, and export. Requires DaVinci Resolve Studio (free version does not include scripting API).
/general-videoAuthor or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated motion-first unit, including an animated title. Route fresh creation through hyperframes before using this skill.
/gif-searchSearch/download GIFs from Tenor via curl + jq./grillingGrill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.