/agent-edite-davinci-resolve:resolve-smart-editfrom agent-edite-davinci-resolve
Assemble and verify cuts in DaVinci Resolve Studio.
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.
None: SKILL.md is the whole skill.
Build a reviewable rough cut using Resolve MCP and, where necessary, the local Python Scripting API. Save time by reusing analysis and validating one representative edit before batching. Do not touch the original timeline or source media, automate the GUI, or render and publish outside the authorized scope.
docs/guides/editorial-decision-guide.mdresolve-rough-cutresolve-tighten-recordingdocs/kernels/timeline-edit-kernel.md<name>_smart_edit_v1), leaving the original timeline completely intact.resolve-rough-cut.resolve-tighten-recording.resolve-edit.resolve-color, resolve-audio, or resolve-fusion.AGENTS.md, docs/OPERATING-NOTES.md, and house-style for project/channel rules.davinci-resolve MCP, use the verified project server entry in .mcp.json with the active Hermes profile's mcp_servers configuration. Confirm attachment with a read-only call; a saved schema is not a connection.docs/guides/resolve211-agent-guide.md for runtime and build details.Use the attached MCP schema for live actions. Through terminal, invoke python scripts/resolve_preflight.py --need media_pool.append_to_timeline for a read-only positioned-edit preflight. Stop on BLOCKED; don't start Resolve or switch projects implicitly. A passed preflight does not verify a write.
resolve_control → get_version, check_version_support, api_truth.media_analysis → coverage_report, summarize, get_report.edit_engine → plan_dead_space_markers, plan_transcript_tighten.get_resolve_status, get_whats_new, search_scripting_api, get_scripting_api, get_scripting_docs, run_script.MediaPool.AppendToTimeline, Timeline.GetItemListInTrack, ProjectManager.SaveProject().MCP-GAP: <tool/action checked> -> <reason> and confirm the exact method in the installed Scripting API or Studio MCP before using sandboxed run_script. If that is unsuitable, use read_file on scripts/INDEX.md and search_files for a reusable helper. A new one-off goes in scripts/scratch/ and uses connect_resolve and preserved_state(resolve) from scripts/resolve_common.py. No run_script_unsafe without explicit approval.coverage_report and reuse current transcripts, markers and contact sheets; fill only gaps that affect the cut. For dialogue, establish premise → setup → turn → payoff in sound before choosing pictures. Judge cuts by whether a thought lands, a reaction adds meaning, and sound stays natural; confirm those beats in picture and audio. Do not remove pauses or retakes unless authorized; Thai caption text follows house-style.[IN, OUT) at source FPS, absolute record frames at timeline FPS, and target tracks. Validate an existing draft through terminal: python scripts/edit_workflow.py validate scratch/edit-review/edit_decisions.json. See docs/EDIT-WORKFLOW.md for the plan and QC receipt format..drp backup (scripts/backup_drp.py, export_verified) before batch writes. Apply to a new variant after approval. Pilot the hardest case first (e.g. mixed FPS, nonzero timeline start, linked audio). Read back both source and record ranges, then apply serially. If the result differs, stop and inspect before retrying; reuse completed work only when it matches the plan. No pytest in the live run–inspect–fix loop.[ Raw Media ] ──> [ 1. Ingest & Prep ] ──> [ 2. Multimodal Analysis ]
│
[ 5. Verification ] <── [ 4. Variant Assembly ] <── [ 3. Review Gate ]
terminal to compare the reported frame rates with ffprobe:
ffprobe -v error -select_streams v:0 -show_entries stream=r_frame_rate,avg_frame_rate -of default=noprint_wrappers=1 <file>
timelineFrameRate via project_manager(action="safe_set_project_settings"). Note: Resolve permanently locks timelineFrameRate once any timeline is created.# Mandatory: ImportMedia always deposits into current folder
media_pool(action="set_current_folder", params={"folder_id": target_bin_id})
media_storage(action="import_media", params={"paths": [clip_path]})
job = media_analysis(action="start_batch_job", params={
"clip_id": hero_clip_id,
"vision": False,
"transcription": {"enabled": True}
})
# Drive batch job to completion
media_analysis(action="run_batch_job_slice", params={"job_id": job["job_id"]})
terminal to tile already-sampled frames for visual inspection:
python3 scripts/contact_sheet.py <clip_dir> <scratch_out_dir>
plan = edit_engine(action="plan_tighten", params={
"timeline_name": source_timeline_name,
"tightness": "generous",
"min_pause_seconds": 1.2
})
word_plan = edit_engine(action="plan_transcript_tighten", params={"clip_ref": hero_clip_id})
edit_engine(action="plan_dead_space_markers", params={
"timeline_name": source_timeline_name,
"tightness": "generous"
})
18m 20s -> 13m 45s, saved 4m 35s).create_timeline_from_clips:
media_pool(action="create_timeline_from_clips", params={
"timeline_name": f"{source_timeline_name}_smart_edit_v1",
"clip_infos": clip_infos
})
start_frame / end_frame are in source clip frames.end_frame as exclusive. Convert to the live action's convention and confirm it on the variant.record_frame is in timeline frames; confirm the action's relative/absolute mode. Use actual timeline start and frame rate, not zero or the source rate by default.gaps = timeline(action="detect_gaps_overlaps")
# Compare to the plan; no unintended gaps or overlaps.
readback.after.clip_count reflects both video and mirrored audio tracks.| Trap | Symptom | Invariant Fix |
|---|---|---|
| End-frame convention | One frame missing after append | Verify the wrapper and item type. Half-open ranges matched tested video/audio appends on 21.1.0.17; verify the current build on a pilot. |
ImportMedia current folder | Clips land in root bin or wrong folder | Call media_pool(action="set_current_folder") before importing |
Locked timelineFrameRate | Project fps cannot be changed | Set project frame rate before creating the first timeline |
| WAV Source Rate Freeze | Audio item source start drifts by minutes | Audio items take project rate at import. Divide by reported source_fps, never hardcode 24 |
| Mixed FPS | Success reported but variant is short | Keep FPS as a rational value, calculate planned record duration separately, and verify the actual range instead of blindly extending the source. |
| Analyzed layer only | A tighten removes secondary video or linked audio | Verify planned coverage on all affected tracks. Do not reuse a single-layer plan as a whole-timeline edit. |
| Misleading API probe | hasattr says a nonexistent method is available | Use name in dir(obj); compare the installed vendor docs, attached action, and actual runtime results separately. |
| Unsupported retime or trim | Quality settings mistaken for speed or guessed razor calls | Inspect SetSpeed/set_speed on the specific build. Constant speed does not establish ramp support; never invent setters. |
tightness="generous".Compare the saved variant's live track inventory with the approved decision list and the original baseline: source ID and bounds, record start/end, track, linked audio, subtitles, and duration. Check picture and sound at each changed join for sync, complete dialogue and unintended gaps; confirm audio does not extend the picture tail. Restore the original active state. Report the variant ID, measured duration, route used and any unverified result. For reusable discoveries, record build, item type and readback evidence via project-learning.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub pong34811/agent-edite-davinci_resolve --plugin agent-edite-davinci-resolveOther plugins' skills for the same job
98 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).