本文へ移動
cccskills
無料GitHub で公開

ra-local-talking-head-cut

Produce a polished local talking-head or narrated screen-recording rough cut without a cloud editor. Use when Codex must clean Chinese or mixed Chinese-English speech, correct product terminology before semantic editing, compress pauses without making speech breathless, preserve source resolution and frame rate, normalize dialogue loudness, generate final-audio subtitle artifacts, or benchmark local output against ChatCut/video-use/chengfeng/AI剪口播.

インストール方法を見る

含まれるファイル(11)

  • SKILL.md7.0 KB
  • agents/openai.yaml276 B
  • references/artifact-contract.md2.8 KB
  • references/default-glossary.json1.7 KB
  • scripts/analyze_visual_cuts.py5.2 KB
  • scripts/build_edl.py5.9 KB
  • scripts/burn_captions.py7.0 KB
  • scripts/generate_final_subtitles.py1.9 KB
  • scripts/prepare_transcript.py6.4 KB
  • scripts/qc.py4.8 KB
  • scripts/render_cut.py6.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

本地口播精剪

Deliver a reproducible local workflow, not an editing product. Keep upstream skills untouched and write every job under the source project's engineering directory.

Required workflow

  1. Probe the source. Preserve width, height, and frame rate unless the user explicitly requests a delivery conversion.
  2. Transcribe with the installed video-use/helpers/transcribe.py using volc.seedasr.auc and word timestamps. Reuse its cached normalized JSON.
  3. Run scripts/prepare_transcript.py with references/default-glossary.json. It must create review.md, precut-review.srt, corrected-script.md, uncertain-terms.md, and subtitle-approval.json.
  4. Give the user the source video plus precut-review.srt and the readable review. Correct only well-supported terminology. Never guess an uncertain model or product name. Stop here and wait for explicit user approval. Do not build an EDL or render a cut while approval is pending.
  5. Resolve uncertain terms by adding confirmed mappings to a job-local copy of the glossary, then rerun preparation so both the script and pre-cut SRT are regenerated together. Preparation always resets approval. After the user confirms the regenerated SRT, set subtitle-approval.json to approved: true, record the confirmation time, and leave unresolved_terms empty. Never keep approval across regeneration.
  6. Write optional decisions.json for semantic deletions. Delete repeated starts and failed takes before their later complete version; preserve unique meaning. Use normalized word indexes only inside artifacts, never in the user-facing report.
  7. Run scripts/build_edl.py with the approval file. The script must refuse to continue unless subtitles are approved and all uncertainty is resolved. Its default pacing keeps pauses up to 550 ms, compresses longer pauses to 380-450 ms, removes only unambiguous 呃/额, and pads source head/tail. Do not replace this with blanket deletion of every pause above 200 ms.
  8. Run scripts/render_cut.py without transitions to create a hard-cut preview. It preserves source dimensions/fps, applies 15 ms audio fades at every cut, uses light dialogue cleanup, and performs two-pass loudness normalization to -16 LUFS / -1.5 dBTP. Stronger denoise or gates are candidates, not defaults: reject a candidate when the same ASR alignment test drops by more than 0.01 or falls below 0.90.
  9. Run scripts/analyze_visual_cuts.py on the hard-cut preview. Inspect its contact sheet and use only its recommended 80-120 ms transitions, capped at three per video. Rerender with --transitions only when a valid semantic cut also has a large visual discontinuity. Do not add blanket transitions.
  10. Run scripts/qc.py against the chosen clean final MP4 and pass it the same transition JSON when transitions were used. Require matching dimensions/fps, valid audio/video, expected duration, and loudness within the gate. Inspect both the general and transition contact sheets.
  11. Run scripts/generate_final_subtitles.py against the exact final MP4 and approved corrected-script.md. It delegates timing/alignment to ra-audio-to-subtitles and refuses delivery unless caption-qc.json is PASS. ASR is the timing source; approved script text is the display source. Never reuse precut-review.srt after timeline edits.
  12. When the deliverable needs visible subtitles, run skill-captions with the final captions.json and PASS caption-qc.json. Use anchor-dark unless the contract selects another style. Preview a representative frame, burn the derivative, and require caption-render-qc.json to pass. Keep the clean rough cut and portable SRT.

Commands

SKILL_DIR="<this skill directory>"
JOB="<engineering job directory>"
WORDS="$JOB/transcripts/<source-name>.json"

python3 "$SKILL_DIR/scripts/prepare_transcript.py" \
  "$WORDS" --out-dir "$JOB/transcript-review" \
  --glossary "$SKILL_DIR/references/default-glossary.json"

python3 "$SKILL_DIR/scripts/build_edl.py" \
  <source.mp4> "$WORDS" --out "$JOB/edl.json" \
  --approval "$JOB/transcript-review/subtitle-approval.json" \
  --decisions "$JOB/decisions.json"

python3 "$SKILL_DIR/scripts/render_cut.py" \
  "$JOB/edl.json" --out "$JOB/local-hard-cut-preview.mp4"

