Who it is forA DevOps or CI engineer whose pipeline feeds video files to AI agents and needs to reject outdated descriptions.
The problemA video edited after its description was written can silently feed wrong content to downstream agents.
The outcomeThe pipeline stops on any video whose sidecar is missing or stale, and continues only when all sidecars are fresh.
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
- Run
pip install "cdaf[generate] @ git+https://github.com/UditAkhourii/cdaf.git#subdirectory=cli"on the build runner, or install the CLI from a clone withpip install ./cli[generate]. - Run
cdaf validate ./footage/clip.mp4for each video in the pipeline. - Fail the job when the command exits with a nonzero code, and regenerate with
cdaf generate ./footagefor any stale clip. - Run
cdaf read ./footage/clip.mp4in downstream steps to get the description after the hash check passes. (inferred, check the README)
Prompt for your agent
Using the CDAF CLI from the repo UditAkhourii/cdaf, run `cdaf validate` on each video path in <video-list> and report the exit code for each. Stop and list any video whose sidecar is missing or stale, and verify that validate exits 0 for every video that passes.
Caveat. The validate and read commands need no API key, but sidecars must already exist, so generation still needs a Gemini key or the local provider.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for UditAkhourii/cdaf and "Gate a build or pipeline on fresh video sidecars"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer