/claude-skills:transcribe-summarizefrom claude-skills
Transcribes audio/video locally with Whisper (on-device) and optionally generates meeting notes or subtitles. Filters Whisper's silence hallucinations and normalizes audio before transcription.
Ships in claude-skills. 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.
Read when SKILL.md points to them; scripts run unread.
Audio in, a transcript out, and optionally a set of meeting notes. The default path runs entirely on the user's machine.
Two things make this different from calling Whisper yourself, and both came out of a day of measurement rather than design:
large-v3 produced an 18-second
segment of one word repeated 55 times. This skill filters those out and keeps
them, with the metrics that rejected them, in a sidecar so the decision is
auditable.large-v3 and turbo
had wrong. It is on by default.ffmpeg and ffprobe must be on PATH — macOS brew install ffmpeg, Windows
winget install Gyan.FFmpeg, Linux apt install ffmpeg.
Everything else is stdlib. The backend brings its own library, and only the
one selected, so pick it with uv run --with:
| backend | platform | --with spec |
|---|---|---|
mlx-whisper — default on Apple Silicon | macOS arm64 only | 'mlx-whisper>=0.4.2' |
faster-whisper — default elsewhere | mac / Windows / Linux | 'faster-whisper>=1.2' |
parakeet — opt-in | Apple Silicon verified | 'parakeet-mlx' |
groq, openai, elevenlabs, gemini — opt-in, network | any | nothing to install |
If the library is missing, the error prints the exact command. Don't guess it.
Declare the helper at the top of every command block — shell state does not persist between tool calls:
ts() {
UV="$(command -v uv || ls "$HOME/.local/bin/uv" "$HOME/.cargo/bin/uv" \
/opt/homebrew/bin/uv /usr/local/bin/uv 2>/dev/null | head -1)"
"$UV" run --with "$1" --script "$HOME/.claude/skills/transcribe-summarize/scripts/transcribe.py" "${@:2}"
}
# Apple Silicon
ts 'mlx-whisper>=0.4.2' meeting.m4a
# Windows / Linux
ts 'faster-whisper>=1.2' meeting.m4a --backend faster-whisper
# Bias the decoder toward known jargon, and fix a name it always gets wrong
ts 'mlx-whisper>=0.4.2' meeting.m4a --prompt 'Terragrunt, EKS' --replace 'north wind=Northwind'
Use the absolute path. A relative one only resolves if the cwd happens to be the skill directory.
<outdir>/
<stem>.md the transcript, with [hh:mm:ss] anchors
<stem>-artifacts/
<stem>.srt subtitles
<stem>.json every segment, including the suppressed ones
<stem>.run.json backend, model, trim offsets, guard tally
--json prints those paths to stdout as JSON. Report absolute paths to the user;
a file they have to hunt for is not a deliverable.
Timestamps are on the original recording's clock. Trimming shortens the audio
during decoding, and the offsets are mapped back before anything is written, so
the .srt lines up with the user's own file.
A network backend is reachable only when the user asks for it in that
invocation. Never as a fallback, never after a local backend fails, never because
it would be faster. --backend auto cannot reach one; there is no code path.
Before anything is sent, the tool prints provider, endpoint, file size, duration
and estimated cost, then waits. Use --dry-run to show the user that block
before committing. In a non-interactive session an unconfirmed upload is refused.
Keys come from the environment, one variable per backend, and nowhere else. Never accept one as a flag, never echo one, never write one into a file.
| backend | key | model | $/hour | diarizes |
|---|---|---|---|---|
groq | GROQ_API_KEY | whisper-large-v3-turbo | 0.04 | no |
groq | GROQ_API_KEY | whisper-large-v3 (default) | 0.111 | no |
elevenlabs | ELEVENLABS_API_KEY | scribe_v2 | 0.22 | up to 32 |
gemini | GEMINI_API_KEY | gemini-3.5-transcribe | 0.306 | up to 8 |
openai | OPENAI_API_KEY | whisper-1 | 0.36 | no |
--backend gemini — the two things to say before running itts '' /path/to/audio.m4a --backend gemini --dry-run # show the block, send nothing
ts '' /path/to/audio.m4a --backend gemini # then run it
Nothing to install — it is stdlib http.client, so the --with argument is
empty. Two facts belong in the sentence you say to the user before running it,
because neither is visible from the command line:
Do not offer Gemini's smart mode. It is not wired up, on purpose. If the
user asks for it — it is the model's headline feature, and it does remove filler
words and rewrite spoken self-corrections — the answer is that Google's API
refuses word timestamps and speaker labels alongside it, so it would produce no
.srt and no speakers, and it changes the words. Filler removal happens at the
notes step instead, where it is labelled a summary and checked. See
references/backends.md.
The audio is normalised and silence-trimmed before decoding, and timestamps are mapped back to the original clock afterwards. This is the single largest quality lever in the tool: cleaning the audio beat reaching for a bigger model.
| flag | what it does |
|---|---|
--no-normalise | skip the loudnorm pass |
--no-trim | skip silence removal; keep the original timeline exactly |
--silence-threshold DB | what counts as silence, default −40 dB |
--min-silence SECONDS | how long a quiet span must be before it is cut, default 1.0 |
--keep-intermediate | keep the prepared wav next to the outputs, to listen to |
Reach for --no-trim when the user cares about the original timeline more than
the bill, and for --keep-intermediate when a transcript looks wrong and you
need to hear what the decoder actually got.
English out: --task translate. Whisper's second task is X -> English and
there is no other target, so this is a task, not a target-language flag.
ts 'mlx-whisper>=0.4.2' /abs/path/call.m4a --backend mlx-whisper \
--model large-v3 --task translate --lang auto
--model large-v3 is required. turbo is a distillation that dropped the
translate task and does not error -- measured 2026-09-06, it returned the
German verbatim when asked for English. Since turbo is the default, the tool
refuses --task translate without an explicit --model large-v3. Do not work
around that; there is no turbo build that translates.
parakeet, elevenlabs and gemini cannot translate at all and refuse. groq
and openai can, through a separate /audio/translations route, English only.
A mixed-language recording: DO NOT USE mlx-whisper. This is the important
one, because mlx-whisper is the default on Apple Silicon and it fails silently.
Whisper decides the language once, from the first 30 seconds. Measured 2026-09-06
on 29.5 s of English followed by German: mlx-whisper returned the German half
translated into English, and rendered "Ich schicke die Aufstellung heute
Nachmittag herum" -- "I'll circulate the breakdown this afternoon" -- as "I'm
going to send the show today to the next day". Not gibberish: Nachmittag
(afternoon) became a day rather than a time of day, so the commitment moved by
up to a day, and Aufstellung (a breakdown) became "the show". Fluent,
confident, wrong, and nothing in the output said so. Warn the user about the
CONTENT, not just the language -- a mistranslation this smooth is not something
they will spot by reading.
faster-whisper, parakeet and gemini all returned the German as German. Pick
one of those when the user says the call has more than one language in it. The
tool prints the caveat at run time on backends that cannot do better, but do not
rely on the user reading it.
--multilingual re-detects per segment, on faster-whisper only; gemini does
it unconditionally. Note that faster-whisper was already correct WITHOUT the flag
on both clips tested, so it is not the thing that saves you -- the backend choice
is.
WHICH LANGUAGE THE TRANSCRIPT COMES OUT IN. Always the one that was spoken.
There is no default to English and no setting that changes it. --task translate
produces English and only English -- there is no way to ask any backend here for
a German transcript of English speech.
So a request like "give my colleague the transcript in German" is a NOTES job, not a transcript job. Take the transcript verbatim in whatever was said, then write the notes document in German. You can write notes in any language; the transcript is a record and stays in the language of the room.
On by default. Suppressed segments stay in the .json with the reason and the
metrics; they are dropped from the .md and .srt. --guard mark keeps them
inline flagged, --guard off disables it.
It does not transfer to every backend. The strong rules read Whisper decoder
metrics. faster-whisper, Groq and OpenAI return all three, so the guard is the
same code. Parakeet, ElevenLabs and Gemini return none of them and fall back
to the backend-independent rules only — the tool says so at run time. See
references/backends.md.
If the user asks why a stretch of transcript is missing, read the .json: the
answer is there with the numbers that caused it.
Most meetings are already transcribed by the platform, and there is often no
audio at all. Teams and Zoom hand out a .vtt (sometimes .srt), and it is
unreadable as prose: a cue every few seconds, sentences chopped across cues, the
speaker's name repeated on every line, timecodes throughout.
That is a supported entry point. Nothing is re-transcribed — the audio path is skipped entirely:
"$HOME/.claude/skills/transcribe-summarize/scripts/normalise_transcript.py" meeting.vtt
# -> meeting.md, cues rejoined into paragraphs, speakers attributed, one anchor per paragraph
Then carry on exactly as if the transcript had been decoded here: read it, ask
for the meeting facts, and write the notes under references/notes-register.md.
--no-speakers drops attribution if the source labels are wrong or unwanted.
It is a format conversion and nothing more. No words are changed, no filler removed, no grammar fixed. Deciding what was said is the summarising step and it has its own rules. If a user hands you a messy transcript and asks for it "tidied up", normalise the format here and do the judgement in the notes — do not quietly rewrite someone's words in a document that is supposed to record them.
Speakers are kept in the transcript and forbidden in the notes, which is not a
contradiction: a transcript is a working artefact and may carry provenance; the
notes are a record and may not. notes_check.py will still reject a raw
Speaker 2 label in the notes.
If someone passes a .vtt to transcribe.py it stops and points here rather
than trying to decode it.
.mp4 is what a Teams or Zoom download actually is, and it works directly — no
need to extract the audio first. Verified working: .mp4, .mov, .mkv,
.webm, plus every audio container (.m4a, .mp3, .wav, .flac, .opus).
ffmpeg pulls the audio track out; the video is ignored and never uploaded.
A file with no audio track — a muted screen recording — is refused up front, before any network backend is offered it. That check runs before the egress gate specifically so a silent video is never uploaded and billed.
Transcription output is a draft. Say so, and make the user check it.
Machine transcription is confidently wrong in ways no threshold catches. Measured
on real audio in this project: large-v3 silently dropped a speaker's spoken
correction of a figure, seven of eight backends heard "board pack" as "board
packs up", and parakeet dropped the passage containing it altogether.
Both read perfectly fluently. The quality guard catches inventions over silence;
it cannot catch a plausible mis-hearing, and neither can you by reading the
output.
So the workflow is transcribe → the user checks → then notes:
.md ends with a "Worth checking" section — ranked
timestamps where a listen-back is most likely to pay off (least-confident
segments, anything containing figures). Point the user at it explicitly..md, by hand or with --replace on a re-run. Then
regenerate anything built from it.Never present a transcript or a set of notes as verified. You did not hear the audio; the user did. Say what was decoded, say where it is least certain, and let them confirm.
The .md is the source. Edit it, then rebuild the PDF — no re-transcription:
"$HOME/.claude/skills/transcribe-summarize/scripts/notes_check.py" notes.md
"$HOME/.claude/skills/transcribe-summarize/scripts/render_pdf.py" notes.md
Run the checker again after any edit. Hand-editing is exactly when a provenance leak or an inferred "next steps" line gets introduced.
When the user wants meeting notes rather than a transcript, you write them —
read the transcript and produce the document yourself. There is a
scripts/summarize.py fallback that calls a network model, but it is for running
this pipeline outside a Claude Code session; inside one it is a pointless upload.
Almost no backend here identifies speakers. Every Whisper engine and Parakeet
return no speaker field at all. Two exceptions: --backend elevenlabs (Scribe)
diarizes up to 32 speakers, and --backend gemini up to 8. Both return
positional labels rather than names — speaker_0 and spk:0 respectively, the
formats measured from live responses on 2026-09-04 and 2026-09-06 — and the
register forbids a raw label in a notes document, in either format. So they tell
you how many people spoke and which lines belong together; they still cannot
tell you who. Attribution comes from the user either way; diarization just makes
the mapping possible from the transcript instead of from memory.
Before writing notes, ask for:
Ask for all three in one message, not one at a time, and offer today's date as the default so the user only has to correct it. If the user declines to supply attendees, proceed unattributed and say that is what you did.
Before writing a single line, read references/notes-register.md. It is short
and it is the whole specification. It is not style advice; the rules in it were
learned by having sections deleted by hand from a real document, and the reasons
are legal rather than aesthetic.
The two rules it turns on:
Speaker 2 labels.Then check it, every time — the register is not self-enforcing and a model asked to summarise will add analysis unprompted:
"$HOME/.claude/skills/transcribe-summarize/scripts/notes_check.py" notes.md
Exit 0 is clean; exit 1 lists file:line for every violation. Fix them before
handing the document over. Run it on the PDF too — a leak that only exists in the
rendered file still counts.
Guidance is welcome, but after the notes and outside the document. Offer your read in conversation, or write it to a separate file. Never append it.
"$HOME/.claude/skills/transcribe-summarize/scripts/render_pdf.py" notes.md
Headless Chrome, Chromium or Edge, discovered automatically. If none is installed it writes the HTML, says so, and exits 0 — the HTML is still a deliverable.
Local decoding is mlx-whisper (MLX) or faster-whisper (CTranslate2); audio
preparation is ffmpeg. The network backends call Groq's and OpenAI's
transcription endpoints directly over stdlib urllib — no vendor SDK.
Keeping provenance out of a notes document changes what the document says, not what happened. Recording a call without consent is a criminal offence in some jurisdictions — in Germany, StGB §201 — and a well-registered write-up is not a defence to it. Obtaining consent is the user's responsibility, and if the question comes up, say so plainly rather than implying the framing provides cover.
Unit tests in tests/, an offline eval in evals/. Fixtures are generated by
fixtures/make_fixtures.py, never committed — this repository is public and
audio never belongs in it.
README.md (opens in a new tab)evals/accuracy/checks.json (opens in a new tab)evals/accuracy/score.py (opens in a new tab)evals/eval.json (opens in a new tab)evals/grade.py (opens in a new tab)fixtures/README.md (opens in a new tab)fixtures/make_fixtures.py (opens in a new tab)images/README.md (opens in a new tab)images/banner.png (opens in a new tab)images/banner.svg (opens in a new tab)images/banner.webp (opens in a new tab)images/og-image.png (opens in a new tab)images/social-preview.png (opens in a new tab)references/backends.md (opens in a new tab)references/notes-register.md (opens in a new tab)scripts/normalise_transcript.py (opens in a new tab)scripts/notes_check.py (opens in a new tab)scripts/render_pdf.py (opens in a new tab)scripts/summarize.py (opens in a new tab)scripts/transcribe.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kevin-burns/claude-skills --plugin claude-skills32 skills in this plugin
/adr-authorWrite or amend an architecture decision record (ADR) that a team will want to read and that names exactly what it decides: the modules, functions, paths or settings, and what must or must never happen. Asks whether the decision deserves a record, interviews briefly, follows the repo's existing ADR format and numbering, shows the draft before writing, and self-checks it (hedged decisions, names missing from the code, status and supersede links). Also amends or supersedes a record when the code turned out to be right. Use for "write an ADR", "record this decision", "document the architecture decision we made", "turn this into a decision record", "supersede ADR 4", "our ADR no longer matches the code", or a one-off exception to an existing ADR. Does not judge code against records, and does not make the decision. General prose and docs are clear-and-human./azadvertizerOffline lookups over AzAdvertizer's published Azure data: Policy, policy initiative and RBAC role metadata with cross-references found nowhere else in one place (which roles a policy uses, which initiatives include a policy, which policies use a role), plus Entra ID roles, API permissions (Microsoft Graph and other first-party apps) and resource types with their latest API versions. Use whenever accurate current facts about an Azure built-in policy, initiative, RBAC or Entra role, Graph permission or resource API version are needed for Azure IaC, governance or landing-zone work./business-planBuild an honest, investor-credible business plan from a founder's idea: full plan, one-page summary and a short investor pitch, as editable Markdown. Use to plan, pitch or pressure-test a venture: "write a business plan for my idea", "is this worth building", size a market, competitor teardown, go-to-market, 3-year financials, "should I raise". Cites sources, computes from the user's assumptions, never invents a number, and ends with a go / no-go / reshape verdict./c7searchLook up current, version-correct documentation and code examples for any library, framework or API through Context7 (the `c7search` CLI) instead of answering from memory. Use whenever the user asks how to use a library, wants a current code example, asks for the current or latest API or signature, or the answer may have changed since the training cutoff, even if they never name Context7./clear-and-humanWrite, review or rewrite prose so it reads like a specific human wrote it, not an AI: docs, READMEs, runbooks, ADRs, PR and commit messages, blog and LinkedIn posts, emails, Slack, video scripts. Use to humanize or de-slop AI text, check whether a draft "sounds like AI", tighten it, or match the user's voice. Neutral and factual; never invents specifics. Persuasive marketing copy is hook-and-human; a CV or LinkedIn profile is cv-and-human./convert-to-webpConvert images (PNG, JPG, etc.) to WebP format. Use when saving screenshots or images for web projects, Hugo sites, or any context where WebP is preferred.Other plugins' skills for the same job