skills/mine/kb-yt-channel/SKILL.md
Creates and maintains Knowledge Base topics from YouTube channels by scaffolding a yt-channels topic, bulk-ingesting transcripts through kb ingest channel, and validating/indexing the result. Use when turning a YouTube channel into a Karpathy KB topic. Do not use for single-video ingestion, general video summaries, or non-YouTube sources.
npx skillsauth add pedronauck/skills kb-yt-channelInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill is a thin wrapper around the native kb ingest channel command. kb
owns the ingest mechanics — channel resolution, video enumeration,
resume/dedup, bounded concurrency, throttling, adaptive backoff, retries,
native-language captions, and STT. The skill's scripts/ingest-channel.py owns
the KB-side organization: scaffolding the topic under yt-channels/,
maintaining category docs, patching CLAUDE.md, building wiki indexes, writing the
run report, and validating the topic.
Caption language defaults to the original-language track (--sub-langs orig)
and is handled natively by kb ingest channel. Pass a comma list like
--sub-langs pt,en only to override it.
YouTube throttles caption downloads per IP (HTTP 429). kb ingest channel
already paces itself with bounded concurrency, inter-request throttling, and
adaptive exponential backoff (configured via [youtube].bulk_concurrency,
[youtube].bulk_throttle, [youtube].bulk_retries, [youtube].bulk_backoff_max).
For anything beyond a handful of videos, also give kb better network identity
via its config/env — not via this script:
YOUTUBE_COOKIES_FILE (or [youtube].cookies_file) to a logged-in YouTube session. Prefer a secondary Google account./opt/homebrew/opt/yt-dlp/libexec/bin/python -m pip install curl_cffi.YOUTUBE_PROXY to a rotating residential proxy (datacenter IPs are blocked). Pin to one country to avoid account-geo flags.--throttle (e.g. 5s) and/or keep --concurrency low (1) on a bare IP. --concurrency N (>1) is only safe behind a rotating proxy; respect the proxy plan's concurrent-connection cap.See references/troubleshooting.md for details.
Step 1: Confirm Prerequisites
Step 2: Preview With --dry-run (recommended)
Run the Step 3 command with --dry-run first to confirm the channel resolves and
see how many videos will be ingested. This scaffolds the empty topic skeleton but
ingests nothing.
Step 3: Run Channel Ingest
kb ingest channel summary plus validation and report path). kb's per-video progress and diagnostics stream live to stderr.Example (small channel, defaults):
python3 .agents/skills/kb-yt-channel/scripts/ingest-channel.py --vault . --channel-url https://www.youtube.com/@aiDotEngineer --topic-slug ai-dot-engineer --title "AI Engineer Channel" --domain youtube-channel --limit 10 --transcribe captions
Example (large channel behind a residential proxy):
YOUTUBE_COOKIES_FILE=~/.config/kb/yt-cookies.txt YOUTUBE_PROXY="http://user-CC-rotate:[email protected]:80" \
python3 .agents/skills/kb-yt-channel/scripts/ingest-channel.py --vault . --channel-url https://www.youtube.com/@aiDotEngineer --topic-slug ai-dot-engineer --title "AI Engineer Channel" --domain youtube-channel --all --transcribe captions --concurrency 3 --throttle 3s
Step 4: Verify The Topic
ingested, skipped, and failures (each failure carries the kb error string). kb ingest channel already retries transient rate-limit/network errors with backoff before reporting a failure.kb ingest channel skips videos already present in raw/youtube, so successful ingests are not repeated.development
Deep review of branch diffs, working trees, or GitHub PRs at any size. Use when the user asks for CodeRabbit-grade review, an incremental re-review after new pushes, publication of findings to a PR, a cross-LLM peer-review verdict round, or conformance review against spec artifacts. Don't use for applying fixes, reviewing specs or PRDs as documents, or quick single-file feedback.
tools
Orchestrate Claude and Codex worker TUIs from a controller agent through herdr panes and the herdr socket CLI. Use when delegating bounded tasks to herdr worker panes, running user-activated plan-first delegations (Claude Code plan mode, Codex Plan mode), waiting on native agent status (idle, working, blocked, done), or verifying worker reports. Workers launch as interactive TUIs via herdr agent start — never through headless runners (compozy exec, claude -p, codex exec). Not for cmux workspaces (see cmux-orchestration) and not for end-user herdr control.
tools
TanStack Query, Router, and Form patterns for React. Use when writing useQuery/queryOptions, mutations, caching, file-based routes, search params, loaders, or TanStack Form validation. Don't use for TanStack Start, TanStack DB/collections, Zustand client state, or non-TanStack routing.
development
Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states. Handles UX review, visual hierarchy, information architecture, cognitive load, accessibility, performance, responsive behavior, theming, anti-patterns, typography, fonts, spacing, layout, alignment, color, motion, micro-interactions, UX copy, error states, edge cases, i18n, and reusable design systems or tokens. Also use for bland designs that need to become bolder or more delightful, loud designs that should become quieter, live browser iteration on UI elements, or ambitious visual effects that should feel technically extraordinary. Not for backend-only or non-UI tasks.