Communitygithub.com

jsath/claude-skills

Transforme une seule prise brute en face caméra en un reel vertical 1080x1920 terminé dans Claude Code, avec des outils locaux gratuits (ffmpeg, whisper.cpp, Playwright headless) : transcription, conservation de la dernière prise des lignes répétées, suppression des silences, sous-titrage mot à mot, ajout de captures d'écran réelles et de logos officiels, et contrôles qualité mesurés.

Qu'est-ce que claude-skills ?

Cette compétence permet de transformer une vidéo brute filmée avec un téléphone (prise unique, avec répétitions et silences) en un reel vertical soigné au format 1080x1920, idéal pour les réseaux sociaux (Reels, TikTok, Shorts). Le pipeline s'exécute entièrement en local sur macOS ou Linux via Claude Code, en utilisant ffmpeg, whisper.cpp (modèle de transcription), Python avec Pillow et OpenCV, et Playwright avec Chromium headless pour les captures d'écran. Il détecte automatiquement les prises répétées (gardant uniquement la dernière), découpe les silences, génère des sous-titres mot à mot synchronisés, ajoute des visuels réels (sites web, logos officiels) et produit un rapport de qualité avec des critères mesurables. Sur Claude.ai, la compétence se limite au mode planification : elle génère un script resserré, un plan de plans et un fichier .srt à partir d'un transcript collé, sans pouvoir éditer la vidéo elle-même.

Compatible avec✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jsath/claude-skills/tree/HEAD/skills/video/raw-to-reel

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Du brut au Reel

Cinq agents, exécutés dans l'ordre, transforment raw/<prise>.mov en out/<prise>/final.mp4. Il s'agit de la version simple. Pour le moteur complet (compositions par ligne, effets sonores synthétisés, plus de contrôles qualité), utilisez ../edit-style. Pour configurer whisper.cpp en détail, voir ../use-local-whisper.

Où ça s'exécute

  • Claude Code sur macOS ou Linux : pipeline complet. Nécessite ffmpeg, whisper.cpp (whisper-cli) avec un modèle, Python 3 avec Pillow et OpenCV, et Playwright avec Chromium headless.
  • Claude.ai : ne peut ni ouvrir ni exporter de vidéo. Mode plan uniquement : collez un transcript, obtenez un script resserré, un plan de plans et un fichier .srt.

Commandes

CommandeExécuteSortie
setupvérification des outils ci-dessousoutils manquants + commandes d'installation ; n'installe qu'après confirmation de l'utilisateur
edit raw/<fichier>agents 1, 2, 4, 3, 5out/<nom>/ fichiers ci-dessous
plan raw/<fichier> ou plan + transcript colléagent 1 (transcript, reprises), 2 (liste de coupes uniquement), 4 (plan de plans uniquement)tableaux, aucun rendu
check <fichier>agent 5QA.md

Les sous-titres (agent 3) s'exécutent après la construction visuelle (agent 4) car les compositions modifient la position des sous-titres, et ceux-ci sont toujours la couche supérieure.

Vérification setup

ffmpeg -version | head -1; ffprobe -version | head -1
whisper-cli --help >/dev/null 2>&1 && echo WHISPER_OK || echo WHISPER_MISSING
ls ~/whisper-models/ggml-*.bin 2>/dev/null || echo NO_MODEL
python3 -c "import PIL, cv2; print('PY_OK')"
python3 -c "import playwright; print('PW_OK')"

Commandes d'installation à proposer (macOS indiqué ; sous Linux, utilisez le paquet de la distribution pour ffmpeg et compilez whisper.cpp depuis les sources) :

brew install ffmpeg whisper-cpp
mkdir -p ~/whisper-models && curl -L -o ~/whisper-models/ggml-small.en.bin \
  https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-small.en.bin
python3 -m pip install pillow opencv-python playwright && python3 -m playwright install chromium

Utilisez ggml-small.en (environ 466 Mo) par défaut ; ggml-base.en si la machine est lente, ggml-small multilingue pour les prises non anglaises.

Agents

Lisez le fichier de l'agent avant d'exécuter cette étape. Chaque fichier est le seul endroit où ses règles détaillées résident. Dans Claude Code, vous pouvez les copier dans .claude/agents/ pour les exécuter comme de véritables sous-agents.

  1. agents/01-footage-prep.md : sondes, correction des couleurs, transcription mot à mot, tableau des reprises.
  2. agents/02-cutter.md : supprime les prises antérieures, le silence et les pauses sans couper les mots.
  3. agents/03-captions.md : chaque mot sous-titré, synchronisé à partir d'un transcript de l'audio coupé.
  4. agents/04-visual-planner.md : plan de plans visage / graphique / split, captures d'écran réelles et logos, rendu par couches.
  5. agents/05-qa-checker.md : critères mesurés, planche contact, liste des affirmations, PRÊT ou PAS PRÊT.

