Home / All Skills / Content & Media Creation / podcast-transcriber
Content & Media Creation · DoTheWorkNow/podcast-transcriber

podcast-transcriber

Transcribes, formats, and cleans up long-form podcast audio transcripts with accurate speaker diarization, punctuation restoration, and noise removal. Use when turning audio discussions into readable text archives.

L4 High-Privilege · Graded auth & full auditV1 Commit-PinnedDual-pass Audit
💬 Chat Trial
Author DoTheWorkNowGitHub DoTheWorkNow/podcast-transcriber ↗Stars 5License MITCommit c9e2ec1870
Control levels describe skill capabilities and suggested control measures; they do not represent quality or safety certifications, nor do they dictate usability. Usage decisions rest entirely with users and administrators. Different agent hosts apply varying constraints; do not assume hosts provide automatic protection. Third-party skill copyrights belong to their original authors. Use at your own risk.

1How It Works & Mechanism

Automated transcript formatting with clear speaker labels and timestamp alignment.

scripts/download.sh
case "$PLATFORM" in bilibili|youtube) if ! command -v yt-dlp &>/dev/null; then echo "[download] yt-dlp 未安装,正在安装..." pip3 install yt-dlp -q fi
High-readability formatting.

Disfluency and filler word removal (um, uh, repetitions) without altering meaning.

SKILL.md
| File Size | Diarization | Engine | |-----------|-------------|--------| | below 25MB | no | Groq Whisper | | below 25MB | yes | Volcengine BigModel | | over 25MB | any | Volcengine BigModel |
Clean reading flow.

Domain terminology and proper noun correction based on episode context.

README.md
- **为什么要 TOS 中转**:火山 BigModel ASR 只接受 URL,不支持 multipart 上传。所以 ≥25MB 的音频必须先传 TOS → 拿预签名 URL → 提交 → 用完删除。
Glossary verification.

Structured chapter breakdown with topical timestamp markers.

