transcribe-captions — Claude Code rule for Remotion captions
The transcribe-captions rule outlines three ways to transcribe audio for Remotion captions: run Whisper.cpp on a server, use WebAssembly in a browser, or call OpenAI Whisper API.
no license ★ 849 updated 2026-01-24
.claude/rules/transcribe-captions.mdWhat transcribe-captions does
The rule covers three transcription options for Remotion. @remotion/install-whisper-cpp runs Whisper.cpp locally on a server. @remotion/whisper-web processes audio in the browser with WebAssembly, while @remotion/openai-whisper uses OpenAI’s hosted API.
Their requirements differ. Whisper.cpp needs server infrastructure; the browser option needs no server but runs slower because of WebAssembly overhead. OpenAI’s API also needs no server, but it requires payment. Without server infrastructure, the local Whisper.cpp route is not an option.
What it helps with
- choose an audio transcription method for Remotion captions
- transcribe audio locally with Whisper.cpp
- generate captions in a browser without a server
- use OpenAI Whisper API for cloud transcription
Example prompts for the agent
- Choose a transcription method for captions in my Remotion project.
- Compare Whisper.cpp with browser-based transcription for these captions.
- Set up OpenAI Whisper API transcription for Remotion captions.
How to install transcribe-captions
Manually: put the files in place
.claude/rules/transcribe-captions.mdThe paths frontmatter field limits the files
AGENTS.md
Codex reads AGENTS.md: paste the rule text there
Manually: put the files in place
.cursor/rules/transcribe-captions.mdcFrontmatter: description, globs, alwaysApply
Manually: put the files in place
.github/instructions/transcribe-captions.instructions.mdThe applyTo field sets which files it applies to
Manually: put the files in place
.devin/rules/transcribe-captions.mdManually: put the files in place
.clinerules/transcribe-captions.mdStep by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use
Questions about transcribe-captions
How do I install transcribe-captions in Claude Code?
Add the rule file at .claude/rules/transcribe-captions.md.
What does transcribe-captions do?
It describes three ways to transcribe audio for Remotion captions: local Whisper.cpp, browser-based WebAssembly, and OpenAI Whisper API.
Does audio transcription require a server?
Whisper.cpp needs server infrastructure. @remotion/whisper-web runs in the browser without a server, and OpenAI Whisper API also needs no server but requires payment.