Communitygithub.com

jsath/claude-skills

원샷 토킹헤드 클립을 1080x1920 다이내믹 릴(전신, 그래픽, 분할 레이아웃, 자막, 음성 + SFX 마스터링, QA 게이트)로 편집하는 스킬입니다.

claude-skills란 무엇인가요?

이 스킬은 Claude Code 환경에서 원본 토킹헤드 동영상을 사람이 편집한 것처럼 보이는 전문적인 숏폼 릴(Short-form Reel)로 자동 변환합니다. 자막이 음성과 완벽하게 동기화되고, 2~5초 간격으로 전체 얼굴(FULL), 전체 그래픽(GFX), PIP(화면 속 화면) 레이아웃이 전환되며, 실제 UI나 공식 로고만 사용하여 AI 생성 느낌을 배제합니다. 음성은 Whisper로 자동 전사하고, 합성 SFX를 더한 후 -14 LUFS로 마스터링하며, 최종 파일의 자막 동기, 길이, 음량, 색상, 프레이밍 등을 하드 QA 게이트로 검증합니다. 또한 스크립트가 AI스럽게 읽히지 않도록 작성하는 기능도 포함합니다. "이 릴을 편집해", "캡션/다이나믹 레이아웃/그래픽을 추가해", "릴 스크립트를 작성해"와 같은 요청에 사용할 수 있습니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jsath/claude-skills/tree/HEAD/skills/video/edit-style

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

편집 스타일: 원샷에서 다이내믹 세로 릴 제작

원본 토킹헤드 클립 하나를 손으로 편집한 것처럼 보이는 완성된 1080x1920 릴로 변환합니다. 프레임이 멈추지 않고, 그래픽은 실제 UI나 공식 로고(재고 이미지나 가상의 것 절대 금지)이며, 자막은 비트에 맞춰 떨어집니다. 타임라인에서 수동으로 끌지 않습니다. 모든 결정은 코드로 렌더링되는 작성된 샷 계획을 기반으로 하며, 최종 파일을 측정하는 게이트를 통해 검증됩니다.

파이프라인의 일부: use-local-whisper (전사) -> edit-style (숏폼 편집) 또는 longform-edit (YouTube 장편) -> reel-captions (텍스트 후처리) -> thumbnail-generator (썸네일).

요구 사항

Claude Code가 설치된 컴퓨터에서 실행 (Claude.ai 불가: 셸과 ffmpeg 필요).

필요 항목용도설치 방법
ffmpeg + ffprobe (ebur128 포함)모든 컷, 합성, 게이트brew install ffmpeg / apt install ffmpeg
Python 3.9+ 및 Pillow자막, 큐 정렬pip install pillow
로컬 Whisper단어 타임스탬프use-local-whisper 스킬 참조
OpenCV (선택 사항)프레이밍 게이트, 크롭 솔버pip install opencv-python-headless + YuNet 모델 (tools/face_box.py 참조)
Node + Playwright (선택 사항)헤드리스 화면 캡처npm i playwright && npx playwright install chromium
Remotion (선택 사항)애니메이션 그래픽 패널npx create-video@latest; 전체 패널 스튜디오는 github.com/johannships/reels-engine 참조
swiftc, macOS 전용 (선택 사항)iPhone HDR을 SDR로 변환xcode-select --install

설치 확인: sh tools/check_setup.sh (종료 코드 0 = 준비 완료).

입력

  • raw.mov (또는 mp4): 원본 테이크, 폰 또는 카메라, 모든 방향.
  • script.txt: 말한 내용, 화면에 표시될 그대로 철자됨. 스크립트가 없으면 먼저 references/script-writing.md를 참고하여 작성.
  • 선택 사항: 캡처할 주제 URL (리포지토리, 제품 페이지) 및 모든 숫자의 출처.

파이프라인 (릴당 하나의 폴더: 모든 파일이 해당 폴더에 저장됨)