scripts/asr_submit.sh
STATUS=$(curl -s -o /dev/null -w "%{http_code}" -X POST "$ASR_ENDPOINT" \ -H 'Content-Type: application/json' \ -H "X-Api-Key: $VOLC_ASR_KEY"
Navigable audio index.

Groq Whisper 极速轻量转录通道:小于 25MB 且无需分离时直接向 api.groq.com 发送 multipart 表单,并格式化为带 frontmatter 的 Markdown。

scripts/transcribe.sh
if [ "$SIZE_MB" -lt 25 ] && [ "$DIARIZATION" = "false" ] && [ -n "$GROQ_API_KEY" ]; then echo "引擎: Groq Whisper (短音频,免费)" curl -s https://api.groq.com/openai/v1/audio/transcriptions \ -H "Authorization: Bearer $GROQ_API_KEY" \ -F "file=@$AUDIO_FILE" \ -F "model=whisper-large-v3-turbo" \ -F "response_format=text" \ -F "language=zh" \ -o /tmp/groq_transcript.txt
这里在做什么:使用 whisper-large-v3-turbo 模型处理简短语音,省去 TOS 上传及异步轮询等待,数秒内直接落盘为基础逐字稿。

跨平台输出路由与权限兼容:将生成的逐字稿规范命名并落盘,优先使用 macOS ditto 命令规避 iCloud Drive 等受限目录权限,失败时降级到 cp。

scripts/save_output.sh
mkdir -p "$OUTPUT_DIR" # ditto 在 macOS 上能穿透 iCloud Drive 等受限路径的写权限;非 macOS / ditto 失败时回落到 cp ditto "$MD_FILE" "$OUTPUT_DIR/$FILENAME" 2>/dev/null || cp "$MD_FILE" "$OUTPUT_DIR/$FILENAME" echo "[save] ✅ $OUTPUT_DIR/$FILENAME"
这里在做什么:处理转录文本的落盘路径与文件名清洗(将斜杠替换为减号),针对 Darwin 特有的沙箱与扩展属性环境保证文件成功写入目标位置。

分发打包与环境自检工具链:提供 setup.sh 检查 Python/ffmpeg/curl/TOS 等依赖与凭证,build.sh 打包为 .skill 归档便于直接载入 Claude Code。

build.sh
rm -rf "$STAGE" "$OUTPUT" mkdir -p "$STAGE/config" cp "$ROOT/SKILL.md" "$STAGE/" cp -r "$ROOT/scripts" "$STAGE/" cp -r "$ROOT/references" "$STAGE/" cp "$ROOT/config/credentials.env.example" "$STAGE/config/" cd "$DIST" zip -qr "$OUTPUT" podcast-transcriber/ rm -rf "$STAGE"
这里在做什么:通过 build.sh 把 SKILL.md、scripts、references 和凭证模板打成标准 zip 压缩包供 Claude Code 客户端离线安装与运行。

2Core Capabilities

01Speaker diarization and clean transcript formatting
02Filler word and disfluency pruning
03Technical term and named-entity correction
04Timestamped chapterization and index creation
05Groq Whisper 免费短音频快速通道(针对 <25MB 且无分离需求走 whisper-large-v3-turbo)
06TOS 存储对象即用即删生命周期保障(生成临时预签名并在转录完成后自动 delete_object)
07运行环境与凭证自检(scripts/setup.sh 检查 Python3/ffmpeg/curl/tos 及环境变量)

3External Dependencies

KindDependency / Endpoint
cliyt-dlp
cliffmpeg / ffprobe
packagetos (Volcengine TOS Python SDK)
network火山引擎 BigModel ASR 提交与查询端点
network火山引擎 TOS 对象存储外网域名
networkGroq Whisper 转录接口

4Recommended Governance & Evidence

Suggested Controls for Safe Operation
For Agent Runtime
Can be auto-loaded
For Administrators
Register source and version
Audit Notes: Text formatting and cleaning guidelines; zero host permissions or network calls required.

5Second-Pass Verification

  • [ok] 双引擎选路阈值与回退机制 — transcribe.sh 中明确按 SIZE_MB < 25 且 DIARIZATION == false 且存在 GROQ_API_KEY 路由到 Groq Whisper,其余分支统一走火山 BigModel,代码与文档描述严格吻合。
  • [ok] TOS 预签名中转与临时对象删除 — upload_tos.py 生成 presigned_url 供 ASR 读取;transcribe.sh Step 5 调用 TosClientV2 delete_object 删除对应 key,具备即用即删保障。
  • [ok] 多平台下载与爬虫实现 — download.sh 对 bilibili/youtube 调用 yt-dlp,对小宇宙正则抽取 og:audio 音频,直链用 curl,异常均 exit 1 退出。
  • [ok] eval 参数注入风险点核实 — transcribe.sh 第 766 行使用了 `eval "python3 $SCRIPT_DIR/format_output.py /tmp/asr_result.json $FORMAT_ARGS"`,在注入面与风险中如实披露。
  • [ok] 凭证加载路径核实 — asr_submit.sh、transcribe.sh、upload_tos.py 均统一按 config/credentials.env 与 ~/.podcast-transcriber/credentials.env 双路径探测加载。
  • [ok] 元数据与许可证核实 — 仓库根 LICENSE 为 MIT,stars=5,commit 为 c9e2ec1870b2eb134245de3e1f985f416aa01977,与核定值一致。

6Verdict & Scenarios

  • Produces publication-ready transcripts that read naturally as written articles
  • Preserves exact technical accuracy while removing conversational noise and stammering
  • Generates structured timestamps suitable for show notes and video chapters
  • Best for: Ideal for podcast hosts, producers, interviewers, and researchers transcribing audio interviews and panel discussions.
    Not for: Not a real-time live captioning tool for streaming broadcasts.
    💬 Online Trial Chat Sandbox

    Preview this skill in an interactive chat playground. Generic LLM evaluation trial.

    💬 Open Chat Trial (Preview)
    Under construction · Generic sandbox trial
    Install Agent-Ready
    ① Accelerated Distribution dl.bestaiskill.com
    Option A · Direct Zip Download⚡ Download podcast-transcriber (Zip)
    Edge-accelerated mirror via dl.bestaiskill.com
    Option B · Copy Guide for Agent
    install.json
    Agents automatically download and verify mirrors from this JSON guide.
    ② Upstream GitHub
    GitHub Repo ↗
    Pinned to commit c9e2ec1870.