yt
/yt
Orchestrate YouTube video analysis pipeline — transcribe and then process videos (summarize, extract domain news, or apply custom prompts). Use whenever user provides YouTube URLs and wants to extract information from them: summaries, news, novelties, key points, analysis, or custom processing. Triggers on: YouTube links + any analysis intent, 'co nowego w tych filmach', 'podsumuj filmy', 'summarize these videos', 'extract info from YT', 'what's new in AI from these episodes', 'przeanalizuj te filmy', or any request combining YouTube URLs with content extraction. Always use this — not yt-trans
- Author
- grixu ↗
- Repository
- cc-toolkit ↗
- Licence
- MIT
- Last repository change
- 26.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 3
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Orchestrate YouTube video analysis pipeline — transcribe and then process videos (summarize, extract domain news, or apply custom prompts). Use whenever user provides YouTube URLs and wants to extract information from them: summaries, news, novelties, key points, analysis, or custom processing. Triggers on: YouTube links + any analysis intent, 'co nowego w tych filmach', 'podsumuj filmy', 'summarize these videos', 'extract info from YT', 'what's new in AI from these episodes', 'przeanalizuj te filmy', or any request combining YouTube URLs with content extraction. Always use this — not yt-trans
Triggers from the description
Original author description
Orchestrate YouTube video analysis pipeline — transcribe and then process videos (summarize, extract domain news, or apply custom prompts). Use whenever user provides YouTube URLs and wants to extract information from them: summaries, news, novelties, key points, analysis, or custom processing. Triggers on: YouTube links + any analysis intent, 'co nowego w tych filmach', 'podsumuj filmy', 'summarize these videos', 'extract info from YT', 'what's new in AI from these episodes', 'przeanalizuj te filmy', or any request combining YouTube URLs with content extraction. Always use this — not yt-trans
How it works
- Sub-skills
- Transcript index
- Step 1 — Extract URLs
- Step 2 — Check the index for cache hits
- Step 3 — Launch transcription in background (only for fresh URLs)
- Step 4 — Ask user preferences
- Step 5 — Wait for transcription
- Step 6 — Archive new transcripts + update index
- Step 7 — Build processing objects
- Step 8 — Process all in parallel
SKILL.md preview
---
name: yt
description: "Orchestrate YouTube video analysis pipeline — transcribe and then process videos (summarize, extract domain news, or apply custom prompts). Use whenever user provides YouTube URLs and wants to extract information from them: summaries, news, novelties, key points, analysis, or custom processing. Triggers on: YouTube links + any analysis intent, 'co nowego w tych filmach', 'podsumuj filmy', 'summarize these videos', 'extract info from YT', 'what's new in AI from these episodes', 'przeanalizuj te filmy', or any request combining YouTube URLs with content extraction. Always use this — not yt-transcribe or transcript-process separately — when the user wants end-to-end YouTube video analysis. For local audio/video files instead of YouTube, use the `local` skill."
---
# yt — YouTube Video Analysis Pipeline
Orchestrate the full pipeline: check the transcript index for cache hits, transcribe any new URLs in background, gather user preferences, then process all transcriptions in parallel.
## Sub-skills
| Skill | Path | Purpose |
|---|---|---|
| yt-transcribe | `${CLAUDE_PLUGIN_ROOT}/skills/yt-transcribe/SKILL.md` | Download audio + transcribe to Markdown |
| transcript-process | `${CLAUDE_PLUGIN_ROOT}/skills/transcript-process/SKILL.md` | Process transcriptions (summary / news / custom) — source-agnostic |
## Transcript index
`transcripts/index.json` tracks every video we've already transcribed. Shape:
```json
{
"videos": [
{
"url": "https://www.youtube.com/watch?v=abc123",
"title": "Original title — may include Polish diacritics",
"transcript_path": "transcripts/2026-04-17/Safe_Title.md",
"transcribed_at": "2026-04-17T10:30:00Z"
}
]
}
```
- Deduplication key is `url` — one entry per URL.
- Never write an entry if the transcript file doesn't actually exist on disk.
- Only this skill reads and writes this file. The `local` orchestrator keeps its own `transcripts/local-index.json`; never merge the two.
## Step 1 — Extract URLs
Parse all YouTube URLs from the user's message. Any format: `watch?v=`, `youtu.be/`, `shorts/`, etc.
No URLs found? Ask the user to provide them before continuing.
## Step 2 — Check the index for cache hits
Load `transcripts/index.json` if it exists. For each extracted URL:
- Is there a matching entry AND does its `transcript_path` still exist on disk? → **cached**
- Otherwise → **fresh** (needs transcription)
If any URLs are cached, ask the user whether to reuse:
```
AskUserQuestion({
questions: [{
question: "Mam już transkrypcje dla N z M filmów. Co zrobić?",
header: "Cache",
multiSelect: false,
options: [
{
label: "Użyj istniejących (Recommended)",
description: "Zero pobierania i opłat za Scribe — analiza rusza od razu na istniejących transkrypcjach"
},
{
label: "Pobierz na nowo",
description: "Zignoruj cache i pobierz wszystko od początku (przydatne gdy transkrypcja była kiepska)"
}
]
}]
})
```
- "Użyj istniejących" → keep cached URLs as cached, the rest go to `fresh`
- "Pobierz na nowo" → move all cached URLs into `fresh`
List the cached titles (e.g. `• Jak zarządzać firmą`) under the question so the user can see what's already on disk.
If ALL URLs are cached and the user chose "Użyj istniejących", skip Step 3 entirely — no transcription needed.
## Step 3 — Launch transcription in background (only for fresh URLs)
Skip this step if `fresh` is empty.
Read `${CLAUDE_PLUGIN_ROOT}/skills/yt-transcribe/SKILL.md` and spawn a **single background Agent**:
- Name it `yt-transcriber`
- Set `run_in_background: true` — this runs while you talk to the user
- Include the full yt-transcribe skill instructions in the agent's prompt
- Pass only the `fresh` URLs
- Tell the agent to return a JSON array at the end with `url`, `title`, and either `transcript` or `error`:
```json
[
{ "url": "https://...", "title": "Original Title", "transcript": "/tmp/yt-audio-XXXXXX/Safe_Title.md" },
{ "url": "https://...", "error": "reason" }
]
```
Do NOT wait for this agent now — proceed to Step 4 immediately.
## Step 4 — Ask user preferences
Use **AskUserQuestion** in two sequential calls while transcription runs in background.
### 4a. Mode selection
```
AskUserQuestion({
questions: [{
question: "Jak chcesz przetworzyć transkrypcje z filmów?",
header: "Tryb",
multiSelect: false,
options: [
{
label: "Podsumowanie",
description: "Zwięzłe podsumowanie najważniejszych informacji z każdego filmu"
},
{
label: "Nowości",
description: "Wyciągnięcie nowości, ogłoszeń i trendów z wybranej dziedziny"
},
{
label: "Własny prompt",
description: "Przetworzenie transkrypcji według Twoich własnych instrukcji"
}
]
}]
})
```
### 4b. Details (depends on chosen mode)
**If Podsumowanie (summary):**
```
AskUserQuestion({
questions: [{
question: "Na czym szczególnie skupić podsumowanie?",
header: "Fokus",
multiSelect: false,
options: [
{
label: "Ogólne",
description: "Pełne podsumowanie bez konkretnego nacisku — wszystkie tematy równo"
},
{
label: "Techniczne",
description: "Nacisk na szczegóły techniczne, narzędzia, implementacje"
},
{
label: "Biznesowe",
description: "Nacisk na aspekty biznesowe, strategię, rynek, finanse"
}
]
}]
})
```
Map the answer to `meta`. If user chose "Other" and typed custom text, use that as `meta`. If "Ogólne", leave `meta` empty.
**If Nowości (news):**
```
AskUserQuestion({
questions: [
{
question: "Z jakiej dziedziny wyciągnąć nowości?",
header: "Dziedzina",
multiSelect: false,
options: [
{
label: "AI / ML",
description: "Sztuczna inteligencja, modele językowe, machine learning"
},
{
label: "Frontend / Web",
description: "Frameworki frontendowe, CSS, przeglądarki, web platform"
},
{
label: "Backend / DevOps",
description: "Infrastruktura, chmura, bazy danych, CI/CD, backend"
}
]
},
{
question: "Chcesz zawęzić zakres? (opcjonalne)",
header: "Zawężenie",
multiSelect: false,
options: [
{
label: "Bez zawężenia",
description: "Pokaż wszystkie nowości z wybranej dziedziny"
},
{
label: "Tylko open-source",
description: "Pomiń zamknięte/komercyjne rozwiązania"
},
{
label: "Tylko praktyczne",
description: "Tylko rzeczy, które można zastosować od razu"
}
]
}
]
})
```
First answer becomes `topic`, second becomes `meta` (skip if "Bez zawężenia").
**If Własny prompt (custom):**
```
AskUserQuestion({
questions: [{
question: "Jaki prompt zastosować do transkrypcji?",
header: "Prompt",
multiSelect: false,
options: [
{
label: "Wyciągnij cytaty",
description: "Znajdź najciekawsze cytaty i kluczowe wypowiedzi"
},
{
label: "Actionable items",
description: "Wyciągnij konkretne porady i kroki do wdrożenia"
}
]
}]
})
```
The user will likely choose "Other" and type their custom prompt. Map the answer to `prompt`.
## Step 5 — Wait for transcription
If a `yt-transcriber` agent was spawned and hasn't returned yet, wait for its completion notification.
Parse the JSON array from its response. Separate successes (have `transcript`) from failures (have `error`).
## Step 6 — Archive new transcripts + update index
Transcripts from yt-transcribe live in `/tmp/` and will be cleaned up by the OS. Move them to a permanent location **and** record them in the index.
1. Ensure the archive directory exists:
```bash
mkdir -p transcripts/YYYY-MM-DD
```
Use today's date (e.g., `transcripts/2026-04-17`).
2. For each freshly transcribed item, copy it:
```bash
cp "/tmp/yt-audio-XXXXXX/Safe_Title.md" "transcripts/YYYY-MM-DD/Safe_Title.md"
```
The filename is already transliterated ASCII (handled by yt-transcribe + `transliterate.mjs`). Keep it.
3. Rewrite the transcript paths in your working data from `/tmp/...` to `transcripts/YYYY-MM-DD/...`. Use the archived paths from now on.
4. Update `transcripts/index.json`:
- If the file doesn't exist, create it with `{ "videos": [] }`.
- For each fresh item: remove any existing entry with the same `url`, then append:
```json
{
"url": "<url>",
"title": "<original title from yt-transcribe output>",
"transcript_path": "transcripts/YYYY-MM-DD/Safe_Title.md",
"transcribed_at": "<ISO-8601 UTC timestamp>"
}
```
- Write the file back. Pretty-print with 2-space indent so it stays git-diff-friendly.
5. Tell the user where new transcripts landed (don't mention cached ones — they already know):
```
Nowe transkrypcje zapisane w transcripts/YYYY-MM-DD/:
- Safe_Title.md
```
## Step 7 — Build processing objects
For each URL that has a transcript (cached OR newly transcribed), combine with user preferences:
| Mode | Fields to set |
|---|---|
| summary | `url`, `transcript`, `mode: "summary"`, `meta` (from focus, optional) |
| news | `url`, `transcript`, `mode: "news"`, `topic` (from domain), `meta` (from narrowing, optional) |
| custom | `url`, `transcript`, `mode: "custom"`, `prompt` (user's prompt text) |
## Step 8 — Process all in parallel
Read `${CLAUDE_PLUGIN_ROOT}/skills/transcript-process/SKILL.md` once to get the processing instructions.
Spawn **one Agent per video, ALL in a single message** — that's what makes them run in parallel. Sequential messages would mean sequential execution.
Each agent gets:
1. The full transcript-process skill instructions (from the SKILL.md you just read)
2. The specific video's data: URL, transcript path, mode, topic/meta/prompt
3. Instruction to read the transcript file from disk and process it according to the mode
4. Instruction to return ONLY the processed output, no meta-commentary
Name agents distinctly: `yt-proc-1`, `yt-proc-2`, etc.
Example agent prompt structure:
```
You are a video transcript processor. Follow these instructions exactly:
<paste full transcript-process SKILL.md instructions here>
Your task — process this video:
- URL: <url>
- Transcript file: <path> — read this file first
- Mode: <mode>
- Topic: <if news mode>
- Meta: <if provided>
- Prompt: <if custom mode>
Read the transcript, then process it according to the mode instructions above.
Return only the final processed output.
IMPORTANT: When writing in Polish, ALWAYS use proper diacritics (ą, ć, ę, ł, ń, ó, ś, ź, ż). Never write ASCII-only Polish — "zarządzanie" not "zarzadzanie", "główny" not "glowny".
```
## Step 9 — Auto-save results
Results always get saved to disk — no confirmation prompt. Filename must be unique per run so a second invocation on the same day doesn't overwrite earlier output.
Filename: `yt-analysis-YYYY-MM-DD-HHMMSS.md` (UTC timestamp, seconds resolution).
Content:
- Title and generation timestamp
- Table of contents linking to per-video sections
- **Transcript index** — list of every transcript used in this run (cached and fresh), with relative paths (`transcripts/YYYY-MM-DD/…`), so the user can jump to the raw transcription
- One section per video with full processed output
- Errors appendix if any transcriptions/processing failed
After writing, also print the results inline in chat — separate sections with `---`, headed by video title or URL — so the user doesn't need to open the file to see them.
Tell the user the path: `Zapisano wyniki w yt-analysis-YYYY-MM-DD-HHMMSS.md`.
## Error handling
| Scenario | Action |
|---|---|
| All transcriptions failed AND no cached hits | Report errors, do not proceed to processing |
| Some transcriptions failed | Process successes + cached, list failures at the end |
| Index file corrupt / unreadable JSON | Treat as empty (`{videos: []}`), warn the user, continue |
| Processing failed for a video | Show other results, note the failure |
## Mixed input (URL + local path in the same message)
If the user's message contains both YouTube URLs and local file paths (paths ending with audio/video extensions: mp3, m4a, wav, ogg, flac, opus, aac, mp4, mov, mkv, webm, avi, m4v, wmv, ts, flv, 3gp, amr, wma — or paths to folders/globs combined with intent keywords), **finish your full pipeline first** (Steps 1-9: transcribe + process + write `yt-analysis-*.md`). Only the YouTube URLs are handled in your run; local paths are deferred.
After Step 9 completes, **sequentially** spawn the `local` orchestrator as a sub-Agent for the leftover paths:
```
Wykryto też N plików lokalnych w wiadomości — odpalam orkiestrator `local` dla nich...
Agent({
description: "Process leftover local files",
prompt: "<full local SKILL.md instructions>\n\nProcess these local file paths: <list>"
})
```
The spawned `local` orchestrator runs its own complete pipeline and writes its own `local-analysis-*.md`. The user gets two separate, independent reports — one per source.
**Detection rule:** any path-like token (`/...`, `~/...`, `./...`, `../...`) ending in a whitelisted audio/video extension, OR any folder/glob path combined with transcription intent keywords (`transkrybuj`, `podsumuj nagranie`, `transcribe`, `wyciągnij`, etc.).
If detection is ambiguous (e.g. path mentioned but no extension, no clear intent), prefer to skip — better miss-trigger than false-trigger.
## Language
Communicate with the user in Polish. Processing output language follows transcript-process rules — defaults to the language used when invoking the skill.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · grixu/cc-toolkit | 100 | MIT |
| dasein108/yt-mem-ai | 100 | MIT |
| ZeroPointRepo/youtube-skills | 95 | MIT |
| ZeroPointRepo/youtube-skills | 95 | MIT |
Database snapshot: 13.11.2026 · package version 8e2ceaa1c2d1 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100summarize
Summarize or extract text/transcripts from URLs, podcasts, YouTube videos, and local files using the summarize CLI. Use when asked to summarize a link, article, video, or file, or to transcribe a YouTube video. - 100transcript-process
Process audio/video transcriptions — summarize, extract news/novelties from a specific domain, or apply a custom prompt. Source-agnostic: works with transcripts from yt-transcribe, local-transcribe, or any other producer. Use whenever user has a transcript and wants to do… - 100youtube-watcher
Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it. - 100youtube-transcribe
Absorb the knowledge in YouTube videos — find them, transcribe them with ElevenLabs Scribe v2, inspect their visuals, and digest what they actually teach. Use this whenever someone wants a video's content as text or knowledge rather than just a link — "transcribe this YouTube… - 100yt-transcribe
Download YouTube videos as audio and transcribe them to text using yt-dlp and ElevenLabs Scribe. Use whenever the user shares YouTube URLs/links and wants transcription, audio extraction for transcription, or text content from videos. Triggers on: YouTube links with… - 100youtube
Fetch transcripts, metadata, and captions from YouTube videos. Use when you need to summarize a video, answer questions about its content, extract key points, compare videos, or pull quotes with timestamps. Supports auto-generated and manual captions, multiple languages, and translation.