Agent skill

DaVinci AutoEdit Agent

by liuluhaixiu in liuluhaixiu/DaVinci-AutoEdit-Agent

Guides an approval-gated video editing pipeline from raw footage to an audited DaVinci Resolve timeline, with scripting, optional TTS and a blueprint at each stage.

MITAuto-check: notesMedia & Creative

Install DaVinci AutoEdit Agent

skills CLI
$ npx skills add liuluhaixiu/DaVinci-AutoEdit-Agent --skill davinci-autoedit-agent -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install liuluhaixiu/DaVinci-AutoEdit-Agent davinci-autoedit-agent --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/liuluhaixiu/DaVinci-AutoEdit-Agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/davinci-autoedit-agent .claude/skills/davinci-autoedit-agent && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
davinci-autoedit-agent
GitHub stars
484
Token cost
~2.8k tokens
SKILL.md length
1,328 words
Files
14 (incl. scripts, references)
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Guides an approval-gated video editing pipeline from raw footage to an audited DaVinci Resolve timeline, with scripting, optional TTS and a blueprint at each stage.

  • Works in 9 steps: Create The Run Folder → Scan Media → Analyze And Review → …
  • Turning raw footage and audio into an edited video with review at each step
  • SKILL.md covers Opening Message, Approval Contract, Configuration and Workflow, plus 2 more sections
  • Runs Python scripts from its folder; calls python

What it does

The workflow opens by telling you what it can do and then collecting only the missing pieces: media paths, topic, audience, platform, duration, aspect ratio, language, any pacing rules you already follow, and whether you want narration or a Resolve timeline at all. Nothing is imposed, including genre or subject.

Work proceeds through nine approval gates, from the project brief through scan scope, material review, script, an optional TTS plan, the edit blueprint, the actual Resolve write, color or audio operations, and a final pickup-shot report of missing material. Approving one gate never authorizes a later one, and a previously approved artifact is versioned rather than overwritten. Before any API-backed step, a setup check script runs, and missing APIs are configured only with your consent, without secrets being printed.

When your agent uses it

  • Turning raw footage and audio into an edited video with review at each step
  • Building a shot-by-shot edit blueprint before touching Resolve
  • Auditing a DaVinci Resolve timeline against the plan

Example prompts

  • “Review the footage in ./raw-clips and help me plan a 90-second product video.”
  • “Build the edit blueprint for this travel vlog before you touch Resolve.”
  • “Generate narration for the intro section and show me the script first.”

Requirements

  • DaVinci Resolve with its MCP integration
  • An LLM API for script development, and a TTS API if narration is wanted

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Create The Run Folder
  2. Scan Media
  3. Analyze And Review
  4. Write The Story
  5. Decide TTS
  6. Build The Blueprint
  7. Build In Resolve
  8. Audit Delivery
  9. Recommend Pickup Shots

What it can do on your machine

Read from SKILL.md and the folder at commit 93cf371. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 7 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

DaVinci AutoEdit Agent loads about 2.8k tokens when it runs, and up to ~5.1k if it reads all its reference files. Until then it costs about 102 tokens; SKILL.md has 1,328 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~102
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:68
    help create `.env`, test connectivity without printing secrets, and ask

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from liuluhaixiu/DaVinci-AutoEdit-Agent at commit 93cf371, republished under its MIT licence (© liuluhaixiu). 1,328 words, ~2,815 tokens.

