{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "uditakhourii-cdaf--stop-agents-rewatching-footage",
 "repo": "UditAkhourii/cdaf",
 "repo_url": "https://github.com/UditAkhourii/cdaf",
 "repo_slug": "uditakhourii-cdaf",
 "title": "Stop coding agents from re-watching the same footage",
 "page_title": "How to stop coding agents from re-watching the same footage with Cdaf",
 "summary": "Install the CDAF skill and generate sidecars so Claude Code reads text instead of video.",
 "who": "A developer using Claude Code on a video project who sees the agent re-analyze the same clips every session.",
 "problem": "Each time an agent touches a video, it runs a full video-understanding pass, which costs tokens and time.",
 "outcome": "Each clip gets one .cdaf sidecar, and later agent sessions check its hash and read the text description first.",
 "steps": [
  "Run `npx cdaf-skill` to install the agent skill for all your projects.",
  "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\"`).",
  "Run `cdaf generate ./footage` to describe every video and skip fresh sidecars.",
  "Run `cdaf status ./footage` to confirm each video reports FRESH."
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Your Gemini API key is read from the GEMINI_API_KEY environment variable, so keep it out of shared shell history and committed files."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/uditakhourii-cdaf/stop-agents-rewatching-footage/",
 "md": "https://dedupedai.com/use-cases/uditakhourii-cdaf/stop-agents-rewatching-footage/index.md",
 "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 hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/uditakhourii-cdaf--stop-agents-rewatching-footage.json",
 "api_version": "v1"
}
