SkillsGrove
SkillsGrove/動画制作/soanseng/podcast-use/podcast-use

podcast-use

インストール

$npx skills add https://github.com/soanseng/podcast-use --skill podcast-use
$git clone --depth 1 https://github.com/soanseng/podcast-use.git /tmp/podcast-use && mkdir -p ~/.claude/skills && cp -r /tmp/podcast-use/. ~/.claude/skills/podcast-use
この Agent Skill をインストールしてください:https://github.com/soanseng/podcast-use/tree/a6fd2334c5abff4912516bd1e88a07637ec49f2e/ — まず SKILL.md とスクリプトを読み、安全であることを確認してから、私のスキルフォルダにインストールしてください。

概要

原文の説明 · MITUse when the user wants to edit a podcast, interview, monologue, or voice note: cleanup, shorten, pick takes, remove fillers/dead air, extract clips, or prepare publish-ready audio, subtitles, show notes, YouTube video, or reels from spoken-word recordings with transcript-driven cuts.
以下の SKILL.md は soanseng/podcast-use(コミット a6fd233)から MIT ライセンスに基づいて転載しています。本文は変更しておらず、ファイル先頭のメタデータのみ省略し、画像はリンクとして表示し、非常に長いファイルは途中までの表示としています。Copyright 2026 soanseng。ライセンス:LICENSE。表示しているのは指示ファイルのみです。スクリプト等は元のリポジトリをご覧ください。

Podcast Use

Conversation-driven spoken-word editing assistant.
Core job: help the user cut better audio. Packaging (YouTube, reels, covers) is a second stage.

Edit first. Package later.

When NOT to use

  • Frame-accurate video / multi-cam film edit
  • Full multi-track music production or complex sound design
  • Publication-grade speaker attribution without human review
  • Simple format conversion with no editorial decisions

Hard rules

  1. Mode first. Ask editing intent before cutting. Lock a mode before heavy work.
  2. Never cut mid-word. Align cuts to word timestamps.
  3. Pad cut edges (~30–150ms, default render pad 40ms) to avoid clipped consonants.
  4. Cache transcripts in edit/transcripts/. Do not retranscribe unchanged files.
  5. Keep artifacts in edit/ next to the source audio.
  6. No fake diarization. Groq Whisper has no reliable speaker labels. Multi-speaker edits are content-based only.
  7. No final render from an unapproved EDL. Draft → user approve → edl.approved.json → render.
  8. Warn before destructive cuts that harm meaning, jokes, emotion, or cadence. Propose a safer alternative.
  9. Glossary before final ASR when names, brands, mixed language, or Taiwanese terms matter.
  10. Packaging is opt-in unless mode is publish or the user asks.

Modes

Mode User intent Default outputs
cleanup remove fillers, dead air, slips final.mp3
shorten tighten length final.mp3 + cut rationale
clip extract one or more clips clip audio (+ srt optional)
takes choose best of multiple takes merged EDL + final.mp3
review-only advise only brief + suggestions, no EDL/render
publish ship-ready package audio + srt + video/reels/metadata

If unclear, offer A/B/C choices rather than a long questionnaire.

Details: references/modes.md

Checkpoint workflow

1. Inventory + lock mode → edit/STATUS.md
2. Glossary? (names / jargon)
3. Transcribe → pack → analyze
4. Content brief (short)
5. Cut proposal (safe / optional / risky)
6. User approve → write edl.draft.json
7. validate_edl → preview render
8. Revise from feedback
9. approve_edl → final render
10. Optional packaging (only if requested or mode=publish)

Update edit/STATUS.md after each phase.

1. Inventory

ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 /path/to/audio.wav
uv run helpers/init_status.py --edit-dir /path/to/edit

Ask: single vs multi speaker, target length, cleanup vs restructure, publish or not.

2. Transcribe + pack + analyze

