Clip Study logo

Clip Study

Community
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.

Overview

Publisherkaigani
Repositorycodeywood
Skill nameclip-study
Stars
33
Forks
4
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by kaigani on GitHub. Read the source before you install it.

Installation

Install the Clip Study AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/kaigani/codeywood/tree/main/skills/production/clip-study
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Clip Study in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Clip Study on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Clip Study is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Frequently asked questions

What does the Clip Study AI skill do?

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.

Why use Clip Study on TypingMind?

Because you install it once and use it with any model. Clip Study is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Clip Study in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/kaigani/codeywood/tree/main/skills/production/clip-study. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Clip Study?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Clip Study?

As many as you like. As long as a model supports skills, you can use Clip Study with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Clip Study AI skill free?

It is published on GitHub by kaigani. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