/agent-edite-davinci-resolve:resolve-recon-readbackfrom agent-edite-davinci-resolve
Read Resolve project state via the scripting API safely.
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.
Use for baselining timelines, confirming track state or project identity, and checking what an earlier edit actually contains. Prefer MCP for live reads and exports. Use scripts/resolve_common.py for scripting readback when MCP does not cover the task.
project_manager list. If it is not active and you only need its saved structure, call project_manager export_project with the exact name, a fresh absolute .drp path and with_stills_and_luts: false. This avoids switching away from the current project just to inspect the reference.SeqContainer/*.xml for video, audio and subtitle track contents; check source In, record Start and Duration, plus track names and item counts. Identify the requested timeline before quoting totals; the archive can hold multiple variants. If a render is available, cross-check its raster, frame count and duration with ffprobe.When a duplicate is meant to leave audio untouched, read the original and copy's track processing (for example timeline probe_audio_track for Voice Isolation) and relevant clip processing, then measure the rendered audio against the intended reference. An unchanged setting can still produce audio different from the raw source because the duplicate inherits processing. Say whether you preserved the timeline mix or matched the raw recording; don't use the two claims interchangeably.
GetIsTrackEnabled / GetIsTrackLocked only after SetCurrentTimeline.
An inactive timeline reports every track as disabled. A baseline built by
walking GetTimelineByIndex without activating reports the whole project as
disabled tracks, and the report reads like a real defect.SetTrackEnable on an
inactive timeline returns success and changes nothing. Prove it by toggling on
the active timeline and reading back, never by trusting the return value.SetCurrentTimecode can return True
and still read back the wrong frame. Wait ~1 s, set again, read again.SetCurrentTimeline(t) then assert GetCurrentTimeline().GetUniqueId() == t.GetUniqueId(); a mismatch means the read belongs to a different timeline.GetTimelineCount() returns None transiently right
after a long render or a project switch. Use p.GetTimelineCount() or 0 and
skip None timelines — arithmetic on None aborts a whole cleanup loop.'AppendToTimeline' in dir(media_pool), not the MCP action append_to_timeline; the action and the native method are different names, so a lookup with the wrong name gives a false negative. Avoid bare hasattr on Resolve proxies because it can accept nonexistent names.SetCurrentTimeline
on a large Drive-backed project costs seconds per timeline, so a full-project
read is a minutes-long foreground command.scripts/resolve_recover.py --project "<name>"), run that rather than killing Resolve by hand; otherwise
ask the user to quit and reopen. A hang on a Drive-backed library often means
the drive itself stopped answering (any ls of it hangs too): the recover
script then stops with the library missing, and the user must restart Google
Drive before anything else works. Probe the drive with os.path.isdir in a
daemon thread joined with a timeout, writing the result to a file: ls and
even timeout N ls block uninterruptibly on a stuck drive, and a Resolve
stuck on it cannot be killed until the drive answers. Reopen only Resolve
yourself; never quit or relaunch Google Drive (the user does that). Killing
your own hung script does not restore scripting.SetCurrentTimeline, save it to JSON, and compute the plan offline, so the
only long Resolve session is the build itself.Get-Process Resolve ->
PrivateMemorySize64 is what grows per built timeline (DRT import, appended
clips); tasklist's Mem Usage under-reads it by several GB, so a threshold on
it fires too late. Resolve hung near 13 GB private on a 16 GB machine.Quit(), waits for the process to exit,
and reopens via the repo's recover script. On an unanswered probe it recovers
immediately: the user wants a stalled Resolve closed and reopened, not waited
on.preserved_state
restore warning, None from SetCurrentTimeline): read state back instead of
trusting return values.--limit 20 until nothing is unverified. Results kept only
in memory are lost with the crash.ExportCurrentFrameAsStill with a fresh absolute output path. If the seek or export misses, re-seek, wait ~1 s and retry up to four times; a stale seek can capture a valid image of the wrong frame. For a half-open record range, inspect IN and OUT - 1; open both images rather than using file size as evidence that the frames differ.Timeline.GetCurrentVideoItem() can return a lower track's clip (an
avatar on V3 instead of the GIF on V2). To capture an overlay's Inspector
values, select the item on the named track whose [GetStart, GetEnd) holds
the playhead frame.User.db
yet. Resolve can keep it in memory; the file on disk still holds the old
values. When the user has loaded the new preset onto a clip or track, read the
values from that clip (GetProperty) or the track style from an exported DRT,
not from User.db.AppendToTimeline needs a tolerant source end. In a 24 fps
timeline a 25/50 fps GIF or a 60 fps video range lands one record frame short
or long, and GetSourceEndFrame() is inclusive for some clips. Try nearby
source ends (GIF: se+1, se, se+2; video: ±1 source frame on start and
end), keep the first placement whose record range equals the target, and
delete each miss before the next try.ProjectManager.GetCurrentDatabase() returns a plain dictIt is a lookup map, not a database object: read keys with .get() and never
call .GetDbName() / .GetDbUser() / .GetProjectCount() on it — those raise
AttributeError: 'dict' object has no attribute .... When a project must be
found by name, search the dict; do not assume an API surface from the name.
A "read-only" recon that creates a DuplicateTimeline to test a duplicate path,
or flips a track enable to prove a setter works, leaves the session changed even
after you restore it. Wrap recon in preserved_state(resolve), read back the
restored values, and state in the handoff exactly which probes touched the
project. Never describe such a pass as untouched.
Run the test suite before touching anything and write down the counts; a
bundle-validator or manifest failure that predates the task is not yours to fix
and must not be reported as a regression. Do not commit an unrelated manifest
drift — if a refresh rewrites checksums you did not change, git restore it and
say so in the handoff.
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.