Llm Youtube banner
irfansofyana irfansofyana

Llm Youtube

AI community

Description

LLM plugin for pulling content from Youtube videos

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

llm-youtube

LLM plugin for extracting content from YouTube videos.

This plugin is inspired by Simon Willison's [llm-hacker-news](https://github.com/simonw/llm-hacker-news) and his excellent [llm](https://github.com/simonw/llm) tool.

Installation

llm install llm-youtube

Usage

Passing the video ID

example:

llm -f yt:zv72WMmVkPw 'Please summarize this video'

Passing the Video URL

example:

llm -f yt:https://www.youtube.com/watch\?v\=zv72WMmVkPw 'Please summarize this video'

We can also use a system prompt to improve the result

example:

llm -f yt:sCr_gb8rdEI --system "You are an expert at analyzing YouTube videos. Extract the key points only, ignore filler content." "What is this video about?"

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-youtube
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest