Transcribe
Investigation on using Claude Code to automatically generate profitable YouTube videos.
npx -y skills add jperrello/C0BALT_CUT --skill transcribeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Transcribe a video/audio file to a JSON transcript with word-level timestamps using local whisper.cpp + a GGML model. Use when you have a media file and need text + word timing for downstream subtitle burning or segment ranking.
SKILL.md
1.3 KB, 350 tokens by cl100k_base, as published. Nobody here has run it
transcribe
Local whisper.cpp transcription. No API calls.
Inputs
input: path to a video or audio fileout(optional): output JSON path (defaults to<input>.transcript.json)language(optional): ISO code, defaulten
Output
JSON shaped as:
{
"source": "<input path>",
"language": "en",
"words": [
{"t0": 0.42, "t1": 0.81, "w": "hello"},
...
],
"segments": [
{"t0": 0.42, "t1": 4.10, "text": "Hello, welcome to the show."},
...
]
}
How
- Read
WHISPER_BINandWHISPER_MODELfrom.env. - If input is video, extract 16kHz mono WAV via
ffmpeg -i <in> -ac 1 -ar 16000 -f wav -. - Pipe to
whisper-cli --model "$WHISPER_MODEL" --output-json-full --no-prints -l <lang>. - Parse whisper-cli's JSON; flatten tokens into
words[], group by segment intosegments[].
Run
.claude/skills/transcribe/transcribe.sh <input> [out.json] [lang]
Idempotent: skips work if out is newer than input. Uses --max-len 1 --split-on-word for word-level segments; groups into sentence segments on .!? or every 18 words.