agentleFS
odaiouattara0022-delodaiouattara0022-del/davinci-resolve-skill/SKILL.md

davinci-resolve

Skill1 starsChanged 4 months agoMITView on GitHub

Use when editing video in DaVinci Resolve - building timelines, cutting clips, importing media, color grading, applying LUTs or CDLs, adding titles or subtitles, auto-cutting silences, managing render queues, or automating any Resolve post-production task via its Python scripting API. Triggers include "DaVinci", "Resolve", "timeline", "media pool", "color grade", "render", "auto captions", "Text+".

5 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions5 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 5

    1. jablonkai/skills★ 2same name
    2. justhung69/resolve-mcp★ 1same name
    3. maxenko/claude-skills★ 1same name
    4. LevyBytes/AI-SKILL-davinci-resolve★ 0same name
    5. matthull/my-skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Always connect through the bundled helper — it handles the per-OS environment paths:

    line 18
  2. Distinctive:

    Ask before rendering: Never start a render or overwrite output files without the user explicitly asking — queue the job and report instead.

    line 60
  3. Distinctive:

    Build natively, keep it editable: Prefer real timeline items, titles, and grades over importing pre-rendered media, so the user can adjust …

    line 61

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

DaVinci Resolve Editing

Automate DaVinci Resolve with the Python scripting API (DaVinciResolveScript) that ships with every Resolve install. No plugins, no MCP server, no extra dependencies — just Resolve running and Python 3.6+.

Requirements

  • DaVinci Resolve must be running with a project open.
  • External scripts need scripting enabled: Preferences → System → General → External scripting using = Local. (Resolve Studio unlocks network scripting; the free edition allows local external scripting in recent versions — if connection fails on free, run scripts from Workspace → Console instead.)
  • ffmpeg on PATH only for the audio-analysis workflows (silence auto-cut).

Quick Start

Always connect through the bundled helper — it handles the per-OS environment paths:

python scripts/resolve_bootstrap.py          # prints connection status, project, timeline

In your own scripts:

from resolve_bootstrap import get_resolve

resolve = get_resolve()                       # raises with a clear message if Resolve isn't reachable
pm = resolve.GetProjectManager()
project = pm.GetCurrentProject()
timeline = project.GetCurrentTimeline()
media_pool = project.GetMediaPool()

Everything hangs off this object chain. Get it first, every time: Resolve → ProjectManager → Project → (MediaPool | Timeline | Gallery)

Quick Reference

TaskCallDetails
Import mediamedia_pool.ImportMedia([paths])workflows.md
New timelinemedia_pool.CreateEmptyTimeline(name)workflows.md
Add cut clipsmedia_pool.AppendToTimeline([clip_infos])workflows.md
Auto-cut silencespython scripts/auto_cut_silence.pyworkflows.md
Auto subtitlestimeline.CreateSubtitlesFromAudio()workflows.md
Titles (Text+)timeline.InsertFusionTitleIntoTimeline("Text+")fusion-titles.md
Grade a clip (CDL)item.SetCDL({...})color-grading.md
Apply a LUTitem.SetLUT(node_index, lut_path)color-grading.md
Renderproject.AddRenderJob() + StartRendering()workflows.md
Full API surface—api-reference.md

Golden Rules

  1. Check every return value. The API signals failure by returning None, False, or an empty list — it almost never raises. Wrap the chain in explicit checks.
  2. Frames, not seconds. AppendToTimeline clip infos, markers, and item positions use frames. Convert with the clip's real FPS: frames = int(seconds * fps) where fps = float(clip.GetClipProperty("FPS")).
  3. Some calls are page-sensitive. Thumbnails and stills need the Color page; switch with resolve.OpenPage("color") and switch back after.
  4. Batch AppendToTimeline calls to ~50 clip infos per call on long edits — very large batches can silently drop clips.
  5. Ask before rendering. Never start a render or overwrite output files without the user explicitly asking — queue the job and report instead.
  6. Build natively, keep it editable. Prefer real timeline items, titles, and grades over importing pre-rendered media, so the user can adjust everything in the Resolve UI afterwards.
  7. Track indices start at 1, and GetTimelineByIndex also starts at 1.

Reference Files

  • references/api-reference.md — object model and the methods you'll actually use, by class.
  • references/workflows.md — end-to-end recipes: import → timeline → cuts → subtitles → render, plus ffmpeg silence auto-cut.
  • references/color-grading.md — CDL, LUTs, versions, copying grades, stills/PowerGrades.
  • references/fusion-titles.md — Text+ titles, transform/zoom animations on timeline items, Fusion comp access.

Common Mistakes

MistakeFix
ImportError: DaVinciResolveScriptUse resolve_bootstrap.get_resolve() — it sets PYTHONPATH/lib paths per OS
get_resolve() returns nothingResolve not running, or external scripting not set to Local in Preferences
Clips land at wrong timesYou passed seconds; convert to frames with the clip's FPS
AppendToTimeline returns NoneMalformed clip info dict, or endFrame beyond the clip's length
Timeline ops fail after switching projects in the UIRe-fetch the whole object chain — old handles go stale
Subtitles/captions call failsNeeds Resolve 18.1+ and a timeline with audible speech on an enabled track

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.