audio-to-srt
Skill by mathruffian-dot
audio-to-srt turns audio or video files into clean SRT subtitle files. It uses Groq Whisper with word-level timestamps by default, with local Whisper as a fallback. It suits creators who need subtitles or transcripts.
Install audio-to-srt
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mathruffian-dot/2026-YouTube /tmp/2026-YouTube && mkdir -p ~/.claude/skills && cp -r /tmp/2026-YouTube/skills/audio-to-srt ~/.claude/skills/audio-to-srtRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mathruffian-dot/2026-YouTube /tmp/2026-YouTube && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/2026-YouTube/skills/audio-to-srt ~/.gemini/antigravity-cli/skills/audio-to-srtAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
audio-to-srt turns audio or video files (mp3, wav, m4a, mp4, mov, mkv) into clean SRT subtitle files. By default it sends the audio to Groq's whisper-large-v3-turbo model, which returns word-level timestamps. A script then re-splits the text into subtitle blocks based on those word timings, preferring strong punctuation and capping blocks at 3 seconds and 15 characters. A vocabulary script fixes known AI product names and common typos.
The assistant then cleans each block by hand, fixing punctuation and removing filler words while leaving the timecode lines unchanged. A validation script checks that block counts and timecodes still match. The skill also exports a plain text transcript. A local Whisper medium route is available for private content or offline use, but it keeps the original segment timings. It suits people who need subtitles or transcripts for videos and recordings.
Written from the project's SKILL.md and checked against it.
What it can do
- Groq speech-to-textTranscribes audio with Groq whisper-large-v3-turbo and word-level timestamps.
- Timing-based resegmentationSplits text into subtitle blocks using word timings, punctuation and length limits.
- Silence alignmentUses ffmpeg silence detection to end blocks at silence and start the next after it.
- Large file compressionCompresses files over 24 MB to 16kHz mono 32kbps before upload to Groq.
- Vocabulary correctionApplies a fixed replacement list for AI product names and common typos.
- Manual cleanupLets the assistant fix punctuation and filler words per block without changing timecodes.
- SRT validationChecks that block counts, timecodes and text match between raw and cleaned files.
- Plain text exportConverts the cleaned SRT into a plain text transcript for posts or notes.
- Local Whisper fallbackRuns Whisper medium locally for sensitive content or offline use, with segment-level timing.
What you need
- Groq API key (GROQ_API_KEY environment variable or ~/.groq_api_key file)
- ffmpeg
- Python
- Local Whisper install (only for the offline route)
Try asking
- Make an SRT subtitle file from interview.mp3.
- Turn this video into subtitles with timecodes.
- Convert lecture.m4a into a clean plain text transcript.
Good to know
- Groq uploads are limited to 25 MB; files still too large after compression must be split manually.
- The local Whisper route only keeps segment-level timing and skips resegmentation.
- Resegmentation needs the Groq word-level output.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/audio-to-srt/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to audio-to-srt
All alternatives →Keeps customer-facing CopilotKit Intelligence docs on one approved name per concept. Useful for writers, editors and reviewers of docs, nav labels, signup labels and image alt text in showcase/shell-docs.
Gets, makes and treats media for HyperFrames videos. It sources music, sound effects, images, voiceover, avatars and transcripts with HeyGen or free local tools, and applies colour grades and looks to footage.
Searches the user's uploaded photo library and connected device galleries to find, date, and describe photos. Built for personal photo requests and for cases where a photo could ground or personalize an answer.
Converts text, markdown, or another skill's summary into a listenable MP3 using local CPU-only neural text-to-speech. It rewrites the prose for listening first. Aimed at people who want audio briefings.
Generate Image creates new images and edits existing ones using OpenRouter models such as FLUX.2 Pro and Gemini 3 Pro. It is aimed at photos, illustrations, concept art and other visuals that are not technical diagrams.
Gives an AI assistant the HyperFrames CLI for building, checking, previewing and rendering video projects. It suits people who make videos from HTML compositions and want the assistant to run the full workflow.
Compare with intelligence-vocabulary, media-use or media_library
audio-to-srt: common questions
Does audio-to-srt need a Groq API key?
The default route uses Groq and needs a key set as GROQ_API_KEY or in ~/.groq_api_key. Without a key, the skill tells the user to set one, or the user can ask for the offline local Whisper route.
What happens to large audio files?
When a file is over 24 MB, the transcribe script compresses it with ffmpeg to 16kHz mono 32kbps before upload and deletes the temporary file afterward.
Does the cleanup step change subtitle timings?
The source says timecode lines must not be changed during cleanup, and a validation script checks that timecodes match the raw file.
How do I install audio-to-srt?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is audio-to-srt free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is audio-to-srt safe to use?
It scores 46 of 100. Grades: maintenance C, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to audio-to-srt?
Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.
