DEDUPED Hot AI repos, turned into use cases Get 5 a day

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.

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.

Share: X LinkedIn Hacker News Email Copy link

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page