llm-fragments-youtube
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Engineers can now run LLM prompts directly against any YouTube video's subtitles with one command, making video content searchable and analyzable without watching it.
A developer named Agustin Bacigalup built a free add-on called llm-fragments-youtube for Simon Willison's LLM command-line tool, which runs AI prompts from your terminal. It pulls the subtitles (the written transcript) of any YouTube video and feeds them to an AI model as context, so you can ask questions about the video's content. In the article's example, it summarized the lyrics of Rick Astley's 'Never Gonna Give You Up'. Anyone who uses YouTube tutorials, talks or lectures can now query them with text commands.
This is a small but practical productivity tool: a free, open-source plugin lets staff turn any YouTube video's transcript into material an AI can answer questions about. There is no cost beyond the AI usage itself, and setup is a one-line install. It matters mainly for teams that process video content, training, research, competitor analysis, since it removes the need to watch or manually transcribe videos. It is a minor utility, not a strategic shift.
Agustin Bacigalup released llm-fragments-youtube, an LLM CLI plugin exposing YouTube subtitles as fragments via the youtube:<video_id> syntax (e.g. youtube:dQw4w9WgXcQ). It declares yt-dlp as a Python dependency and shells out to it through subprocess.run() to fetch captions, which are then injected as prompt context. Willison's demo ran a people-summary prompt against the Rick Astley video's lyrics. No benchmark figures, model names, or performance data are provided.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.