video-lens
Fetch a YouTube transcript and generate an executive summary, key points, and timestamped topic list as a polished HTML report.…
Open or rebuild the video-lens gallery index — your personal library of saved video summaries. Use this whenever the user wants to browse, open, or search saved video reports: "show my gallery", "open video library", "browse saved videos", "build gallery", "what videos have I
$ npx -y skills add kar2phi/video-lens --skill video-lens-gallery --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/video-lens-galleryContext preview
The summary Claude sees to decide when to auto-load this skill.
Open or rebuild the video-lens gallery index — your personal library of saved video summaries. Use this whenever the user wants to browse, open, or search saved video reports: "show my gallery", "open video library", "browse saved videos", "build gallery", "what videos have I
name: video-lens-gallery description: > Open or rebuild the video-lens gallery index — your personal library of saved video summaries. Use this whenever the user wants to browse, open, or search saved video reports: "show my gallery", "open video library", "browse saved videos", "build gallery", "what videos have I saved", "show my video notes", "my video summaries", "find my saved summary for [topic]", "rebuild the index", "show video-lens index", "backfill metadata", "update index". license: MIT allowed-tools: Bash Read metadata: author: kar2phi version: "2.1"
Manage and browse your saved video-lens reports.
Discover both `video-lens/scripts` (`$_sd`) and `video-lens-gallery/scripts` (`$_gd`) using the standard 8-agent discovery loop:
_sd=$(for d in ~/.agents ~/.claude ~/.copilot ~/.gemini ~/.cursor ~/.windsurf ~/.opencode ~/.codex; do [ -d "$d/skills/video-lens/scripts" ] && echo "$d/skills/video-lens/scripts" && break done) _gd=$(for d in ~/.agents ~/.claude ~/.copilot ~/.gemini ~/.cursor ~/.windsurf ~/.opencode ~/.codex; do [ -d "$d/skills/video-lens-gallery/scripts" ] && echo "$d/skills/video-lens-gallery/scripts" && break done) [ -z "$_sd" ] && echo "video-lens skill not found — install it first: npx skills add kar2phi/video-lens" && exit 1 [ -z "$_gd" ] && echo "video-lens-gallery skill not found — install it first: npx skills add kar2phi/video-lens" && exit 1
If the user's request mentions "backfill", run:
python3 "$_gd/backfill_meta.py" --dir ~/Downloads/video-lens
Check that the reports directory exists before running:
[ -d ~/Downloads/video-lens ] || { echo "No reports directory found — save some videos first with the video-lens skill."; exit 1; }
python3 "$_gd/build_index.py" --dir ~/Downloads/video-lensTell the user the number of reports indexed, from the script's output.
bash "$_sd/serve_report.sh" ~/Downloads/video-lens/index.html ~/Downloads/video-lens
If `serve_report.sh` prints an `ERROR:` line (e.g. `ERROR:SERVE_PORT_BUSY` when port 8765 is held by another program), report the message and stop. Otherwise — confirmed by its `HTML_REPORT:` line — tell the user the gallery is now available at `http://localhost:8765/index.html`.
Turn any YouTube video into a polished research report. video-lens is a coding agent skill that fetches a YouTube transcript and generates a structured HTML report — executive summary, takeaway, key points with analysis, timestamped topic outline, and an
Fetch a YouTube transcript and generate an executive summary, key points, and timestamped topic list as a polished HTML report.…