Skip to main content
rule CX Codex

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

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/rules/transcribe-captions.md
Open on GitHub

What 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.md

The paths frontmatter field limits the files

Step 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.

Similar IDE rules

All IDE rules for Frontend and UI →

From the same set33

The whole set →

Project sponsors

Companies that keep this analytics open