CODEX_PY="$HOME/.cache/codex-runtimes/codex-primary-runtime/dependencies/python/bin/python3"
"$CODEX_PY" "$SKILL_DIR/scripts/analyze_visual_cuts.py" \
  "$JOB/local-hard-cut-preview.mp4" --edl "$JOB/edl.json" \
  --out-dir "$JOB/visual-cut-qc"

python3 "$SKILL_DIR/scripts/render_cut.py" \
  "$JOB/edl.json" --out "$JOB/local-benchmark.mp4" \
  --transitions "$JOB/visual-cut-qc/visual-cut-qc.json"

python3 "$SKILL_DIR/scripts/qc.py" \
  <source.mp4> "$JOB/local-benchmark.mp4" \
  --edl "$JOB/edl.json" \
  --transitions "$JOB/visual-cut-qc/visual-cut-qc.json" \
  --out-dir "$JOB/qc"

python3 "$SKILL_DIR/scripts/generate_final_subtitles.py" \
  "$JOB/local-benchmark.mp4" \
  --script "$JOB/transcript-review/corrected-script.md" \
  --approval "$JOB/transcript-review/subtitle-approval.json" \
  --out-dir "$JOB/captions"

"$CODEX_PY" ".claude/skills/skill-captions/scripts/render_captions.py" \
  "$JOB/local-benchmark.mp4" "$JOB/captions/captions.json" \
  --qc "$JOB/captions/caption-qc.json" --style anchor-dark \
  --out "$JOB/local-benchmark-captioned.mp4" \
  --preview "$JOB/qc/caption-preview.png" --preview-at 15

Omit --decisions when no semantic repeats or failed takes exist.

Decision gates

  • Prefer missed filler over lost meaning.
  • Treat transcript correction and playback deletion as separate operations.
  • Do not create an EDL while subtitle approval is false or unresolved terms remain.
  • Treat precut-review.srt as source-timeline review material only.
  • Do not burn captions while caption-qc.json is absent or not PASS.
  • Do not accept audio cleanup whose same-input ASR coverage regresses by more than one percentage point, even when it sounds superficially quieter.
  • Do not add transitions to every cut; a transition requires both a valid semantic boundary and measured visual discontinuity.
  • Do not call a rough-cut subtitle timeline production-ready.
  • Do not deliver when cut-qc.json reports fail.
  • Keep intermediates in 01-内容生产/视频工作台/制作中/<日期-主题>/; archive only the user-approved final under 视频工作台/已制作/月上旬或月下旬/日期-主题/.

Read references/artifact-contract.md when integrating another renderer or modifying artifact schemas.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

口播视频转录和口误识别。生成审查稿和删除任务清单。触发词:剪口播、处理视频、识别口误

日本語の概要は準備中です。原文の説明を表示しています。

Pluviobyte/rnskill1,6422026年9月21日 更新

将法天象地、同源巨大法相或角色力量显现的视觉参考制作成连续关键帧,再使用用户选择或可用的图生视频工具分段生成、检查和合成动作视频,不绑定成片平台。适用于本体与法相同框、领域展开、凝实与同步出招;不负责整部小说改编或普通图片轮播。

日本語の概要は準備中です。原文の説明を表示しています。

Pluviobyte/rnskill1,6422026年9月21日 更新

口播基础素材包生成。转录口播、识别口误、生成审核页;用户确认后剪出新视频,Agent 再基于剪后视频重新转写、AI 校对字幕,输出后续口播成片可用的 source_cut.mp4 和 subtitles.srt。触发词:剪口播、处理口播素材、准备口播素材、识别口误、基础素材包

日本語の概要は準備中です。原文の説明を表示しています。

Pluviobyte/rnskill1,6422026年9月21日 更新

口播视频成片 Skill。把文章/口播稿/SRT、剪后视频和 HTML/图片素材串成分镜稿、时间线预览和最终 MP4;成片比例和动画风格从用户配置读取,动画默认使用小黑风格。触发词:口播成片、做分镜稿、时间线预览、合成口播视频、导出竖屏MP4

日本語の概要は準備中です。原文の説明を表示しています。

Pluviobyte/rnskill1,6422026年9月21日 更新

自进化 skills。记录用户反馈,更新方法论和规则。触发词:更新规则、记录反馈、改进skill

日本語の概要は準備中です。原文の説明を表示しています。

Pluviobyte/rnskill1,6422026年9月21日 更新

dbs

無料

dontbesilent 商业工具箱主入口。双模式:任务前路由(你的问题该用哪个 skill)+ 任务后导航(刚做完诊断,下一步该干什么)。 触发方式:/dbs、/商业、「帮我看看」、「下一步怎么走」 Main entry point for dontbesilent business toolkit. Dual mode: pre-task routing + post-task navigation. Trigger: /dbs, "help me with my business", "what's next"

日本語の概要は準備中です。原文の説明を表示しています。

Pluviobyte/rnskill1,6422026年9月21日 更新

Pluviobyte のスキルをすべて見る

このスキルの問題を報告する