Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 46
  • 54 stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install audio-to-srt in Claude Code

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

A

No 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 →

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.

audio-to-srt Install

Add to stack

Loading.