Consume Youtube
Documentsconsume-youtubeConsume Youtube is an Agent Skill for documents published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Search and annotate YouTube transcripts already ingested by /ingest-youtube. Supports per-channel indexing and Horus notes with /memory integration.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/domains/consume-youtube/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/consume-youtube, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Consume YouTube Skill
Search and annotate ingested YouTube transcripts. Works with content already processed by /ingest-youtube.
Quick Start
cd .pi/skills/consume-youtube
# Import transcripts into registry
./run.sh sync
# Search transcripts
./run.sh search "siege" --channel "luetin09"
# Build a channel index
./run.sh index --channel "luetin09"
# Add a note at a timestamp
./run.sh note --video <video_id> --timestamp 184.5 --note "Key claim"
# List videos
./run.sh list --channel "luetin09"
Commands
Sync Transcripts
./run.sh sync [--ingest-root <path>]
Imports transcript JSON files from the ingest output directory.
Search Transcripts
./run.sh search <query> [--channel <name>] [--video <id>] [--context <n>]
Searches transcript segments and returns matches with timestamps and context.
Build Index
./run.sh index --channel <name>
Builds a lightweight inverted index for faster channel searches.
Add Note
./run.sh note --video <id> --timestamp <sec> --note <text> [--agent <id>]
Adds a Horus note at a timestamp.
List Videos
./run.sh list [--json] [--channel <name>]
Lists all indexed videos in the registry.
Data Storage
- Registry:
~/.pi/consume-youtube/registry.json - Notes:
~/.pi/consume-youtube/notes/<agent_id>/notes.jsonl - Indices:
~/.pi/consume-youtube/indices/<channel>.json
Integration with /memory
Notes are stored in /memory using the consume-common memory bridge:
./memory/run.sh learn \
--problem "Consumed youtube: <title>" \
--solution "<note>" \
--category emotional_learning \
--tags youtube,horus_lupercal