Si un agent échoue, corrigez et réexécutez uniquement cet agent, puis tout ce qui le suit.

Fichiers partagés

raw/<nom>.mov              jamais modifié
work/<nom>/LOG.md          une ligne par étape terminée, permet la reprise après un arrêt
work/<nom>/words.json      transcript de l'agent 1 (mot, début, fin)
work/<nom>/cuts.csv        agent 2
work/<nom>/shotplan.md     agent 4, avec assets/SOURCES.md
out/<nom>/final.mp4        1080x1920, H.264 + AAC, BT.709 limited range
out/<nom>/captions.srt
out/<nom>/contact.png      12 images
out/<nom>/QA.md

Règles de sécurité (tous les agents)

  • Ne jamais modifier ou écraser le fichier brut. Un dossier de travail par vidéo.
  • Ne jamais publier ou télécharger quoi que ce soit.
  • Resynchroniser l'image, jamais la voix : pas de changement de vitesse sur l'audio pour faire correspondre quelque chose.
  • Uniquement des choses réelles à l'écran : sites web réels, écrans d'applications réels, logos officiels. Pas d'interface générée, pas de faux tableaux de bord, pas de badges, autocollants ou émojis.
  • Pas de données privées à l'écran (boîtes de réception, pages bancaires, noms de clients, tableaux de bord connectés) sauf si l'utilisateur a fourni l'image et confirmé qu'elle est sûre.
  • Aucun chiffre ou affirmation sous forme de texte à l'écran sans source fournie par l'utilisateur.
  • Les navigateurs s'exécutent uniquement en mode headless. Lancez les rendus avec nice -n 10. Si l'utilisateur dit qu'il enregistre, arrêtez le rendu.

Sortie de fin d'exécution

DU BRUT AU REEL : prise1
1 Préparation      4K HDR -> SDR BT.709, 212 mots, 3 reprises trouvées, gardé la dernière de chaque
2 Coupe    58,4 s -> 41,2 s, 19 coupes de pause, 3 coupes de reprise, 1 coupe signalée à 00:17,3
4 Visuels   11 plans (4 PLEIN, 3 GRAPHIQUE, 4 SPLIT), 3 captures d'écran, 2 logos officiels
3 Sous-titres  96 repères, 2 mots non alignés (listés dans QA.md)
5 QA        PRÊT (8/8 critères RÉUSSI)  -> out/prise1/QA.md
Décision :    "double votre production" est dit face caméra sans source (liste AFFIRMATIONS)
Rien n'a été publié. Regardez final.mp4 une fois avant de le télécharger.

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

jsath/claude-skills

Writes captions for a finished video from its transcript: pulls the line worth repeating, writes first-line options, writes per-platform versions (Instagram, TikTok, YouTube title and description, others on request), keeps the creator's voice using their best past captions, and checks the call to action matches what the video actually says. Use when a creator asks for captions, a caption hook, a YouTube title and description, or a CTA check. Drafts only; never posts or schedules.

jsath/claude-skills

Write CAPTIONS-PLATFORMS.md for one finished short video: a per-platform post caption for Instagram, TikTok, YouTube Shorts (title + description), Facebook, Threads, Bluesky and X, each within that platform's limits, with your comment-keyword CTA on the platforms where it belongs and never on X. Keyword, CTA, platforms, hashtags and limits come from a config file; a checker script fails the file on any miss. Use after an edit is finished, when asked to 'write the captions', 'caption this reel for every platform', or before scheduling.

jsath/claude-skills

Transcribe audio or video on your own machine with Whisper (mlx-whisper, faster-whisper or whisper.cpp) and get word-level timestamps as words.json, a plain .txt and an .srt. No API key, nothing uploaded. This is the transcription step the editing skills (edit-style, longform-edit, reel-captions) depend on. Use when asked to transcribe a take, get word timings, make an SRT, re-transcribe a final render for a caption sync check, or 'run whisper locally'.

jsath/claude-skills

Turns one published long-form video or podcast transcript into up to thirty pieces: 10 clips with new hooks and exact timestamps, 8 X posts, 4 LinkedIn posts, 3 carousels, 2 threads, a newsletter, a community post and a blog post, laid out on a two-week plan, all built only from what was said. In Claude Code it also cuts, reframes and captions the clips with ffmpeg. Use when someone wants to repurpose a long video, find clips, or write social posts from a transcript. Never posts or schedules.

jsath/claude-skills

Turn a raw talking-head take into a dynamically edited 1080x1920 reel: full-face, full-graphic and split layouts that switch every 2 to 5 seconds, real UI and official-logo panels, captions on every word timed by Whisper, voice plus synthesised SFX (no music bed) mastered to -14 LUFS, and hard QA gates (caption sync on the final render, A/V length, loudness, colour, framing, contact sheet, claims). Also covers writing the script so it does not read as AI. Use when asked to 'edit this reel', 'make it look edited', 'add captions / dynamic layout / graphics', or 'write a reel script'.

jsath/claude-skills

Edits a raw long-form YouTube recording (screen recording export, camera file, or either plus a separate mic) into a publish-ready video automatically, like Descript on autopilot: transcribes with word timestamps, removes retakes and keeps the last take, tightens dead space while keeping silent on-screen action (speeding up long waits), masters the voice to -14 LUFS / -1.5 dBTP with no music bed, re-transcribes the FINAL render for an every-word SRT (optional burned-in captions), drafts chapters, titles and a description, and fails loudly on QA gates (words, A/V sync, caption sync per chapter, caption coverage, loudness) plus contact sheets you look at. Use when someone says edit this long-form, clean up my recording, cut the retakes and dead space, process the long-form inbox, or descript this. Needs Claude Code with ffmpeg, whisper.cpp and Python 3.

jsath/claude-skills

Turns one podcast episode transcript into a week of written content: an Episode Prep agent that checks the transcript and speaker names, a Clip Spotter that picks the best short-clip moments with exact timestamps and hooks for an editor to cut, a Show Notes Writer that writes show notes and chapter markers, a Repurpose Writer that turns the big ideas into a newsletter, a LinkedIn post and Instagram captions, and an Episode Planner that spreads it all over the week. Works from a transcript the user supplies or exports from their transcription tool. It does not edit audio or video and does not cut clips. Use when a podcaster asks for show notes, chapters, clip timestamps, or posts from an episode, or says \"repurpose this episode\". Drafts only; never posts.

jsath/claude-skills

Turns notes, voice-note transcripts and half ideas into Reel, TikTok and YouTube scripts in the creator's own voice: ranks an idea bank, writes ten hooks per idea, writes the script at the right length, rewrites anything that sounds like AI using transcripts of the creator's past videos, and fact-checks every claim with a source and date. Use when someone wants a video script, hooks, a ranked list of what to film, a voice pass, a claims check, or a record sheet to read from while filming.

jsath/claude-skills

Reviews and rewrites a video script (YouTube long-form, a short, or a talking-head reel) so it sounds like one person talking to one friend and holds attention: kills forced analogies and presenter phrases, fixes framing, checks hooks, open loops and re-engagement beats, and suggests titles. Use when someone says fix this script, polish my script, make it sound like me, tighten this before I film, or asks for a hook or title for a video. Returns the rewritten script plus a short change log.

jsath/claude-skills

Make a 1280x720 YouTube thumbnail (or a banner/cover) that reads at phone size: a text-free background plate (generated or from a real frame), a real cutout of the person, 1 to 3 words in tight colour blocks, an official logo, composed by a script that checks overlaps and frame edges and renders the 320px and 168px views you must look at. Use when asked for a thumbnail, cover, banner, 'make this clickable', or to fix a thumbnail that looks cluttered or small.

jsath/claude-skills

Runs five agents that keep a YouTube channel's titles and descriptions matched to what people search for now: a Channel Reader that pulls the user's own video list and stats with their YouTube Data API key, YouTube Analytics OAuth or a pasted YouTube Studio export, a Niche Watcher that finds what is working right now for similar-size channels from public search results the API returns or the user provides, a Title Writer that drafts titles, descriptions and chapters for new videos, a Back Catalogue agent that picks old videos worth a refresh and drafts new versions, and a Change Tracker that records every change the user makes and compares before and after on matched windows. Use when a creator asks for YouTube SEO, better titles or descriptions, what is working in their niche, a back catalogue refresh, or says \"seo run\". Never invents search volumes or stats and never changes a video; drafts only.

Skills associés