Skip to content

Build a Claude Video Research Agent

Category Claude Code
Status โœ… Completed
Repo nextwork-build-a-claude-video-research-agent
Original NextWork guide nextwork.ai

Learning project

Practice work following a NextWork guide, separate from my production projects.

๐Ÿ“š NextWork learning project. This is a practice project I built while working through NextWork's Build a Claude Video Research Agent guide. It is part of my Learning portfolio and is fully separate from my production projects.

Category: Learning โ€บ Claude Code
Status: โœ… Completed

Overview

Evidence is only useful if you can check it. The agent records what it could and could not reach, keeps the files it based each claim on, and labels every statement as transcript, metadata, frame, machine speech-to-text, or inference. A verifier rejects a card whose quote is not in the transcript, and that caught a stale card in my own run.

Summary

Claude Code built a video research agent for me and I tested it on two creators. For each creator it checks YouTube, Instagram, TikTok and Facebook, saves a 30-second clip, a frame and the audio for every source it can reach, writes an English transcript, and builds evidence cards whose quotes a test checks word for word against the transcript. It also wrote a reusable skill and three video ideas for NASA. I then ran the skill on a second creator (Blender) and had it write a combined comparison. Instagram and Facebook were not reachable without logging in, so they are reported as unavailable, not worked around.

The checks behind this are in docs/verification.txt.

Skills & tools

Claude Code (headless), Claude skills, yt-dlp, ffmpeg, faster-whisper (local), Python, Evidence cards

What I built

  • agent/: probe.py, fetch.py, transcribe.py, cards.py, run_all.py: probe each platform with yt-dlp (metadata only), cut a 30-second clip, a frame and audio, get the platform's English captions or a local whisper tiny.en transcript, and build the cards. Claude Code wrote them.
  • .claude/skills/video-research/SKILL.md (also video-research-SKILL.md): the reusable skill. Headless Claude Code can't write under .claude/, so I copied it in.
  • creators/nasa/ and creators/blender/: availability, sources, evidence files, notes and cards for each. creators/nasa/REPORT.md has the findings and three video ideas; creators/COMBINED.md compares both creators.
  • prompts/ and docs/session-log.md: the five prompts I gave Claude Code and a readable log of each session.
  • verify.py: checks both creators against all four platforms, the clips' lengths, and every quote word for word against its transcript, and that there are three ideas.

How to run

python3 verify.py
# fetch needs yt-dlp and ffmpeg; for the speech fallback set WHISPER_PYTHON to a python with faster-whisper
# in Claude Code: ask it to research a creator with the video-research skill

Verification

I ran the verification command on 2026-12-03. The full output is in docs/verification.txt.

python3 verify.py | grep -q 'VIDEO AGENT OK' && echo VIDEO OK

Notes

Where the platform captions had no words (a Blender clip had only a [music] cue, the NASA TikTok had none), the first cards were thin. I added a local speech-to-text fallback and Claude refreshed the notes and cards. The NASA TikTok really has no speech, and the card says so.


Original project: https://nextwork.ai/projects/bbf42282-43a2-4bf9-a10c-44d9fc6c48ad ยท Part of my NextWork Learning portfolio (hub).

Verification output

From docs/verification.txt:

$ python3 verify.py | grep -q 'VIDEO AGENT OK' && echo VIDEO OK

VIDEO OK

[exit code 0]