uv run helpers/init_glossary.py --edit-dir /path/to/edit   # if needed
# local Taigi/zh-Hant ASR (LiteLLM proxy; needs LITELLM_MASTER_KEY in .env):
uv run helpers/transcribe_local.py /path/to/audio.wav --glossary /path/to/edit/glossary.txt
# or Groq Whisper:
uv run helpers/transcribe_groq.py /path/to/audio.wav
# optional high-accuracy Groq pass:
uv run helpers/transcribe_groq.py /path/to/audio.wav --glossary /path/to/edit/glossary.txt --model whisper-large-v3 --force

uv run helpers/pack_transcripts.py --edit-dir /path/to/edit
uv run helpers/analyze_audio.py /path/to/audio.wav --edit-dir /path/to/edit

Default model: whisper-large-v3-turbo. Use whisper-large-v3 when accuracy matters more.

transcribe_local.py defaults to breeze-asr-26-taigi (override with PODCAST_ASR_MODEL or --model). It requests verbose_json with timestamp_granularities=["word","segment"], which this proxy honors (verified: 344 words for a 90 s clip), and degrades the request only if the server rejects a parameter. Inputs over 48 MiB are transcoded to 16 kHz mono mp3 before upload; word timestamps stay word-level. build_subtitles.py requires transcripts/<stem>.json['words'] to produce cues for a source; validate_edl.py only warns and skips word-boundary checks when words are missing.

Cue breakpoints: run punctuate_words_local.py on the transcript first, so cues break on punctuation with exact word timings (no interpolation). build_subtitles.py additionally breaks at silence gaps (--max-gap, default 0.35 s) and a duration cap (--max-cue-seconds, default 3.5 s); --max-words (default 24) is only the hard cap. CJK tokens are joined without spaces.

