/transcription-pipeline:messy-audio-fixfrom transcription-pipeline
Diagnose-and-treat workflow for very messy recordings where the standard preprocessor isn't enough. Generates a spectrogram, identifies problematic frequency bands (AC hum, rumble, narrow-band whines, broadband hiss, clipping), and proposes targeted ffmpeg filters. ONLY use when the user explicitly invokes it — the normal pipeline runs `preprocess-for-transcription` directly and skips diagnostic work. Trigger phrases the user might use — "this audio is messy", "transcription failed because of noise", "fix this rough recording", "the audio is bad and the transcript is garbage".
Ships in transcription-pipeline. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Deliberate, opt-in workflow for audio that the standard pipeline can't handle. Diagnoses what's wrong, recommends targeted remediations, and only applies them once the user confirms.
preprocess-for-transcription is the right tool.preprocess-for-transcription.Render a spectrogram and run a numerical analysis:
scripts/render-spectrogram.sh INPUT.opus
uv run --quiet --with numpy --with soundfile --with scipy \
scripts/analyse-spectrum.py INPUT.opus
The analyser produces a JSON report covering:
-af strings, ready to drop into a pipelineShow the user:
Do NOT apply anything yet.
Ask the user which suggestions to apply. They may want all, some, or none. They may also want to skip the messy-audio-fix entirely after seeing the diagnosis ("looks fine to me, just transcribe it").
If multiple narrow-band whines are detected, treat them as a single block — applying or skipping all of them together is fine; cherry-picking individual whines is over-engineering for ASR prep.
Build the ffmpeg filter chain in order:
highpass=f=90equalizer=... filters with t=q:w=2:g=-25loudnorm=I=-16:TP=-1.5:LRA=11-ac 1 -ar 16000-c:a libopus -b:a 24kIf broadband HF hiss was flagged, EQ won't fix it — invoke the standalone denoise skill (DeepFilterNet or Auphonic) before building the filter chain. Then run this skill's filter chain on the denoised output.
If clipping was flagged, warn the user that no amount of filtering can recover the clipped peaks. Proceed anyway — ASR usually copes — but flag that the source recording was already damaged.
Output: <stem>.fixed.opus in audio/processed/.
After applying, re-render the spectrogram on the output and present it side-by-side with the original. Visual confirmation that the targeted bands actually got attenuated.
Then either:
transcribe-gemini-raw (or whichever ASR; transcribe-assemblyai only for timestamps/diarization), ORdenoise with a stronger backend, OR<stem>.spectrogram.png and <stem>.spectrogram.fixed.png in audio/processed/<stem>.spectrum-analysis.json (the diagnostic report)<stem>.fixed.opus (final cleaned output)pyannote-audio / ElevenLabs Voice Isolator), out of scope for this skill.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
29 skills in this plugin
/clean-transcriptRemove filler words, false starts, and immediate repetitions from an existing transcript file. Preserves meaning, tone, and structure. Use when the user asks to clean a transcript, remove fillers, or tidy up a raw transcription./combine-then-transcribeConcatenate multiple audio recordings into one file and send as a single transcription job. Preserves a segment map so timestamps in the unified transcript can be traced back to their source files. Use when the user has several voice memos / chapters / interview parts that belong to one session and wants a single combined transcript instead of N separate ones./combine-versionsConcatenate multiple transcript variants (raw, cleaned, structured, blog, summary, notes) into a single combined document — markdown with variant headers, or Typst-rendered PDF with page numbers and variant name in the footer. Use when the user asks to combine versions, merge transcript variants, or produce a single multi-version document./configureOnboarding for Claude-Transcription — registers the user's transcription and denoise backends (cloud APIs, MCP servers, local binaries, custom endpoints) into a user-data config file. No provider hardcoded; user picks what they have. Use when the user asks to configure claude-transcription, set up the plugin, add a new transcription backend, or pick a default provider./denoiseRemove background noise from an audio file. Cloud providers (Auphonic default, ElevenLabs, Dolby.io) or local (DeepFilterNet ML, ffmpeg afftdn non-ML). Use when the user asks to denoise, clean up noise, remove hum/hiss, or enhance speech audio before transcription./download-youtube-audioUse when the user wants to download audio from a YouTube URL (or YouTube playlist). Triggers on phrases like "download audio from youtube", "grab the audio from this yt link", "yt-dlp this", or any YouTube URL paired with a request to save audio. Saves to ~/audio/yt-raw using yt-dlp.claude-transcription@danielrosehill is listed by theantagonist2020/samr — review the source before installing
npx claudepluginhub theantagonist2020/samr --plugin claude-transcription