sanzaru: Command for Claude Code

.claude/commands/podcast-gen.md

podcast-gen is a command for Claude Code from TJC-LP/sanzaru. It costs 0 tokens per session (2,619 once invoked), scanned A, original, MIT.

A podcast-generation workflow that turns a structured script with multiple speakers into one downloadable MP3 or WAV file. It creates each spoken part with text-to-speech and joins them with configurable pauses.

In plain words
What is it for?
Use it to clarify an episode, write its script, estimate its length, and generate the finished audio file.
Why use it?
It removes the manual work of recording, combining, and timing separate voices for a podcast episode.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is TJC-LP/sanzaru's own configuration. It tells Claude Code how to work on sanzaru itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sanzaru configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TJC-LP/sanzaru. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/TJC-LP/sanzaru/main/.claude/commands/podcast-gen.md
Clone the repo
git clone --depth 1 https://github.com/TJC-LP/sanzaru

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 podcast-gen

README.md
[![agentmods](https://agentmods.dev/badge/commands/tjc-lp/sanzaru/podcast-gen/github.svg)](https://agentmods.dev/commands/tjc-lp/sanzaru/podcast-gen)
Your own site
<a href="https://agentmods.dev/commands/tjc-lp/sanzaru/podcast-gen"><img src="https://agentmods.dev/badge/commands/tjc-lp/sanzaru/podcast-gen/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 podcast-gen

Your own site · 80×15
<a href="https://agentmods.dev/commands/tjc-lp/sanzaru/podcast-gen"><img src="https://agentmods.dev/badge/commands/tjc-lp/sanzaru/podcast-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,619 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.00000 $0.02619
Opus 5.5 $0.00000 $0.01048
Sonnet 5.5 $0.00000 $0.00524
Haiku 4.5 $0.00000 $0.00262

Measured 1mo ago against content hash 5233f9e4cff4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

podcast-gen 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 1mo 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/podcast-gen.md · 259 lines

How it starts

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

You are generating a multi-voice podcast using Sanzaru's generate_podcast tool.

Overview

The generate_podcast tool takes a structured PodcastScript and produces a single downloadable mp3 (or wav) file. It generates each spoken segment via TTS, then stitches them together with configurable silence gaps.

Choosing the engine

generate_podcast is the podcast tool even when you start from just a topic: you write the script, then render it. Do not reach for simulate_podcast — it is experimental, the most expensive tool in sanzaru, and meant only for an explicitly requested unscripted conversation.

Recommended for any multi-voice script: ElevenLabs eleven_v4, render_mode: "dialogue", verify: true. The model paces the turns itself and performs inline direction tags — [laughs], [sighs], stacked [whispers] [nervously] — which v3 dropped in a blind listen. Use "model": "eleven_v4_turbo" for drafts (half the character cost, roughly half the render time).

  • Set "provider": "elevenlabs" on each speaker and give an ElevenLabs voice id (table below).
  • Put delivery in the text as tags. instructions is ignored by ElevenLabs, and speed is refused on v4 (the API ignores it), so omit both.
  • Keep each run of consecutive turns under 2000 characters; longer scripts are split into several dialogue requests automatically, at turn boundaries.
  • Fall back to OpenAI voices (the guide below) when no ELEVENLABS_API_KEY is configured, or use render_mode: "segments" when you need exact pauses or per-speaker voice_settings.

ElevenLabs premade voices that pair well (global ids, available on every account):

Voice id Character
George JBFqnCBsd6RMkjVDRZzb warm British storyteller
Laura FGY2WhTYpPnrIDTdsKH5 quirky enthusiast
Alice Xb7hH8MSUJpSbSDYk0k2 clear British educator
Roger CwhRBWXzGAHq8TQ4Fs17 laid-back, casual
Matilda XrExE9yKIg1WjnnlVkGX professional
{
  "title": "show_name_ep01",
  "speakers": [
    {"id": "host", "name": "George", "voice": "JBFqnCBsd6RMkjVDRZzb", "provider": "elevenlabs"},
    {"id": "cohost", "name": "Laura", "voice": "FGY2WhTYpPnrIDTdsKH5", "provider": "elevenlabs"}
  ],
  "segments": [
    {"speaker": "host", "text": "[warmly] Welcome back. Today we're asking whether Haskell belongs in private equity."},
    {"speaker": "cohost", "text": "[laughs] Most people hear Haskell and think ivory tower."}
  ],
  "config": {"render_mode": "dialogue"}
}

Read the full file on GitHub · 259 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. 1mo ago Changed · +49 lines 5233f9e4cff4
  2. 2mo ago First seen · 210 lines · 0 tokens per session scan A 51e539f81f4b

Subscribe to this mod's changes

podcast-gen is a command published in the GitHub repository TJC-LP/sanzaru (6 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,619 tokens. 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-31.

Related

podcast-gen compared with commands from other repositories

podcast-gen next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
podcast-genTJC-LP/sanzaruCommand6yesterdayMITA0Claude Code
checklistgithub/spec-kitCommand148kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand148kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand148kyesterdayMITA13Claude Code
analyzegithub/spec-kitCommand148kyesterdayMITA26Claude Code
convergegithub/spec-kitCommand148kyesterdayMITA35Claude Code
implementgithub/spec-kitCommand148kyesterdayMITA14Claude Code