Primary reading surfaces:

  • edit/takes_packed.md
  • edit/analysis/*_suggestions.md

3. Propose cuts (required format)

## Mode
cleanup

## Source
- file: episode.wav
- duration: 48m12s
- speakers: likely 2 (no reliable diarization)

## Strategy
1. ...
2. ...

## Estimated result
~48m → ~36–38m

## Cut tiers
- Safe: ...
- Optional: ...
- Risky: ...

## Risks
- ...

## Next
Approve A (safe) / B (safe+optional) / custom notes?

Do not write EDL until the user confirms a tier or gives notes.

Editing judgment: references/editing-playbook.md

4. Build EDL

Write edit/edl.draft.json:

[
  {
    "source": "episode",
    "start": 12.34,
    "end": 18.91,
    "reason": "Clean explanation without hesitation"
  }
]

Optional per-segment pads: pad_in, pad_out (seconds).

Optional per-segment ops (Audacity-style):

Field Effect
pad_in / pad_out Extra seconds around the cut
gain_db Segment gain, -60..30
fade_in / fade_out Fades in output seconds
speed Tempo change, 0.25..4.0; subtitles are rescaled to match
{"silence": <seconds>} Insert silence as its own segment item

Whole-file remove mode (Audacity "delete selection" semantics):

{"mode": "remove", "segments": [{"source": "episode", "start": 300.0, "end": 312.5}]}

remove keeps the complement of the listed ranges; everything else behaves the same.

uv run helpers/validate_edl.py --edit-dir /path/to/edit --edl /path/to/edit/edl.draft.json
uv run helpers/render_audio.py /path/to/audio.wav --edit-dir /path/to/edit --edl /path/to/edit/edl.draft.json --preview

After user accepts:

uv run helpers/approve_edl.py --edit-dir /path/to/edit
uv run helpers/render_audio.py /path/to/audio.wav --edit-dir /path/to/edit

EDL schema + validation: references/edl.md

5. Final audio notes

Default spoken-word chain: denoise → level → HPF/LPF → EQ → compress → loudnorm → light denoise → limiter.

  • Already mastered source → disable stages selectively (--no-denoise, etc.)
  • Preview skips heavy processing and writes edit/preview.mp3
  • Global edge pad: --edge-pad-ms (default 40)

6. Packaging (second stage)

Only when mode is publish or user asks. Order:

  1. Lock edit / final audio
  2. Subtitles (final.srt)
  3. Cover art (ask text-in-image + style first)
  4. YouTube static video
  5. Reels candidates → user pick → render
  6. show_notes.md, timestamps.txt, youtube_description.md
  7. Social posts: facebook_post.md (~2000 chars), threads_post.md (<=500 chars)
# word-level punctuation pass first (cues then break on punctuation, exact timings):
uv run helpers/punctuate_words_local.py /path/to/edit/transcripts/episode.json

uv run helpers/build_subtitles.py /path/to/audio.wav --edit-dir /path/to/edit
# optional auto refine (local qwen36-genesis via LiteLLM):
uv run helpers/build_subtitles.py /path/to/audio.wav --edit-dir /path/to/edit --refine-local
# optional auto refine (Groq):
uv run helpers/build_subtitles.py /path/to/audio.wav --edit-dir /path/to/edit --refine-groq

After final.srt, refine wording only (keep cue count + timestamps). Prefer glossary terms; for zh-Hant projects prefer Traditional Chinese.

Details:

Directory layout

source_dir/
├── episode.wav
└── edit/
    ├── STATUS.md
    ├── transcripts/
    ├── analysis/
    ├── takes_packed.md
    ├── cut_proposal.md
    ├── edl.draft.json
    ├── edl.approved.json
    ├── edl.json              # alias of approved (compat)
    ├── glossary.txt
    ├── preview.mp3
    ├── final.mp3
    ├── final.srt
    ├── final.mp4
    ├── show_notes.md
    ├── timestamps.txt
    ├── youtube_description.md
    ├── facebook_post.md
    ├── threads_post.md
    ├── cover_prompt.md
    ├── podcast_cover_prompt.md
    ├── reels_plan.json
    └── reels/

Common mistakes

  • Starting cover/reels questions before the edit is locked
  • Treating packed phrase boundaries as the only legal cut points (word-level is source of truth)
  • Over-tightening into ad-read pacing
  • Writing timestamps on source timeline instead of output timeline
  • Confident speaker labels without diarization or manual review
  • Final render from edl.draft.json without approval
  • Inventing sponsor links / CTAs

Red flags — stop and re-center

  • Jumping to packaging during cleanup
  • Cutting without a stated mode
  • Silent EDL changes after user approval
  • Mid-word cut points
  • “Speaker A said…” presented as ground truth

Helper index

Helper Purpose
transcribe_groq.py ASR + word timestamps
transcribe_local.py Taigi ASR via local LiteLLM proxy
pack_transcripts.py Readable packed transcript
analyze_audio.py Silence / filler / retake hints
validate_edl.py Boundary + duration checks
approve_edl.py draft → approved
render_audio.py Preview/final audio from EDL
build_subtitles.py Output-timeline SRT
refine_srt_groq.py Optional SRT wording pass (Groq)
refine_srt_local.py Optional SRT wording pass (local LiteLLM)
punctuate_words_local.py Word-level punctuation pass for punctuation-aligned cues
render_youtube_video.py Static-image MP4
generate_image.py Local cover/reel images
generate_codex_image.py Cover/reel images via Codex CLI (ChatGPT login)
init_deliverables.py Metadata skeletons
init_glossary.py / init_status.py Session setup

Run any helper with --help for flags. Prefer that over inventing options.

Local model config

.env (gitignored, never commit) drives the local LiteLLM endpoint used by transcribe_local.py and refine_srt_local.py:

Key Default Purpose
LITELLM_BASE_URL http://100.102.183.27:4000/v1 Proxy endpoint
LITELLM_MASTER_KEY — Required proxy master key
PODCAST_ASR_MODEL breeze-asr-26-taigi Taigi ASR model
PODCAST_REFINE_MODEL qwen36-genesis Subtitle refinement model

Always call the proxy on :4000 with the master key; the :8001 api_base in the model metadata is proxy-internal routing only.

ライセンス全文を見る(MIT)
MIT License

Copyright (c) 2026 soanseng

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.