Skip to content
Back to skills

Youtube Transcript Pipeline

ASecurity

Generate, clean, correct, translate, and package YouTube interview transcripts with speaker-attributed timestamps into reusable deliverables. Use for workflows involving Deepgram transcription, diarization correction, bilingual output, and structured folder packaging for handoff.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
toolspythongobashgitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill youtube-transcript-pipeline --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Youtube Transcript Pipeline?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Youtube Transcript Pipeline
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-youtube-transcript-pipeline/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-youtube-transcript-pipeline)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: youtube-transcript-pipeline
description: Generate, clean, correct, translate, and package YouTube interview transcripts with speaker-attributed timestamps into reusable deliverables. Use for workflows involving Deepgram transcription, diarization correction, bilingual output, and structured folder packaging for handoff.
---

# YouTube Transcript Pipeline

## Overview

This skill turns a YouTube link into a complete transcript package:
- speaker-labeled, timestamped transcript
- cleaned/interviewer-vs-main speaker correction passes
- optional Chinese translation preserving line format
- optional image/download + workspace packaging

Use this when user asks for: transcript production, diarization fixes, interview cleanup, Chinese translation of transcript, or reusable handoff folders.

## Quick Start

### Inputs
- YouTube URL
- Deepgram API key (Nova-3 for best results)
- preferred speakers (main/interviewer defaults if known)

### Outputs
Place all outputs in a structured folder:
- `transcripts/` (raw / cleaned / translated)
- `artifacts/` (audio + thumbnails)
- `scripts/` (workflow helpers)
- `snippets/` (small JSONs, helper files)
- `MANIFEST.txt`

## Workflow

### 1) Prepare assets
1. download audio from YouTube
2. split into manageable chunks (e.g., 180s)
3. run Deepgram chunked transcription with `nova-3`, word-level output if possible

Suggested command (adapt paths):
```bash
python3 resilient_dg_transcribe_resume.py \
  --audio-dir /tmp/dg_chunks_work2 \
  --max 0 --chunk-sec 180 --model nova-3 --timeout 240
```

### 2) Produce base transcripts
- keep all baseline artifacts (`transcript_*.json`, `transcript_speakers_*.txt`)
- do not delete intermediates; they are useful for audit

### 3) Fix speaker attribution
- apply conservative correction pass first (prefering **main speaker default**)
- review and accept swaps only for clear interviewer-style short questions/interjections
- keep line/timestamp count unchanged

### 4) Translate (optional)
- preserve format: `[$TS] Speaker: text`
- keep timestamps + speaker tags unchanged
- keep technical terms unless explicitly requested otherwise

### 5) Package for delivery
- create workbench folder with clear naming and manifest
- add short summary files (e.g., `summary_30s_zh.txt`, `summary_1min_zh.txt`)
- optional git init + commit for reproducibility

## Quality Rules (important)
- Preserve structure exactly unless user asks otherwise.
- Keep format and timestamps consistent across all versions.
- Use conservative speaker reassignment to avoid over-attributing interviewer lines.
- Append changes in memory logs for durable state (per workspace conventions).

## Resource Mapping

### scripts/
- `create_youtube_transcript_workbench.sh`: creates standardized output folders and manifest, optionally copies key files
- `translate_transcript_google.py`: batch-translates timestamped transcript while preserving format
- `rebuild_from_words.py`: optional word-level rebuild/reconciliation utility for diarization consistency

### references/
- `workflow.md`: detailed decision points for conservative speaker fixes and translation fallback handling

Files in this skill

  • SKILL.md3.1 KB
  • _meta.json312 B
  • references/workflow.md1 KB
  • scripts/create_youtube_transcript_workbench.sh549 B
  • scripts/translate_transcript_google.py2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.