아래 transcribe.py는 use-local-whisper/scripts/transcribe.py입니다. 병렬 편집 시 작업 폴더를 공유하지 않음: 릴 하나, 폴더 하나.

  1. 소스 확인. ffprobe -v error -select_streams v:0 -show_entries stream=color_range,color_transfer,r_frame_rate -of csv=p=0 raw.mov arib-std-b67 = iPhone HDR, 먼저 톤 매핑; pc,bt709 = 풀레인지 카메라 파일. 정확한 처리: references/source-footage.md 참조.
  2. 리테이크 및 일시 정지 제거. raw를 전사 (transcribe.py raw.mov), 반복된 라인의 마지막 테이크 유지, 단어 중간 절단 금지. 그 다음 python3 tools/tighten.py cut.mp4 tight.mp4 (-50 dB, -38 dB는 절대 안 됨).
  3. 타이트닝된 테이크 전사: transcribe.py tight.mp4 -> tight.words.json 생성.
  4. 샷 계획 작성 (shots.json): 샷당 한 행, {layout, anchor_phrase, content}. anchor_phrase는 words.json과 매칭되는 스크립트 텍스트로, 해당 단어가 말해질 때 샷이 시작됨. 타임스탬프를 수동으로 입력하지 않음. 레이아웃 규칙: references/edit-craft.md 참조.
  5. 에셋 캡처 및 가져오기. 스크린샷: node tools/capture_clock.js <url> shots/s3 6 (헤드리스, 프레임 정확). 로고: 브랜드 공식 보도 페이지 또는 사이트 SVG만. 모든 에셋을 사용 전에 열어보고 확인.
  6. 테이크별 얼굴 프레이밍: python3 tools/face_box.py tight.mp4 --model yunet.onnx --solve full (그리고 --solve pip). 다른 테이크의 크롭 재사용 금지.
  7. 패널 렌더링 (Remotion 또는 스틸 이미지) 각 샷의 정확한 길이로, ffmpeg로 샷별 합성, 연결, 연속 음성을 위에 배치. nice -n 15로 렌더 실행. 스틸에서 룩 개발 후 전체 렌더 한 번.
  8. 믹스 및 마스터링 (references/edit-craft.md 섹션 9): 하이패스 75Hz, 약간의 노이즈 제거, 합성 SFX는 음성보다 12~20dB 낮게, -14 LUFS, 트루 피크 -1.5 dBTP 이하.
  9. 자막, 최종 오디오에 정확히 동기화: transcribe.py final_nocaps.mp4, 그 다음 python3 tools/make_cues.py script.txt final_nocaps.words.json --fix fix.json, 그 다음 python3 tools/burn_captions.py final_nocaps.mp4 cues.json final.mp4 --caps. 텍스트는 스크립트에서, 타이밍은 Whisper에서 가져옴. PIP 샷에서는 --y 0.38 사용.
  10. 게이트 (아래 참조). 모든 게이트 통과 시까지 수정 및 재실행.

레이아웃

레이아웃설명사용 시점
FULL얼굴이 프레임을 채움 (머리 위 13%, 턱 85%)후크, 개인적 비트, 클로즈
GFX전체 화면 실제 UI, 통계 또는 주장 카드, 얼굴 없음각 주요 비트, CTA
PIP그래픽 위에, 얼굴은 하단 둥근 카드 (y 1086, 1080x834, 반경 48)도구 이름을 말하면서 계속 말할 때

2~5초 간격으로 전환. FULL 또는 PIP로 시작, 각 주요 비트에서 GFX로 전환, CTA는 GFX에서 마무리, FULL로 종료. 주제가 특정 브랜드인 경우, 처음 2초 내에 공식 로고 표시.

QA 게이트 (모두 통과해야 함; QA.md에 결과 기록)

#게이트도구통과 기준
1프레이밍face_box.py final.mp4모든 샘플에서 머리 위 > 3%, 턱 < 94%
2챕터별 자막 동기화, 최종 렌더에서최종 파일 재전사, caption_sync_gate.py captions.json final.words.json chapters.json중앙값 <= 0.12초, p95 <= 0.25초
3A/V 길이final_gates.sh final.mp4한 프레임 이내
4음량final_gates.sh-14 +/- 1 LUFS, 트루 피크 <= -1.5 dBTP
5색상/인코딩final_gates.shyuv420p, tv 범위, BT.709 태그, >= 8 Mbps
6피부 휘도 vs 소스skin_luma_check.sh2 레벨 이내
7첫 단어 생존처음 2초 재전사첫 스크립트 단어가 존재
8콘택트 시트final_gates.sh가 contact.png 생성직접 열어 확인: 캡슐이나 스티커 없음, 자막이 입을 가리지 않음, 로고 정확, 개인 정보 없음, 모든 라벨이 4:5 크롭 (y 285 ~ 1635) 안에 있음
9주장수동화면의 모든 숫자는 오늘 확인된 명명된 출처가 있음; 거짓 음성 라인은 제거 및 목록화

