Logo: Clip Machine

Clip Machine

Communautéit
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'.

Iwwersiicht

EditeurEnriquemarq1
Repositoryzernio-library-skills
Skill-Nummclip-machine
Stären
50
Forks
13
Matgeliwwert Dateien
3
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 3 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Enriquemarq1 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Clip Machine an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/Enriquemarq1/zernio-library-skills/tree/main/.claude/skills/clip-machine
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Clip Machine an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Clip Machine automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Clip Machine net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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'.

Firwat Clip Machine op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Clip Machine besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Clip Machine an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Enriquemarq1/zernio-library-skills/tree/main/.claude/skills/clip-machine an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Clip Machine benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Clip Machine benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Clip Machine domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Clip Machine gratis?

Jo. Enriquemarq1 huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