executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
whisperxOperate WhisperX speech transcription, forced alignment, diarization, VAD, and subtitle/output workflows through CLI and Python APIs.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this repo skill when a task involves WhisperX time-accurate automatic speech recognition: CLI transcription, Python ASR APIs, VAD-batched audio handling, forced word/character alignment, speaker diarization, or transcript/subtitle output rendering.
WhisperX wraps faster-whisper/CTranslate2 ASR, VAD preprocessing, wav2vec2 forced alignment for word timestamps, optional pyannote speaker diarization, and writers for text, JSON, TSV, SRT, VTT, and Audacity labels.
scripts/check_whisperx_environment.py verifies package import, distribution version, CLI help/version, ffmpeg presence, core submodule imports, and optional torch CUDA visibility without loading ASR/alignment/diarization models.Typical install:
pip install whisperx
For local tool execution, uvx whisperx is also documented by the project. The covered package baseline is whisperx 3.8.7rc1 with Python >=3.10,<3.14. Path-based audio loading requires the ffmpeg executable. GPU acceleration requires a compatible PyTorch/CTranslate2/CUDA/cuDNN stack; CPU operation should normally use --device cpu --compute_type int8 for CLI commands or device="cpu" with an explicit compute type in Python.
Minimal import check:
python - <<'PY'
import whisperx
print(hasattr(whisperx, "load_model"), hasattr(whisperx, "align"))
PY
| User task | Open this sub-skill |
|---|---|
Build, validate, or troubleshoot whisperx ... command-line transcription commands | sub-skills/transcription-cli/SKILL.md |
Write Python code using load_model, load_audio, FasterWhisperPipeline.transcribe, VAD-batched ASR, progress callbacks, or model caches | sub-skills/asr-python-api/SKILL.md |
Select alignment models, run load_align_model / align, understand word/char timestamp schemas, or debug missing numeric-word timestamps | sub-skills/alignment-timestamps/SKILL.md |
| Use pyannote diarization, handle Hugging Face model access, assign speaker labels, or post-process diarization CSV intervals | sub-skills/diarization-speakers/SKILL.md |
| Validate transcript result JSON, write SRT/VTT/TXT/TSV/JSON/Audacity outputs, tune word highlighting, or split subtitles | sub-skills/outputs-subtitles/SKILL.md |
references/backend-and-environment.md: read before choosing CPU/CUDA/MPS, installing PyTorch variants, relying on model caches, or diagnosing optional runtime prerequisites.references/troubleshooting.md: read for cross-cutting install/import, ffmpeg, CUDA/cuDNN, cache-only, diarization-token, VAD, and output-routing failures.references/repo-provenance.md: read before deciding whether this skill is current for a checkout or whether to run refresh-repo-skill.references/repo-routing-metadata.json: structured scenario metadata for managed repo-skill import.$HF_TOKEN.--task translate disables alignment in the CLI implementation, so word-level subtitle options are invalid for translation commands.words[].start / words[].end fields.