Logotipo de Clip Machine

Clip Machine

Comunidad
Enriquemarq1
clip-machine

Turn ONE long video into native TikTok + Reels + Shorts posts — the four stations: CUT (word-level transcript, best moments, 9:16 reframe), CAPTION (burned word captions + per-platform caption text), COVER (per-platform cover rules), POST (one Zernio request per clip). Use when the user hands a long video and wants short clips selected, produced, and published natively everywhere. Triggers: 'run the clip machine', 'turn this video into clips', 'repurpose this video', 'post clips to tiktok reels shorts'.

Descripción general

EditorEnriquemarq1
Repositoriozernio-library-skills
Nombre de la habilidadclip-machine
Estrellas
50
Forks
13
Archivos incluidos
3
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

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

  • Archivos incluidos: 3

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

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

Instalación

Instala la habilidad de IA Clip Machine 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/Enriquemarq1/zernio-library-skills/tree/main/.claude/skills/clip-machine
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → 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/Enriquemarq1/zernio-library-skills.git /tmp/zernio-library-skills
mkdir -p .claude/skills
cp -r /tmp/zernio-library-skills/.claude/skills/clip-machine .claude/skills/clip-machine
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Clip Machine 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 encaja con la habilidad, 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 Machine 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 Machine 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 que encaja con la habilidad, 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 Machine — one long video in, native posts out

Four stations. Claude runs the first three, Zernio ships the fourth. No timeline software ever opens.

LONG VIDEO → [1 CUT] → [2 CAPTION] → [3 COVER] → [4 POST] → native posts live

The math this kills: 1 video → 3 clips × 3 platforms = 9 manual uploads, every week, forever. With the machine it's 3 requests.

Starting from zero? Copy-paste reference/initiation-prompt.md to Claude Code in an empty folder — it sets up the whole system for you.

STATION 1 — CUT

  1. Transcribe with word timestamps. WhisperX is the reference model — open source, free, runs on your machine (pip install whisperx, needs ffmpeg): whisperx video.mp4 --model large-v3 --output_format json The JSON gives every word a start/end timestamp via forced alignment (GPU: add --device cuda; CPU works with --compute_type int8). Any word-level transcription service works too — the machine only needs words with millisecond timing. No ground truth, no clean cut.
  2. Pick the best moments with the selection framework in reference/best-moments-prompt.md. That file IS the prompt — paste it with the transcript. Core law: finish the point — a clip starts at the beginning of a thought and ends after the payoff, never mid-sentence.
  3. Cut on word boundaries. Start ~0.15s before the first word, end ~0.25s after the last (never past the next word's start). ffmpeg: ffmpeg -ss {start} -to {end} -i long.mp4 -c:v libx264 -crf 18 -c:a aac clip.mp4
  4. Reframe to 9:16 (1080×1920). Crop to the speaker (face-tracking via MediaPipe if available; a fixed crop works when the framing is static). Screen-share sources: stack the screen crop on top, the face cam below.

STATION 2 — CAPTION (there are TWO captions — that's the teach)

  1. Burned-in word captions on the video. Most people watch muted. Word-synced from the transcript timestamps (that's why Station 1 needs millisecond words), 3-4 words per line, high-contrast, inside the caption-safe band (keep out of the bottom ~20% and top ~12% — platform UI lives there).
  2. Caption TEXT per platform — never the same text three times. Copy-pasting one caption everywhere is the amateur tell. Claude writes all three from the transcript:
    • TikTok: conversational hook + 3-5 niche hashtags.
    • Reels: the first ~125 chars must stop the scroll (that's all that shows before "...more").
    • Shorts: barely displays text — put the value in the TITLE instead. Full rules per platform: reference/platform-cheat-sheet.md.

STATION 3 — COVER

The first impression is platform-specific — one cover does not fit all:

  • Reels: the grid shows a 1:1 CENTER crop of your cover. Title text must live inside the center square or it gets amputated.
  • TikTok: pick the cover frame + big readable cover text (profile grid is how binge-viewers navigate).
  • Shorts: pulls a frame — make frame 0 count (cover-as-first-frame: the cover IS frame 0, the video starts on frame 1; no 1-second intro card — it kills retention). Details and dimensions: reference/platform-cheat-sheet.md.

STATION 4 — POST (the one-request money shot)

One request per clip through Zernio — the video + the per-platform captions

  • the platform list. Zernio uploads NATIVE to each platform (platforms bury links and reward native uploads — that's the whole reason the treadmill exists).
json
POST https://api.zernio.com/api/v1/posts
{
  "title": "Clip title (YouTube uses this)",
  "content": "fallback caption",
  "mediaItems": [{ "type": "video", "url": "https://.../clip.mp4",
                   "filename": "clip.mp4", "mimeType": "video/mp4" }],
  "platforms": [
    { "platform": "tiktok",    "accountId": "...", "customContent": "TikTok caption + hashtags",
      "platformSpecificData": { "privacy": "PUBLIC_TO_EVERYONE" } },
    { "platform": "instagram", "accountId": "...", "customContent": "Reels caption, hook in line 1" },
    { "platform": "youtube",   "accountId": "...", "customContent": "Shorts description",
      "platformSpecificData": { "title": "Value-first title #Shorts", "visibility": "public",
                                 "categoryId": "27", "madeForKids": false } }
  ],
  "scheduledFor": "2026-08-20T18:30:00Z"
}

Media upload for local files: POST /v1/media/presign → PUT the file → use the returned publicUrl in mediaItems. The full publishing flow (approval gates, scheduling, verification) lives in the zernio-publish skill — this station rides it.

Hard-won gotchas:

  • Post platforms SERIALLY, never two multi-platform posts in parallel.
  • A timeout does NOT mean the post wasn't created — GET the post before retrying (blind retries create 409s or duplicates).
  • Space clips out: 1-2 per day beats 9 in one hour.

The loop

Clips point viewers to the long video. The long video feeds the machine. Every clip carries an end-card or caption line back to the source — the machine is a circle, not a pipe.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Clip Machine?

Turn ONE long video into native TikTok + Reels + Shorts posts — the four stations: CUT (word-level transcript, best moments, 9:16 reframe), CAPTION (burned word captions + per-platform caption text), COVER (per-platform cover rules), POST (one Zernio request per clip). Use when the user hands a long video and wants short clips selected, produced, and published natively everywhere. Triggers: 'run the clip machine', 'turn this video into clips', 'repurpose this video', 'post clips to tiktok reels shorts'.

¿Por qué usar Clip Machine en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Clip Machine 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 Machine en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Enriquemarq1/zernio-library-skills/tree/main/.claude/skills/clip-machine. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Clip Machine?

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 Machine?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Clip Machine 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 Machine?

Sí. Enriquemarq1 la ha publicado en GitHub bajo la licencia MIT. 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 el directorio

Crea ya tu propio espacio de trabajo con IA

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