Download SKILL.mdSave it as .claude/skills/davinci-autoedit-agent/SKILL.md (or your agent's skills folder). This skill also uses 13 other files; get the full folder from GitHub.
name
davinci-autoedit-agent
description
End-to-end, approval-gated video editing workflow for arbitrary user-selected video, audio, and optional image media. Use when Codex must scan footage, review and classify material, develop a topic into a script, optionally generate TTS, create an edit blueprint, or build and audit a DaVinci Resolve timeline without assuming a genre, drive, date, camera, platform, or API provider.

DaVinci AutoEdit Agent

Run a source-safe workflow from media intake to an audited edit. Use the bundled viral-video-writer for scripts and davinci-resolve-editor for Resolve operations.

Opening Message

Start by telling the user:

I can inspect your chosen media, build a review and tag map, develop the story and script, optionally prepare TTS, create a shot-by-shot edit blueprint, and then build and audit a DaVinci Resolve timeline. I will show you each creative artifact for approval before writing it or using it in the next stage. Your source files remain unchanged.

Then collect only missing information:

  1. Media path or paths. Accept any accessible video/audio directory or file.
  2. Topic, purpose, audience, platform, target duration, aspect ratio, and language. Do not impose a subject.
  3. Ask: "Do you have your own pacing rules, editing practices, references, or non-negotiables?" If yes, record them. If no, offer the best-practice profile in references/editorial-best-practices.md.
  4. Ask whether narration/TTS is wanted. Do not assume it.
  5. Ask whether Resolve timeline construction is wanted or only a blueprint.

Summarize the brief in chat and obtain approval before writing project-brief.json.

Approval Contract

Read-only inspection does not require repeated confirmation. Before creating or replacing an artifact, show a concise preview, list the intended path, and ask for explicit approval.

Use these gates:

  1. Project brief
  2. Scan scope and exclusions
  3. Material review and taxonomy
  4. Story direction and script
  5. TTS plan, only when enabled
  6. Edit blueprint
  7. Resolve project/timeline write
  8. Color, audio, render, or source-derivative operations
  9. Pickup-shot and missing-material report

Approval for one gate does not authorize later gates. Never overwrite a previous approved artifact; create a versioned file unless replacement was explicitly requested.

Configuration

Before API-backed work, run:

bash
python scripts/check_setup.py

If an API is missing, ask whether the user wants to configure it.

  • If yes, read references/configuration.md, explain the minimum variables, help create .env, test connectivity without printing secrets, and ask before the first billable request.
  • If no LLM API, continue with Codex-native visual inspection where available, or produce a manual review worksheet.
  • If no TTS API or the user declines configuration, set tts.enabled=false and remove TTS from the plan. Do not keep asking.
  • If Resolve MCP is absent, offer blueprint-only delivery or the documented Resolve Python fallback.

All endpoints, keys, models, voices, reference audio, media roots, music libraries, LUTs, and output paths are user configuration. Never ship private defaults.

Workflow

1. Create The Run Folder

After brief approval, create:

text
workspace/runs/<project-slug>/
  project-brief.json
  scan/
  review/
  script/
  tts/
  blueprint/
  resolve/
2. Scan Media

Preview the paths and extension policy, then run:

bash
python scripts/scan_media.py --input "<path>" --output "<run>/scan"

Pass --input repeatedly for multiple roots. Accept common video, audio, and image formats. Use FFprobe metadata when available. Do not filter by date or camera unless the user requests it.

Review media-manifest.json and confirm:

  • file counts and total duration by media type
  • unreadable or missing files
  • source groups/cameras inferred only as provisional labels
  • duplicate candidates
  • explicit exclusions

Obtain approval before analysis derivatives such as extracted frames.

After approval, a provider-neutral fixed-interval extractor is available:

bash
python scripts/extract_frames.py --manifest "<run>/scan/media-manifest.json" --output "<run>/review/frames"
3. Analyze And Review

For video, sample enough frames to represent scene changes and long takes. For audio, inspect duration, channels, loudness when tooling supports it, and transcribe only with permission. Treat images as selectable visual assets.

When the user approved an API-backed batch, run:

bash
python scripts/analyze_frames.py --frames-index "<run>/review/frames/frames-index.json" --output "<run>/review/frame-analysis.jsonl" --topic "<user topic>"

Use evidence-based labels: scene, people, action, dialogue, emotion, quality, continuity, source group, narrative use, and visible text. Never reject an entire camera family because derivative files or early samples look weak.

Produce a review preview with:

  • chronological inventory
  • strongest moments and why
  • weak/duplicate/technical-risk material
  • camera/source counts and usable-duration estimates
  • possible story beats
  • unanswered factual questions

After approval, write review/material-review.json and .md.

4. Write The Story

Invoke viral-video-writer. Give it the approved brief and material review, not imagined footage. Present:

  • one core idea
  • 2-3 story structures
  • intended emotional curve
  • narration policy
  • five title/hook options when relevant

After the user chooses a direction, draft the full script. Show it in chat and write only after approval.

5. Decide TTS

If narration is disabled, skip this stage and design around dialogue, natural sound, music, captions, or silence.

If enabled, confirm provider, endpoint, model, voice/reference audio, language, segmenting, pronunciation, and output directory. Preview tts-plan.json before any request. Generate only after approval:

bash
python scripts/generate_tts.py --script "<approved.json>" --output "<run>/tts"

Audit every output for duration, clipping, empty files, pronunciation, and segment order. Never bundle or publish a user's voice samples.

6. Build The Blueprint

Create a source-grounded JSON blueprint following references/blueprint-schema.md. Every clip must identify source path, source in/out, timeline in/out, purpose, audio policy, and confidence.

Apply the user's editing practice. If none was supplied, use references/editorial-best-practices.md.

Audit before presenting:

  • target duration and pacing
  • source range within media duration
  • no accidental adjacent repetition across section boundaries
  • meaningful source/camera diversity where available
  • dialogue/narration synchronization
  • still-image duration handling
  • music and LUT authorization

Write the blueprint only after approval.

Validate it before Resolve:

bash
python scripts/validate_blueprint.py "<run>/blueprint/edit-blueprint.json"
Show full SKILL.md (536 more words)Show less
7. Build In Resolve

Invoke davinci-resolve-editor. Confirm Resolve is open and the current project/timeline identity. Prefer the registered MCP tools; configured files alone do not prove MCP availability.

Before writing, state the exact new project/timeline name and affected tracks. Create a new project or duplicated timeline for every substantial revision. Do not modify user audio, grades, BGM, or existing tracks without approval.

When MCP is unavailable but the official Python API is configured, use:

bash
python scripts/build_resolve_timeline.py "<run>/blueprint/edit-blueprint.json"
8. Audit Delivery

Read back the final Resolve state. Verify:

  • actual project and timeline names
  • expected item counts by track
  • timeline frame origin
  • gaps/overlaps and one-frame boundary errors
  • source paths and source range bounds
  • source/camera ratios and zero-use available groups
  • adjacent repeated source
  • LUT write and readback, when authorized
  • audio writes actually succeeded, when authorized
  • report belongs to the currently delivered timeline

A failed build report is not a delivery. Save the report under resolve/ and summarize unresolved manual work honestly.

9. Recommend Pickup Shots

After the edit audit, compare three sources of truth:

  1. The approved script, including every factual, emotional, and explanatory beat it asks the viewer to understand.
  2. The finished timeline, including the actual image and sound covering each beat.
  3. The complete reviewed media inventory, so an unused existing shot is not incorrectly labeled as missing.

Identify all necessary but absent material. A shot is necessary when its absence causes at least one of these problems:

  • a script claim has no visual or audible evidence
  • a person, object, place, process, or result is introduced without orientation
  • an action cannot be understood because setup, key step, reaction, or outcome is missing
  • continuity, geography, chronology, or screen direction becomes confusing
  • dialogue/narration is covered by visibly unrelated filler
  • a transition conceals a structural gap rather than serving the story
  • a required product, safety, legal, tutorial, or factual detail is not shown
  • the ending lacks the promised payoff or proof

Do not call every aesthetic opportunity "necessary." Separate the report into:

  • P0 Required: the cut is misleading, unclear, unsupported, or incomplete without it
  • P1 Strongly Recommended: comprehension or emotional payoff is materially weaker without it
  • P2 Optional Enhancement: texture, polish, rhythm, or alternate coverage

For each recommendation include:

  • related script paragraph/line and finished timeline timecode
  • exact missing information or story function
  • evidence that no adequate existing source covers it
  • concrete subject, action, framing, camera movement, duration, orientation, location, time-of-day, sound, and continuity requirements
  • whether original participants/location/props are required
  • safe and practical capture notes
  • an alternative using existing media, graphics, text, archival material, voiceover rewrite, or script deletion when reshooting is impossible
  • expected editorial placement and what it replaces

Use references/pickup-shot-report.md. Preview the findings in chat and obtain approval before writing:

text
review/pickup-shot-report.md
review/pickup-shot-report.json

If nothing necessary is missing, say so explicitly and list only genuinely useful optional enhancements. Never invent continuity details merely to make a pickup request sound precise.

Source Safety

  • Treat original media as immutable.
  • Write derivatives only under the approved run folder or staging directory.
  • Stop and inspect running FFmpeg/Python processes after interruptions.
  • Never delete original tracks after a partial audio bake.
  • Never expose API keys, private endpoints, personal paths, or voice samples.

References

  • Configuration: references/configuration.md
  • Best-practice edit profile: references/editorial-best-practices.md
  • Blueprint schema: references/blueprint-schema.md
  • Failure lessons and audits: references/resolve-pitfalls.md
  • Pickup-shot report: references/pickup-shot-report.md

© liuluhaixiu, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 13 other files (scripts, references) in skills/davinci-autoedit-agent of liuluhaixiu/DaVinci-AutoEdit-Agent.

  • SKILL.md
  • agents/openai.yaml
  • references/blueprint-schema.md
  • references/configuration.md
  • references/editorial-best-practices.md
  • references/pickup-shot-report.md
  • references/resolve-pitfalls.md
  • scripts/analyze_frames.py
  • scripts/build_resolve_timeline.py
  • scripts/check_setup.py
  • scripts/extract_frames.py
  • scripts/generate_tts.py
  • scripts/scan_media.py
  • scripts/validate_blueprint.py

Open the folder on GitHubat commit 93cf371

Compare with similar skills

DaVinci AutoEdit Agent next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

DaVinci AutoEdit Agent compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
DaVinci AutoEdit Agent this skillliuluhaixiu/DaVinci-AutoEdit-Agent484—~2.8kAutomated safety check: NotesMIT
Ergo Remotion Videoitwanger/toBeBetterJavaer18k—~1.1kAutomated safety check: PassNone
Agent Video PipelineJayceHuang/agent-video-pipeline105—~1.8kAutomated safety check: PassMIT
Paper Collage Explainer Generatortl2012tl/comfyUI-llama-TE2414 repos~5.2kAutomated safety check: PassNone
AI Video Production Assistantwanghui2323/ai-video-maker101—~924Automated safety check: PassMIT
Media Genclacky-ai/openclacky1.2k—~7.3kAutomated safety check: PassMIT

Similar skills

  • Ergo Remotion Video

    itwanger/toBeBetterJavaer

    把口播稿做成二哥风格的 Remotion 视频,包括整理视频用稿、火山 TTS 配音、音画对齐、逐章动画预览和导出带配音的 MP4。用户说“做视频”“口播稿转视频”“Remotion”“继续做下一章”“出片”“渲染”“改读音”“配音读错了”,或给出 docs/src/ai/video/ 下的稿子要做成视频时使用。共享工具、配置和素材在…

    18k GitHub stars~1.1k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Agent Video Pipeline

    JayceHuang/agent-video-pipeline

    Orchestrate a configurable, debuggable local pipeline from approved narration packages to timed audio, captions, visual assets, semantic motion, rendered video, optional avatar compositing…

    105 GitHub stars~1.8k tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed
  • Paper Collage Explainer Generator

    tl2012tl/comfyUI-llama-TE

    For creators, educators, and social-video editors who need a tactile paper-collage language for narration, knowledge points, opinions, or abstract topics.

    241 GitHub starsUsed in 4 repos~5.2k tokens
    Media & CreativeAuto-check passed
  • AI Video Production Assistant

    wanghui2323/ai-video-maker

    Turns an idea, article, outline or audio file into a sourced, reviewable AI video, tracking whether narration uses a human, synthetic or cloned voice.

    101 GitHub stars~924 tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed
  • Media Gen

    clacky-ai/openclacky

    Generate or edit images, videos, or audio in the current task.

    1.2k GitHub stars~7.3k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Web Video Presentation

    ConardLi/garden-skills

    Turns an article or spoken script into a click-through, full-screen 16:9 web presentation that looks like a video, with optional synthesized narration.

    13k GitHub stars~3.5k tokensUpdated 3 mo ago
    Media & CreativeAuto-check passed

More from liuluhaixiu/DaVinci-AutoEdit-Agent

  • DaVinci Resolve Editor

    liuluhaixiu/DaVinci-AutoEdit-Agent

    Edits DaVinci Resolve Studio projects and timelines safely through the davinci-resolve-mcp server or the Resolve Python API, with approval before writes and readback after.

    484 GitHub stars~852 tokensUpdated 4 mo ago
    Auto-check passed
  • Evidence-Grounded Video Writer

    liuluhaixiu/DaVinci-AutoEdit-Agent

    Writes video scripts, narration, titles and hooks from an approved media review, offers story directions first, and never invents footage, quotes or facts.

    484 GitHub stars~711 tokensUpdated 4 mo ago
    Auto-check passed

Questions about DaVinci AutoEdit Agent

What does DaVinci AutoEdit Agent do?

Guides an approval-gated video editing pipeline from raw footage to an audited DaVinci Resolve timeline, with scripting, optional TTS and a blueprint at each stage. The workflow opens by telling you what it can do and then collecting only the missing pieces: media paths, topic, audience, platform, duration, aspect ratio, language, any pacing rules you already follow, and whether you want narration or a Resolve timeline at all. Nothing is imposed, including genre or subject.

When should I use DaVinci AutoEdit Agent?

DaVinci AutoEdit Agent fits situations like: turning raw footage and audio into an edited video with review at each step; building a shot-by-shot edit blueprint before touching Resolve; auditing a DaVinci Resolve timeline against the plan.

How do I install DaVinci AutoEdit Agent in Claude Code?

Run `npx skills add liuluhaixiu/DaVinci-AutoEdit-Agent --skill davinci-autoedit-agent -a claude-code`. Or copy the skill folder (skills/davinci-autoedit-agent in liuluhaixiu/DaVinci-AutoEdit-Agent) into .claude/skills/davinci-autoedit-agent in your project. Claude Code loads it when a task matches its description.

How do I install DaVinci AutoEdit Agent in Codex?

Run `npx skills add liuluhaixiu/DaVinci-AutoEdit-Agent --skill davinci-autoedit-agent -a codex`. Or copy the skill folder (skills/davinci-autoedit-agent in liuluhaixiu/DaVinci-AutoEdit-Agent) into .agents/skills/davinci-autoedit-agent in your project. Codex loads it when a task matches its description.

Can I use DaVinci AutoEdit Agent in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add liuluhaixiu/DaVinci-AutoEdit-Agent --skill davinci-autoedit-agent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/davinci-autoedit-agent, .gemini/skills/davinci-autoedit-agent, .github/skills/davinci-autoedit-agent and .opencode/skills/davinci-autoedit-agent in your project.

What does DaVinci AutoEdit Agent need to run?

Going by SKILL.md and its folder, DaVinci AutoEdit Agent needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: DaVinci Resolve with its MCP integration; An LLM API for script development, and a TTS API if narration is wanted.

Does DaVinci AutoEdit Agent access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is DaVinci AutoEdit Agent safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does DaVinci AutoEdit Agent use?

DaVinci AutoEdit Agent is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does DaVinci AutoEdit Agent use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.3k tokens, read only when the agent opens those files.

What are the alternatives to DaVinci AutoEdit Agent?

Skills that share tags, products or a category with DaVinci AutoEdit Agent: Ergo Remotion Video (itwanger/toBeBetterJavaer, 18k stars), Agent Video Pipeline (JayceHuang/agent-video-pipeline, 105 stars), Paper Collage Explainer Generator (tl2012tl/comfyUI-llama-TE, 241 stars) and AI Video Production Assistant (wanghui2323/ai-video-maker, 101 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains DaVinci AutoEdit Agent?

liuluhaixiu (a GitHub user) maintains it in liuluhaixiu/DaVinci-AutoEdit-Agent, which has 484 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on June 12, 2026.

Source: liuluhaixiu/DaVinci-AutoEdit-Agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.