자막 동기화 실패 시: 해당 챕터의 큐를 최종 단어에 맞춰 재조정, 다시 자막 굽기, 재전사, 재게이트. 모든 챕터가 통과할 때까지 반복.

출력

reel-folder/
  final.mp4        1080x1920, H.264 BT.709, AAC 48 kHz, -14 LUFS
  captions.srt     final.mp4 재전사 기반, 이름 철자 정확히
  contact.png      직접 확인한 12프레임 시트
  QA.md            게이트당 한 줄, CLAIMS 및 개인 정보 제거 항목 포함
  LOG.md           작업하면서 기록

예시 QA.md:

framing      12/12 PASS (머리 위 최소 6.1%, 턱 최대 88.4%)
caption sync hook 중앙값 0.04 p95 0.11 PASS | body 0.05/0.14 PASS | cta 0.03/0.09 PASS
A/V          차이 0.012s PASS     loudness -14.1 LUFS, -1.8 dBTP PASS
colour       yuv420p tv bt709 13.9 Mbps PASS   skin luma diff 1.2 PASS
contact      확인: 캡슐 없음, 자막이 입을 가리지 않음, 로고 공식, 4:5 안전
CLAIMS       "40,000 스타": GitHub API 14:05 오늘 = 41,212 (41K로 표시)

오류 처리

  • Whisper 없음: 중단하고 설치 (use-local-whisper). 타이밍 추측 금지.
  • OpenCV 없음: 게이트 1의 도구는 건너뛰되, 콘택트 시트의 모든 프레임을 눈으로 확인하여 턱/이마 잘림 체크, QA.md에 명시.
  • Remotion 없음: GFX 샷을 정적 PNG (Pillow 또는 헤드리스 Playwright HTML 카드 스크린샷)로 구성하고 느린 확대(zoompan) 적용.
  • make_cues.py가 종료 코드 2 반환 (스크립트와 오디오 불일치): 실제 말한 내용에 맞게 스크립트 수정. 음성과 일치하지 않는 자막을 굽지 않음.
  • 게이트가 3회 연속 실패: 중단, 수치 보고, 질문.

AI처럼 보이지 않게 하는 규칙

  • 떠다니는 캡슐, 배지, 코너 태그, 스티커, REC 칩 절대 금지.
  • 코드로 생성된 모션 그래픽 지글 금지. 실제 영상과 실제 제품 화면만.
  • 하나의 강조 색상. 샷 유형당 하나의 자막 스타일.
  • 보여주고, 말하지 않기: 음성이 어떤 것을 언급하면, 그 것이 화면에 나타나야 함.
  • 화면에 개인 정보 금지: 재정, 고객명, 계정 ID, 내부 파일.
  • 스크립트나 자막에서 em 대시나 en 대시 사용 금지.

심화 참조: references/script-writing.md (후크, 레지스터, 숫자), references/source-footage.md (HDR, 풀레인지 카메라, 클론 테이크, 무음), references/edit-craft.md (자막, 화면, 프레이밍, 제스처, 오디오, 함정).

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

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 one raw talking-head take into a finished 1080x1920 vertical reel in Claude Code with free local tools (ffmpeg, whisper.cpp, headless Playwright): transcribes, keeps the last take of repeated lines, cuts pauses, captions every word, adds real screenshots and official logos, and runs measured QA gates. Use when someone wants a raw phone take edited into a Reel, TikTok or Short, retakes and silences cut, word-by-word captions, or a finished video checked. In Claude.ai it only produces a cut list, shot plan and .srt from a pasted transcript.

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.

관련 스킬