Davinci Autoedit Agentのロゴ

Davinci Autoedit Agent

コミュニティ
liuluhaixiu
davinci-autoedit-agent

ユーザーが選んだ任意の動画、音声、任意の画像メディアを対象とする、承認ゲート付きの動画編集ワークフローです。Codexで映像をスキャンして内容を確認・分類したり、テーマを台本にまとめたり、必要に応じてTTSを生成したり、編集用の設計図を作成したり、ジャンル、ドライブ、日付、カメラ、APIプロバイダーを前提とせずにDaVinci Resolveのタイムラインを作成・監査したりする場合に使用します。

概要

公開者liuluhaixiu
リポジトリDaVinci-AutoEdit-Agent
スキル名davinci-autoedit-agent
スター
493
フォーク
61
同梱ファイル
13
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 13個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    liuluhaixiuがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Davinci Autoedit Agent」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/liuluhaixiu/DaVinci-AutoEdit-Agent/tree/main/skills/davinci-autoedit-agent
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/liuluhaixiu/DaVinci-AutoEdit-Agent.git /tmp/DaVinci-AutoEdit-Agent
mkdir -p .claude/skills
cp -r /tmp/DaVinci-AutoEdit-Agent/skills/davinci-autoedit-agent .claude/skills/davinci-autoedit-agent
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでDavinci Autoedit Agentを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にDavinci Autoedit Agentを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Davinci Autoedit Agentは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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"

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

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Davinci Autoedit Agent」では何ができますか?

ユーザーが選んだ任意の動画、音声、任意の画像メディアを対象とする、承認ゲート付きの動画編集ワークフローです。Codexで映像をスキャンして内容を確認・分類したり、テーマを台本にまとめたり、必要に応じてTTSを生成したり、編集用の設計図を作成したり、ジャンル、ドライブ、日付、カメラ、APIプロバイダーを前提とせずにDaVinci Resolveのタイムラインを作成・監査したりする場合に使用します。

TypingMindでDavinci Autoedit Agentを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Davinci Autoedit Agentはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにDavinci Autoedit Agentをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/liuluhaixiu/DaVinci-AutoEdit-Agent/tree/main/skills/davinci-autoedit-agentを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Davinci Autoedit Agentを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Davinci Autoedit Agentで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもDavinci Autoedit Agentを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Davinci Autoedit Agent」は無料ですか?

はい。liuluhaixiuがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