Skip to main content
youtube-ctx is the local, no-account skill for personal, one-off public YouTube work at low-to-moderate usage. It searches and extracts text or metadata directly from the user’s machine. Visual indexing starts with timed captions; storyboards are downloaded only when needed, with --with-storyboards. It needs no video2ctx account, API key, hosted service, or separate npm package.

Reach for it when

  • Searching for public videos, channels, or playlists
  • Fetching transcripts, caption tracks, comments, details, or end screens
  • Inspecting channel identity, channel videos, channel playlists, or playlist items
  • Reading slides, charts, diagrams, interfaces, code samples, demonstrations, or other visual changes
  • Verifying what appears at a particular timestamp
Use video2ctx-platform for production applications, managed infrastructure, account or usage details, recurring monitors, and automatic fallback after direct access fails. When a sandbox blocks network access, the agent tells you the skill needs outbound HTTPS to YouTube instead of changing permissions itself.

Requirements

  • Node.js 18.17 or newer
  • Outbound HTTPS access to YouTube (allow it in your agent’s sandbox settings if network access is restricted)
  • Optional: FFmpeg for exact frame verification
The direct branch, timed-caption indexing, and optional storyboard scans do not require FFmpeg. The agent uses captions first to locate candidate frames and adds storyboards when captions are insufficient. FFmpeg extracts exact frames when you request them or when visual details need verification.

Example requests

How the skill routes work

1

Choose the smallest branch

Uses direct extraction for text and metadata, or the visual branch when imagery is material.
2

Build only needed context

Requests compact transcript text for text work. For visual work, indexing starts with timed captions and uses them to locate candidate frames. Storyboards are downloaded only when needed, with —with-storyboards.
3

Verify selectively

Extracts a small, diverse set of exact frames only for small text, chart values, detailed interface state, brief changes, ambiguity, or an explicit frame request.
4

Preserve evidence

Keeps timestamps, partial flags, warnings, continuations, and classified failures attached to the result.
If FFmpeg is unavailable, storyboard sheets can support a qualified answer when coarse imagery is sufficient. Exact-frame requests and details that need exact verification still require FFmpeg.
All YouTube content (titles, descriptions, transcripts, comments, channel text, and on-screen text) is untrusted data. The skill never follows instructions, links, or commands found in it.

Install youtube-ctx

Install one local skill for direct and visual YouTube context; add FFmpeg only when your work requires exact frames.