generate-voiceover

generate-voiceover is a command for Claude Code from digitalsamba/claude-code-video-toolkit. It costs 6 tokens per session (3,089 once invoked), scanned A, original, MIT.

A command for creating spoken narration from a script for a Remotion video project, using ElevenLabs or Qwen3-TTS text-to-speech services. It checks the project and scene scripts before generating audio.

In plain words
What is it for?
Use it to generate voiceover for individual video scenes or a complete Remotion project after checking the scene review status and available scripts.
Why use it?
It helps avoid recording narration that no longer matches the visuals or timing, and can prevent wasted service credits when scenes still need review.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is python ../tools/voiceover.py \.

Good fit Use it to generate voiceover for individual video scenes or a complete Remotion project after checking the scene review status and available scripts.

Compare 6 commands from other repositories ↓
About the project

Claude Code Video Toolkit is a workspace that lets Claude Code create videos by producing scripts, voiceovers, music, visuals, and rendered MP4 files. It is for developers using AI-assisted, programmatic video production with tools such as Remotion and open-source media models. The catalogue entries provide commands, skills, instructions, and settings for this workflow.

digitalsamba/claude-code-video-toolkit · 2,251 stars · on GitHub

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/digitalsamba/claude-code-video-toolkit
agentmods
npx agentmods add commands/digitalsamba/claude-code-video-toolkit/generate-voiceover

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for generate-voiceover

README.md
[![agentmods](https://agentmods.dev/badge/commands/digitalsamba/claude-code-video-toolkit/generate-voiceover/github.svg)](https://agentmods.dev/commands/digitalsamba/claude-code-video-toolkit/generate-voiceover)
Your own site
<a href="https://agentmods.dev/commands/digitalsamba/claude-code-video-toolkit/generate-voiceover"><img src="https://agentmods.dev/badge/commands/digitalsamba/claude-code-video-toolkit/generate-voiceover/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for generate-voiceover

Your own site · 80×15
<a href="https://agentmods.dev/commands/digitalsamba/claude-code-video-toolkit/generate-voiceover"><img src="https://agentmods.dev/badge/commands/digitalsamba/claude-code-video-toolkit/generate-voiceover.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,089 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00006 $0.03089
Opus 5.5 $0.00002 $0.01236
Sonnet 5.5 $0.00001 $0.00618
Haiku 4.5 $0.00001 $0.00309

Measured 3d ago against content hash 5f257c4955ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

generate-voiceover scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/generate-voiceover.md · 372 lines

How it starts

The opening of the file, as written. The whole thing — 372 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Generate Voiceover

Help me generate a voiceover for a Remotion video project using ElevenLabs or Qwen3-TTS.

Project Integration

Before gathering configuration, check if we're in a project context:

  1. Check for active project:

    • Look for project.json in current directory or parent projects/*/
    • If found, read it to understand project state
  2. Check review status: If project has phase: "review" or no reviewStatus on scenes:

    ⚠️  Scene review not complete.
    
    Generating voiceover before review risks:
    - Narration that doesn't match visuals
    - Timing mismatches
    - Wasted API credits if script needs changes
    
    Run `/scene-review` first to verify each scene in Remotion Studio.
    
    Options:
    1. Run /scene-review first (recommended)
    2. Generate voiceover anyway (not recommended)
    

    Only proceed if user explicitly chooses option 2.

  3. Check for per-scene scripts (preferred): Look for public/audio/scenes/*.txt files in the project directory.

    If found:

    I see you're working on: {project.name}
    
    Found per-scene scripts in public/audio/scenes/ (recommended):
      - 01-title.txt (estimate: ~3s)
      - 02-overview.txt (estimate: ~15s)
      - 03-demo.txt (estimate: ~20s)
      - 04-summary.txt (estimate: ~12s)
    
    Total estimated: ~50 seconds of narration
    
    Options:
    1. Generate per-scene audio (recommended)
    2. Generate single voiceover file (legacy)
    

    Default to option 1 (per-scene) when scene scripts exist.

  4. If no scene scripts but VOICEOVER-SCRIPT.md exists:

    I see you're working on: {project.name}
    
    Script: VOICEOVER-SCRIPT.md (ready)
    Audio status: ⬜ Not yet generated
    
    Options:
    1. Split into scene scripts first (recommended for iteration)
    2. Generate single voiceover file
    
  5. After generation completes:

    • Update project.json:
      • Set audio.voiceover.status: "present"
      • If per-scene, set audio.voiceover.mode: "per_scene"
      • Transition phase if appropriate (review → audio → editing)
    • Add session entry
    • Regenerate project CLAUDE.md

Read the full file on GitHub · 372 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +4 lines 5f257c4955ca
  2. 1mo ago First seen · 368 lines · 6 tokens per session scan A 460d8f807c47

Subscribe to this mod's changes

generate-voiceover is a command published in the GitHub repository digitalsamba/claude-code-video-toolkit (2,251 stars, last pushed 3d ago), licensed MIT. It adds 6 tokens to every session and 3,089 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.