/transcription-pipeline:convert-rawfrom transcription-pipeline
Turn a raw recording (a phone WAV, often stereo and huge) into a lossless FLAC master that keeps every sample of the speech, plus an optional small listening copy (Opus or MP3). Folds dual-mono stereo to mono after measuring that the channels really are the same, keeps the sample rate and bit depth, verifies length and checksum, and reports peak, clipping and noise floor. No EQ, no denoise, no silence trim. Use on "convert the raw recording", "archive this WAV", "make a FLAC for the dataset", "this file is too big but keep the quality", or before publishing audio to a dataset.
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.
One script, ${CLAUDE_PLUGIN_ROOT}/scripts/convert_raw.py (needs ffmpeg, uv). Writes new files, never
touches the input, prints a JSON report.
uv run --script ${CLAUDE_PLUGIN_ROOT}/scripts/convert_raw.py <input> [-o <dir>] [--name <stem>] \
[--listen opus|mp3|none] [--keep-stereo] [--mono-threshold 40] [--title "<title>"]
This is the archive step, separate from preprocess-audio. Run it first and keep the FLAC as the source of truth.
Then preprocess or EQ copies of it for ASR or for listening. Never preprocess the master itself.
| Step | Rule |
|---|---|
| Channels | Measures side (L-R) against mid (L+R) in three windows spread through the file. If side is 40 dB or more below mid, the stereo is dual mono, and it folds to (L+R)/2. Otherwise it keeps the channels. --keep-stereo never folds. |
| Sample rate | Kept. 44.1 or 48 kHz masters stay as they are, and you downsample only in derived copies. |
| Bit depth | Kept: 16-bit stays 16, 24-bit stays 24, and float sources go to 24-bit integer. |
| Codec | FLAC, compression level 8. Lossless, so it decodes to the same PCM as the folded input. |
| Listening copy | opus (default): mono 48 kbps, which is transparent for voice and about 0.35 MB/min. mp3: mono 96 kbps for older players. none: skip it. |
| Checks | Duration and sample count match the input. FLAC MD5 is reported (metaflac, else the MD5 of the decoded PCM). Peak, RMS, noise floor and samples at peak are reported, and clipping_suspected is set when the peak is above -0.1 dBFS with many samples there. |
Typical result for a phone voice note (16-bit, 44.1 kHz stereo dual mono): the FLAC master comes out at about 24% of the WAV, and the Opus copy at about 3%.
preprocess-audio --preset archive. Do not commit the master unless it is under the cap.preprocess-audio copy (16 kHz mono). The master is wasted upload weight for a speech model.folded_to_mono: true means the recorder is set to stereo with one mic, so half the file was empty. Tell the
user to switch the recorder to mono.peak_dbfs is above -1 dBFS, the gain is near the top but fine for speech. If clipping_suspected is
set, they should lower the input gain.Report: input size and format, master and copy sizes, whether it folded (and the measured dB gap), the check results, and the recording advice from the report, if any.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
13 skills in this plugin
/batch-pipelineRun the transcription pipeline over several recordings at once - the same process for each file, run concurrently, one worker per file (or per small batch). Use on "transcribe these three files", "do the same for all the voice notes in this folder", "batch these calls into minutes", or any request that names more than one recording./clean-transcriptClean a raw ASR transcript into a readable one without losing anything - light (remove disfluencies, resolve self-corrections, punctuation, paragraphs) or heavy (also headings, de-duplication, reordering of passages the speaker flagged as out of order, and marked fixes of likely mistranscriptions). Done by the agent by default or sent to a chosen model. Always keeps the raw. Use on "clean this up", "remove the ums", "tidy the transcript", "fix what it misheard"./complementary-pluginsList and install plugins that complement transcription-pipeline: text-transformations (275 reshape prompts), audio-production, audio-voice-id, text-corpus-analysis, voicenotes./format-documentTypeset a transcript or any of its reshaped versions as a PDF with Typst - a clean A4 document from Markdown, or a conversation layout with speech bubbles per speaker, title, summary and decisions (calls, meetings, interviews). Use on "make it a PDF", "nice document", "with speech bubbles", "something I can send"./label-speakersReplace generic speaker labels (Speaker A/B, Speaker 1/2) in a diarized transcript with real names, from a mapping the user gives, from voice descriptions ("I'm the male voice, Hannah is the female voice"), or from short clips the user listens to and identifies. Use after a multi-speaker transcription, or on "who's who", "label the speakers", "diarize this as me and X"./preprocess-audioPrepare a recording before transcription - optional denoise (FFT or DeepFilterNet for very noisy audio), optional speech EQ (shipped presets or the user's own), conservative silence trimming, and downsampling to mono 16 kHz in a small codec. Smaller uploads, lower cost, cleaner input. Use before any ASR backend, or on "clean up this audio first", "it's noisy", "too big to upload".transcription-pipeline@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin transcription-pipeline