# kb-yt-channel

kb-yt-channel — a skill that builds Karpathy KB topics from YouTube channels: the agent fetches transcripts, organizes them into topic folders, validates structure, and creates search indexes.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 175 installs · ★ 655 repo stars
- Author: pedronauck
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/pedronauck/skills/tree/HEAD/skills/mine/kb-yt-channel/SKILL.md
- Updated: 2026-10-20
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/kb-yt-channel

## What it does

The agent calls `kb ingest channel` to retrieve video lists and captions, then runs the bundled `scripts/ingest-channel.py` script. That script creates a topic folder under `yt-channels/`, writes metadata files, validates structure, and builds an index. You can set a video limit with `--limit` or grab everything with `--all`. Native captions are used by default; if unavailable, pass `--transcribe` for auto-generated captions or speech-to-text.

You need `kb`, `yt-dlp`, and `qmd` for indexing; if using STT, add `ffmpeg` and a configured recognition provider. The script outputs JSON with ingestion counts: how many videos succeeded, how many were skipped, what failed. The `--dry-run` flag creates the topic skeleton and metadata but skips transcript downloads.

When hitting network issues or rate limits, the script uses built-in retries and backoff. Proxies and cookies are needed only if access is blocked: the skill does not require them upfront.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add pedronauck/skills --skill kb-yt-channel -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/kb-yt-channel/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/kb-yt-channel/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add pedronauck/skills --skill kb-yt-channel -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/kb-yt-channel/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add pedronauck/skills --skill kb-yt-channel -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/kb-yt-channel/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install pedronauck/skills skills/mine/kb-yt-channel
```

2. **Manually: put the files in place**
- File: `.github/skills/kb-yt-channel/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add pedronauck/skills --skill kb-yt-channel -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/pedronauck/skills --path skills/mine/kb-yt-channel
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/kb-yt-channel/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add pedronauck/skills --skill kb-yt-channel -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/pedronauck/skills/tree/HEAD/skills/mine/kb-yt-channel/SKILL.md

## When to use it
- build a Karpathy KB topic from a YouTube channel or playlist
- fetch transcripts for all videos in a playlist and structure them into a topic
- validate topic metadata and indexes after ingestion
- resume transcript ingestion after a failure without re-downloading completed videos

## Example prompts
- Create a KB topic from the channel, name it Tech Talks, domain education, all videos, native captions
- Ingest the last 20 videos from this playlist into KB, topic slug `ai-research`, use auto captions if native ones are missing
- Run a dry-run for the channel: topic `startup-stories`, limit 10 videos, show the ingestion plan

## Similar
- [find-quotes](https://affpapa.org/en/nevibecode/skills/find-quotes.md) — skill · 5200 installs
- [subtitles](https://affpapa.org/en/nevibecode/skills/zeropointrepo-subtitles.md) — skill · 881 installs
- [captions](https://affpapa.org/en/nevibecode/skills/captions.md) — skill · 789 installs
- [analyzing-youtube-competitor-channel-strategy](https://affpapa.org/en/nevibecode/skills/analyzing-youtube-competitor-channel-strategy.md) — skill · 954 installs
- [youtube-content](https://affpapa.org/en/nevibecode/skills/youtube-content.md) — skill · 546 installs
- [youtube-channel-analytics-dashboard](https://affpapa.org/en/nevibecode/skills/youtube-channel-analytics-dashboard.md) — skill · 613 installs

From the same set: [pedronauck/skills](https://affpapa.org/en/nevibecode/by/pedronauck/skills.md) — 52 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
