Communitygithub.com

jsath/claude-skills

자체 머신에서 Whisper(mlx-whisper, faster-whisper 또는 whisper.cpp)로 오디오/비디오를 받아쓰고 words.json, .txt, .srt 파일을 생성합니다. API 키나 업로드가 필요 없습니다. 편집 스킬(edit-style, longform-edit, reel-captions)에 필요한 전사 단계입니다.

claude-skills란 무엇인가요?

이 스킬은 Apple Silicon, Linux/Windows 등 로컬 환경에서 Whisper(mlx-whisper, faster-whisper, whisper.cpp)를 실행하여 오디오/비디오 파일을 단어 수준 타임스탬프(words.json), 일반 텍스트(.txt), SRT 자막(.srt)으로 변환합니다. API 키나 파일 업로드 없이 완전 오프라인으로 작동하며, ffmpeg가 설치된 모든 컴퓨터에서 사용 가능합니다. Claude Code(쉘 접근 가능)에서 실행되며, Claude.ai(쉘 없음)에서는 사용자에게 SRT 업로드를 요청해야 합니다. 주요 기능으로는 백엔드 자동 감지(auto), 언어 감지(--lang auto), 출력 디렉토리 지정(--out), 단어 단위 큐 병합(--words-per-cue) 등이 있습니다. 또한 대본 텍스트와 Whisper 타이밍을 정렬하는 규칙(예: 'Cloud'를 'Claude'로 수정하는 fix map), 긴 파일 처리, 오류 시나리오 대응 가이드를 제공하여 편집 파이프라인(edit-style, longform-edit, reel-captions)의 전사 기반 역할을 합니다.

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

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

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

문서

로컬 Whisper 사용하기

하나의 스크립트, 세 가지 백엔드, 하나의 출력 형식. 모든 다운스트림(컷 목록, 자막 타이밍, 싱크 게이트)은 <stem>.words.json을 읽습니다:

[
{"w": "Your", "s": 0.02, "e": 0.27},
{"w": "AI", "s": 0.27, "e": 0.4}
]

w = 인식된 단어, s/e = 시작/끝 시간(초).

요구 사항 (컴퓨터에서 Claude Code 사용 시)

  • ffmpeg (아무 빌드): brew install ffmpeg / apt install ffmpeg
  • Python 3.9+
  • 하나의 백엔드:
백엔드설치기본 모델사용 시기
mlxpip install mlx-whispermlx-community/whisper-large-v3-turboApple Silicon. 세 가지 중 단어 TIMING이 가장 우수
faster-whisperpip install faster-whisperlarge-v3-turboLinux/Windows, 또는 CUDA
whisper-cppbrew install whisper-cpp (바이너리는 whisper-cli)없음, --model 전달 필요Python ML 스택을 원하지 않는 경우

whisper.cpp 모델 다운로드 (466 MB, 영어):

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

설치 확인 (auto가 사용할 백엔드를 출력):

ffmpeg -version | head -1
python3 -c "import mlx_whisper" 2>/dev/null && echo mlx || \
python3 -c "import faster_whisper" 2>/dev/null && echo faster-whisper || \
command -v whisper-cli || echo "백엔드 없음: 표에서 하나를 설치하세요"

Claude.ai에서는 사용할 수 없습니다(쉘 없음). 대신 사용자에게 SRT 파일을 업로드하도록 요청하세요.

실행하기

python3 scripts/transcribe.py take.mov                       # 자동 백엔드, 영어
python3 scripts/transcribe.py take.mov --backend whisper-cpp --model ~/whisper-models/ggml-small.en.bin
python3 scripts/transcribe.py final.mp4 --out qa/ --words-per-cue 2
python3 scripts/transcribe.py interview.m4a --lang auto      # 언어 감지

먼저 ffmpeg로 16kHz 모노를 추출하므로 모든 컨테이너(mov, mp4, m4a, wav)가 작동합니다. --out이 없으면 출력은 입력 파일 옆에 생성됩니다: <stem>.words.json, <stem>.txt, <stem>.srt.

작업별 모델 선택

작업모델이유
자막 큐 TIMING, 싱크 게이트large-v3-turbo (mlx 또는 faster-whisper)작은 모델은 동일한 오디오에서 단어당 0.1~0.4초 드리프트 발생
전사 텍스트, 컷 목록, 재촬영 감지small.en 또는 turbo텍스트 품질은 비슷함; small.en은 CPU에서 빠름
비영어large-v3-turbo with --lang <code>.en 모델은 영어 전용

재작업을 줄이는 규칙

  1. 스크립트의 텍스트, Whisper의 타이밍. Whisper는 이름을 잘못 알아듣습니다("Cloud" for Claude). 자막의 경우 스크립트의 단어를 words.json에 정렬하고 스크립트 철자를 유지하세요(edit-style tools/make_cues.py가 이를 수행). 스크립트가 없는 항목에 대해서는 수정 맵({"cloud code": "Claude Code"})을 유지하세요.
  2. 스크립트에서 숫자는 숫자로 작성하세요. Whisper는 2,000을 출력하고 "two thousand"를 출력하지 않으므로 철자로 작성된 스크립트는 정렬에 실패합니다.
  3. 최종 렌더링을 다시 전사하여 게시된 SRT와 싱크 검사를 수행하세요. 원본 테이크의 시간은 모든 컷 후에 틀립니다.
  4. Whisper는 음성이 나중에 시작하더라도 첫 번째 단어를 0.00 근처에 스탬프합니다. 오디오 에너지로 실제 시작점을 찾아 헤드를 자르기 전에 확인하고, 첫 2초를 다시 전사하여 첫 번째 단어가 살아남았는지 확인하세요.
  5. 긴 파일(약 30분 이상): 세 백엔드 모두에서 잘 작동하며, Apple Silicon에서 turbo로 대략 실시간 / 10 정도입니다. 같은 기기에서 녹음 중이라면 nice -n 15 아래에서 실행하세요.

오류 처리

증상해결 방법
no local Whisper found표에서 하나의 백엔드를 설치하세요
whisper-cpp needs --model위에서 ggml 모델을 다운로드하거나 WHISPER_MODEL 설정
whisper-cli not found지만 설치됨WHISPER_BIN=/path/to/whisper-cli 설정 (launchd/cron PATH는 종종 /opt/homebrew/bin 누락)
빈 출력 또는 0단어 출력파일에 오디오가 있는지 확인: ffprobe -v error -select_streams a -show_entries stream=codec_name -of csv=p=0 FILE
잘못된 언어 / 횡설수설--lang <code>를 명시적으로 전달
단어들이 붙어 출력("2,000files")일부 빌드에서 whisper.cpp 버그; 타이밍 작업은 mlx 또는 faster-whisper 사용

보고할 출력

whisper-cpp: 17 words, 5.68s -> o/take.words.json / .txt / .srt

그런 다음 words.json 경로를 다음 스킬(edit-style, longform-edit, reel-captions)에 전달하세요.

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

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

관련 스킬