Logotipo de Clip Study

Clip Study

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

Descripción general

Editorkaigani
Repositoriocodeywood
Nombre de la habilidadclip-study
Estrellas
33
Forks
4
Archivos incluidos
Solo instrucciones
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por kaigani en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Clip Study en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/kaigani/codeywood/tree/main/skills/production/clip-study
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Clip Study en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Clip Study automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Clip Study no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Preguntas frecuentes

¿Qué hace la habilidad de IA 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.

¿Por qué usar Clip Study en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Clip Study está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Clip Study en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/kaigani/codeywood/tree/main/skills/production/clip-study. TypingMind lee su archivo SKILL.md y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Clip Study?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Clip Study?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Clip Study con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Clip Study?

kaigani la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