Clip Studyのロゴ

Clip Study

コミュニティ
kaigani
clip-study

The feedback loop skill. Drop a reference clip, analyze it, attempt to replicate it, compare results, and record learnings. This is how the system learns post-production craft from real examples.

概要

公開者kaigani
リポジトリcodeywood
スキル名clip-study
スター
33
フォーク
4
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Clip Study — The Feedback Loop

Purpose

Learn post-production craft by studying reference clips. This is deliberate practice for editorial skills — observe, understand, attempt, compare, record.


The 5-Step Protocol

Step 1: OBSERVE

Run full analysis on the reference clip.

bash
# Full analysis — filmstrip, color, motion, audio, silence
python3 scripts/analysis/analyze_clip.py REFERENCE

# If the reference is an edited sequence, also detect cuts
python3 -c "
from scripts.lib.scene_detect import shot_breakdown
shot_breakdown('REFERENCE', 'analysis/reference/shots/')
"

Collect:

  • filmstrip.png — the visual summary
  • metadata.json — technical specs (resolution, fps, duration, codecs)
  • color_palette.png + color_palette.json — color language
  • motion_chart.png + motion.json — energy timeline
  • waveform.png — audio shape
  • silence.json — dialogue windows and pauses
  • breakdown.json — shot list with timecodes (if multi-shot)

Step 2: UNDERSTAND

Write a structured analysis document. Read the filmstrip and all artifacts, then answer:

markdown
# Study: {name}

## Technical Profile
- Duration: {Xs}
- Resolution: {WxH} @ {fps}fps
- Shots: {N} (from cut detection)
- Avg shot duration: {X}s
- Audio: {description}

## Shot Breakdown
For each detected shot:
| # | Timecode | Duration | Type | Subject | Motion | Notes |
|---|----------|----------|------|---------|--------|-------|
| 1 | 00:00.0  | 3.2s     | Wide | Office  | Static | Establishing shot |
| 2 | 00:03.2  | 2.8s     | CU   | Person A| Slight | Reaction |

## Visual Language
- Color palette: {warm/cool/neutral, dominant colors}
- Lighting: {direction, quality, mood}
- Composition patterns: {rule of thirds, centered, dynamic}
- Texture: {film grain, clean, stylized}

## Editorial Decisions
- Pacing: {rhythm description — fast/slow/varied}
- Cut types: {hard cuts, crossfades, L-cuts}
- Longest hold: {X}s — why does it work?
- Fastest sequence: {X}s avg — what creates the energy?
- Transitions: {what transitions are used and why}

## Audio Design
- Ambient bed: {description}
- Dialogue: {present/absent, style}
- Music: {present/absent, role}
- Dynamic range: {quiet→loud moments}

## What Makes It Work
1. {Key insight about why this edit is effective}
2. {Key insight}
3. {Key insight}

## What Could Be Replicated
- {Achievable with current tools}
- {Achievable with current tools}

## What's Beyond Current Tools
- {Would need X capability}
- {Would need X capability}

Step 3: ATTEMPT

Using the analysis, attempt to replicate the editorial approach.

If source clips are available (e.g., studying our own final cut vs. rough cut):

  1. Use the shot breakdown to determine where to cut
  2. Write an EDL YAML matching the detected cut points
  3. Apply trim amounts based on the reference's timing
  4. Execute with smart_assemble.py

If only the reference exists (studying external footage):

  1. Design a shot list inspired by the reference's structure
  2. Generate clips using T2V/I2V with prompts derived from the filmstrip
  3. Trim and assemble to match the reference's rhythm

Step 4: COMPARE

Run side-by-side comparison:

bash
python3 scripts/analysis/compare_clips.py REFERENCE ATTEMPT --output comparison/

Review:

  • dual_filmstrip.png — visual comparison (reference top, attempt bottom)
  • color_comparison.png — color palette match
  • motion_overlay.png — energy curves overlaid
  • diff_report.json — structured comparison data

Key questions:

  • Does the attempt capture the same rhythm? (Compare motion charts)
  • Does the color palette match? (Compare color analysis)
  • Does the duration ratio feel right? (Compare timing)
  • What's the biggest gap between reference and attempt?

Step 5: RECORD

Write a learnings document and save to persistent memory.

markdown
# Learnings: {study_name}
Date: {YYYY-MM-DD}
Reference: {file path or description}

## What Worked
- {Technique that successfully replicated}
- {Tool that performed well}

## What Failed
- {Approach that didn't work and why}
- {Limitation discovered}

## Prompt Techniques Discovered
- {New prompting approach learned from studying the reference}

## Editing Techniques Discovered
- {New trim/transition pattern that works}
- {Pacing insight}

## Updated Heuristics
- {Revised rule-of-thumb based on this study}
- {e.g., "Trim AI clip tails by 0.8s, not 0.5s, for 12s+ clips"}

## Tools Needed
- {Any capability gaps identified}

Save to sandbox/clip_study/learnings/{study_name}.md and persist key findings to memory with [CODEYWOOD-clip-study] tag.


Workspace Structure

sandbox/clip_study/
  reference/                    # Drop reference clips here
  analysis/{study_name}/        # Analysis artifacts
  attempts/{study_name}/        # Replication attempts
    attempt_01/
      edl.yaml                  # Edit decision list
      clips/                    # Trimmed/generated clips
      assembly.mp4              # Assembled attempt
      comparison/               # vs. reference comparison
    attempt_02/                 # Iterate
      ...
  learnings/{study_name}.md     # Recorded findings

Study Types

Type A: Edit Study (have source + final)

The ideal case — we have both the raw clips AND a human-edited final cut.

Goal: Understand what the human editor chose to do. Method: Analyze the final cut to detect cuts. Map those cuts back to the source clips. See what was trimmed, what was reordered, what was dropped entirely. Output: An EDL that approximates the human's edit, plus insights about editorial craft.

Type B: Style Study (reference only)

We have a finished clip/film but not the sources.

Goal: Understand the visual language and pacing. Method: Analyze the reference for shot structure, color, motion, audio. Attempt to replicate the style with AI-generated clips. Output: Prompt techniques and editing patterns that produce similar results.

Type C: Technique Study (focused element)

Studying a specific technique: a transition, a color grade, a pacing pattern.

Goal: Isolate and replicate one specific editorial technique. Method: Find examples in reference material. Analyze the technique. Practice it with test clips. Output: A reusable technique pattern documented in the learnings.


Memory Integration

After each study, key findings should be saved to persistent memory:

Tag: [CODEYWOOD-clip-study]
Content: Structured learnings from the study

Before starting a new study, search for previous learnings:

Search: [CODEYWOOD-clip-study] {relevant topic}

This creates a growing knowledge base of editorial craft that improves with each study cycle.

よくある質問

AIスキル「Clip Study」では何ができますか?

The feedback loop skill. Drop a reference clip, analyze it, attempt to replicate it, compare results, and record learnings. This is how the system learns post-production craft from real examples.

TypingMindでClip Studyを使うメリットは何ですか?

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/kaigani/codeywood/tree/main/skills/production/clip-studyを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Clip Studyを使えるAIモデルはどれですか?

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

Clip Studyは何個のAIモデルで使えますか?

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

AIスキル「Clip Study」は無料ですか?

kaiganiがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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