/agent-edite-davinci-resolve:resolve-clip-editingfrom agent-edite-davinci-resolve
Cut, trim, and assemble clips in DaVinci Resolve.
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.
The craft and the tool mechanics of building, trimming, restructuring, and
round-tripping a Resolve timeline: what the edit kernel can and cannot do, how
frame math actually resolves, which interchange format to pick, and how to
verify a cut. It does NOT cover grading, Fairlight mixing, Fusion authoring, or
rendering as ends in themselves, and it never authorizes touching source media.
Distilled from this repo's own verified sources (docs/kernels/,
docs/guides/, skills/resolve-*); stdlib-free prose, no runtime deps.
davinci-resolve MCP (live, drives a running Resolve) and/or
davinci-resolve-advanced (offline: authors .drp/.drt/.drx and reasons
over interchange with no Resolve open). Node never drives Resolve.resolve_control(action="open_page", params={"page": "edit"})scripts/resolve_common.py
(connect_resolve, preserved_state) and preflight with
python scripts/resolve_preflight.py --need <tool[.action]>resolve_control get_version → build.unavailable_on_this_build firstskill_view(name="resolve-clip-editing", file_path="references/<file>").terminal
tool. Write a Python script only behind a stated
MCP-GAP: <tool/action checked> -> <reason> line.detect_gaps_overlaps and
source_range_report.| Load | When |
|---|---|
references/resolve-timeline-model.md | Frames, timebase, pages, clip IDs, track architecture |
references/live-cut-operations.md | Duplicate/move/range/copy-properties, append semantics, what the API cannot do |
references/interchange-and-drt.md | Format choice, round-trip traps, offline .drt authoring |
references/assembly-and-tightening.md | Rough cut, tighten, head/tail trim of a short take (ffmpeg scene+silence probe, SRT shift), trim-to-length, headless loop |
references/editorial-craft.md | Where to cut, coverage pre-flight, sound first, house style |
references/verification-and-safety.md | Read-back, render-is-truth, backups, batch pipeline |
Flat command list (all via the MCP):
timeline(action="get_items", params={"track_type": "video", "index": 1})
timeline(action="duplicate_clips", params={"clip_ids": [...], "placement": "next_gap"})
timeline(action="copy_range", params={"start_frame": 110, "end_frame": 130, "record_frame": 900})
timeline(action="detect_gaps_overlaps")
timeline(action="source_range_report")
timeline(action="probe_timeline_structure")
timeline(action="export", params={"path": "C:/tmp/cut.fcp7xml", "type": "FCP_7_XML"})
media_pool(action="append_to_timeline", params={"clip_infos": [{"clip_id": "<uuid>", "start_frame": 0, "end_frame": 100, "record_frame": 1200, "track_index": 4}]})
resolve_control(action="api_truth", params={"topic": "timeline"})
timeline(action="list"), get_current,
probe_timeline_structure, source_range_report. Confirm the timeline's own
Timeline.GetSetting("timelineFrameRate") — the project setting is not a
substitute. Note the start frame: many timelines start at 01:00:00:00
(frame 108000 at 30 fps, 86400 at 24 fps).media_analysis(action="coverage_report")'s
evidence_base line before any creative recommendation. Treat a coarse
contact sheet as orientation, not an exact edit decision: re-sample around
candidate boundaries at about 0.5 s or finer with input-side seek, recording
the source start time and sample interval beside the sheet. For example:
ffmpeg -ss <start> -i <source> -t <duration> -vf "fps=2,scale=480:-1,tile=4x4" -frames:v 1 <sheet.jpg>.
Map each tile from that stated origin and interval, then inspect the frames
immediately before and after the proposed cut before locking its timecode.references/live-cut-operations.md)._variant/_150s copies over
editing a master, and keep source media untouched.duplicate_clips / copy_range /
append_to_timeline with explicit clip_ids and record positions.detect_gaps_overlaps +
source_range_report, then look at representative frames.ProjectManager.SaveProject(), then put the original
project/timeline/playhead/page back.lift_range blocks partial overlaps unless allow_partial_item_delete=True
(whole-item delete, not a trim); set_retime sets retime quality only and
returns True while a speed % change is unreachable. Say so and name the
operation the user must do in Resolve's own retime controls.hasattr lies on Resolve objects — it returns True for every name, real
or invented. Probe with name in dir(obj).Timeline.GetSelectedClips is 21.0.4+,
so never build a destructive op on "the selected clips" without reading back
what you actually got.end_frame exclusivity differs by layer/build — the MCP clip_infos
contract measured exclusive on Studio 21.0, the raw AppendToTimeline measured
inclusive-of-last-frame on 19.1.3.7. Verify with detect_gaps_overlaps rather
than trusting either from memory.SaveProject() on the never-saved Untitled Project blocks the whole
application and needs a force-kill. Check the project name first.None while reads work usually means a modal dialog is open (e.g. "Remote Audio not found"). Enumerate Resolve's windows via computer_use, dismiss the "Message" window's OK, and retry before concluding the bridge is broken or asking for a restart.timelineName silently stops working — the second import
returns None with no error.ffprobe and run the
full-clip strips in references/verification-and-safety.md. Editor-reported
still QC has passed while cues were cut off at the frame edge. When a check
fails, assign the fix to the editor with the exact timestamps and what not to
touch, then re-verify the new render.After any cut: timeline(action="detect_gaps_overlaps") plus
timeline(action="source_range_report"), then compare the item count and each
item's GetLeftOffset() against what you intended — every silent failure in
this domain returns success. For an assembled or imported cut, a render probe
(frame luma at cut boundaries, RMS for audio) is the only proof it is not black
or silent.
references/assembly-and-tightening.md (opens in a new tab)references/editorial-craft.md (opens in a new tab)references/interchange-and-drt.md (opens in a new tab)references/live-cut-operations.md (opens in a new tab)references/resolve-timeline-model.md (opens in a new tab)references/verification-and-safety.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
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).