From maxgent
Speech-to-text transcription using Whisper with word-level timestamps. Use when users ask to transcribe audio or video to text, generate subtitles, or recognize speech.
How this skill is triggered — by the user, by Claude, or both
Slash command
/maxgent:audio-transcribeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Speech recognition using WhisperX with multi-language support and word-level timestamp alignment.
Speech recognition using WhisperX with multi-language support and word-level timestamp alignment.
Requires Python 3.12 (uv manages this automatically).
When the user wants to transcribe audio/video: $ARGUMENTS
If the user has not provided an input file path, ask them to provide one.
Supported formats:
Verify the file exists:
ls -la "$INPUT_FILE"
Warning: You MUST use AskUserQuestion to collect user preferences. Do not skip this step.
Use AskUserQuestion to collect the following:
Model size: Choose the recognition model
Language: What language is the audio?
Word-level alignment: Do you need word-level timestamps?
Output format: What format to output?
Output path: Where to save?
<original_name>.txt (or matching format)Use the transcribe.py script in the skill directory:
uv run /path/to/skills/audio-transcribe/transcribe.py "INPUT_FILE" [OPTIONS]
Parameters:
--model, -m: Model size (tiny/base/small/medium/large-v2)--language, -l: Language code (en/zh/ja/...), auto-detect if not specified--no-align: Skip word-level alignment--no-vad: Disable VAD filtering (use if transcription has time jumps or missing segments)--output, -o: Output file path--format, -f: Output format (srt/vtt/txt/json)Examples:
# Basic transcription (auto-detect language)
uv run skills/audio-transcribe/transcribe.py "video.mp4" -o "video.txt"
# Chinese transcription, output SRT subtitles
uv run skills/audio-transcribe/transcribe.py "audio.mp3" -l zh -f srt -o "subtitles.srt"
# Fast transcription, skip word alignment
uv run skills/audio-transcribe/transcribe.py "audio.wav" --no-align -o "transcript.txt"
# Use a larger model, output JSON (with word-level timestamps)
uv run skills/audio-transcribe/transcribe.py "speech.mp3" -m medium -f json -o "result.json"
# Disable VAD filtering (fix time jumps / missing segments)
uv run skills/audio-transcribe/transcribe.py "audio.mp3" --no-vad -o "transcript.txt"
After transcription completes:
[00:00:00.000 - 00:00:03.500] This is the first sentence
[00:00:03.500 - 00:00:07.200] This is the second sentence
1
00:00:00,000 --> 00:00:03,500
This is the first sentence
2
00:00:03,500 --> 00:00:07,200
This is the second sentence
[
{
"start": 0.0,
"end": 3.5,
"text": "This is the first sentence",
"words": [
{"word": "This", "start": 0.0, "end": 0.5, "score": 0.95},
...
]
}
]
Slow on first run:
Out of memory:
Low recognition accuracy:
npx claudepluginhub maxgent-ai/maxgent-plugin --plugin maxgentCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.