DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to stop coding agents from re-watching the same footage with Cdaf

Install the CDAF skill and generate sidecars so Claude Code reads text instead of video.

Short answer: Run npx cdaf-skill to install the agent skill for all your projects; then run pip install "cdaf[generate] @ git+https://github.com/UditAkhourii/cdaf.git#subdirectory=cli" to install the CLI with the generator; run export GEMINI_API_KEY=your-key (PowerShell: $env:GEMINI_API_KEY="your-key"). All steps.

Credentials. Your Gemini API key is read from the GEMINI_API_KEY environment variable, so keep it out of shared shell history and committed files.

Who it is forA developer using Claude Code on a video project who sees the agent re-analyze the same clips every session.

The problemEach time an agent touches a video, it runs a full video-understanding pass, which costs tokens and time.

The outcomeEach clip gets one .cdaf sidecar, and later agent sessions check its hash and read the text description first.

What you need first

  • Python 3.10 or newer
  • Node.js with npx for the agent skill install
  • A Gemini API key (bring your own) for generating sidecars, or the local provider for no-key generation
  • ffmpeg, only if you run the synthetic benchmark

Steps

  1. Run npx cdaf-skill to install the agent skill for all your projects.
  2. Run pip install "cdaf[generate] @ git+https://github.com/UditAkhourii/cdaf.git#subdirectory=cli" to install the CLI with the generator.
  3. Run export GEMINI_API_KEY=your-key (PowerShell: $env:GEMINI_API_KEY="your-key").
  4. Run cdaf generate ./footage to describe every video and skip fresh sidecars.
  5. Run cdaf status ./footage to confirm each video reports FRESH.

Prompt for your agent

Using the CDAF skill in the repo UditAkhourii/cdaf, check <footage-folder> for a .cdaf sidecar next to each video, verify the bytes and sha256 header against the video, and read the sidecar instead of watching any fresh video. Report the list of videos with their status (FRESH, STALE, or MISSING) and confirm that you did not run a video analysis on any FRESH file.

Caveat. The skill and CLI only reduce repeat analysis after a sidecar exists, so the first pass over each video still costs a full generation.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for UditAkhourii/cdaf and "Stop coding agents from re-watching the same footage"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer