ModLens Image Vision Bridge
liustack/modlens
Gives text-only models sight by running the modlens CLI on an image path or URL and returning structured JSON evidence with transcribed text, layout and semantics.
Read CDAF sidecar files (.cdaf) instead of processing video with vision.
$ npx skills add UditAkhourii/cdaf --skill cdaf -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install UditAkhourii/cdaf cdaf --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/UditAkhourii/cdaf.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/claude-code/cdaf .claude/skills/cdaf && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cdaf" agent skill from https://github.com/UditAkhourii/cdaf/tree/main/skills/claude-code/cdaf into .claude/skills/cdaf/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cdaf", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/UditAkhourii/cdaf/tree/main/skills/claude-code/cdafType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add UditAkhourii/cdaf --skill cdaf -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install UditAkhourii/cdaf cdaf --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/UditAkhourii/cdaf.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/claude-code/cdaf .agents/skills/cdaf && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cdaf" agent skill from https://github.com/UditAkhourii/cdaf/tree/main/skills/claude-code/cdaf into .agents/skills/cdaf/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cdaf", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add UditAkhourii/cdaf --skill cdaf -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install UditAkhourii/cdaf cdaf --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/UditAkhourii/cdaf.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/claude-code/cdaf .cursor/skills/cdaf && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cdaf" agent skill from https://github.com/UditAkhourii/cdaf/tree/main/skills/claude-code/cdaf into .cursor/skills/cdaf/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cdaf", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/UditAkhourii/cdaf.git --path skills/claude-code/cdaf--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add UditAkhourii/cdaf --skill cdaf -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install UditAkhourii/cdaf cdaf --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/UditAkhourii/cdaf.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/claude-code/cdaf .gemini/skills/cdaf && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cdaf" agent skill from https://github.com/UditAkhourii/cdaf/tree/main/skills/claude-code/cdaf into .gemini/skills/cdaf/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cdaf", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install UditAkhourii/cdaf cdafInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add UditAkhourii/cdaf --skill cdaf -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/UditAkhourii/cdaf.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/claude-code/cdaf .github/skills/cdaf && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cdaf" agent skill from https://github.com/UditAkhourii/cdaf/tree/main/skills/claude-code/cdaf into .github/skills/cdaf/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cdaf", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add UditAkhourii/cdaf --skill cdaf -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install UditAkhourii/cdaf cdaf --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/UditAkhourii/cdaf.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/claude-code/cdaf .opencode/skills/cdaf && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cdaf" agent skill from https://github.com/UditAkhourii/cdaf/tree/main/skills/claude-code/cdaf into .opencode/skills/cdaf/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cdaf", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cdafRead CDAF sidecar files (.cdaf) instead of processing video with vision.
Cdaf is an agent skill from UditAkhourii/cdaf. Read CDAF sidecar files (.cdaf) instead of processing video with vision. Use whenever a task involves understanding, summarizing, searching, editing, or selecting from video files (b-roll, raw clips, footage libraries) — check for a .cdaf sidecar FIRST before analyzing any video directly.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in AI & LLM Engineering. It works with Google Gemini and Remotion. The repository describes itself as: CDAF (Cached Descriptive Asset Files) - open sidecar format for video so AI agents stop re-analyzing the same footage. Spec, CLI, agent skill, reproducible benchmark. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e562064. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
ffmpegcurlpipFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
aistudio.google.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
GEMINI_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cdaf loads about 1.9k tokens when it runs. Until then it costs about 74 tokens; SKILL.md has 987 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from UditAkhourii/cdaf at commit e562064, republished under its MIT licence (© UditAkhourii). 987 words, ~1,907 tokens.
.claude/skills/cdaf/SKILL.md (or your agent's skills folder).A .cdaf file is a timestamped, pre-computed description of a video, sitting next to
it with the same basename (clip.mp4 → clip.cdaf). Reading it costs a few hundred
text tokens; analyzing the video directly costs orders of magnitude more (~263 tokens
per second of footage on Gemini-class models). Always prefer the sidecar when it is
fresh.
Format spec and tooling: https://github.com/UditAkhourii/cdaf
Before analyzing ANY video file (.mp4, .mov, .mkv, .webm, .avi, .m4v):
.cdaf extension.The sidecar header carries bytes (file size) and sha256 (content hash) of the
exact video it describes. Verification never needs an API key or network access.
bytes value. Different size → provably stale.cdaf validate <video> (exit 0 = fresh), or hash the file
yourself and compare to the header's sha256:(Get-FileHash clip.mp4 -Algorithm SHA256).Hash.ToLower()sha256sum clip.mp4 / shasum -a 256 clip.mp4It is plain UTF-8 text — use the Read tool directly, or cdaf read <video> (which
verifies the hash automatically and refuses to print a stale sidecar).
Format: a key: value header between --- CDAF/1.0 and ---, then markdown:
## Summary — what the clip is## Segments — [MM:SS.d-MM:SS.d] description lines covering the whole video
(see the trust note below before cutting on these timestamps)## Transcript — spoken words with timestamps (or (no speech))## On-screen Text — visible text with timestamps (or (none))## Tags — retrieval keywordsFreshness proves the sidecar describes these exact bytes. It does not prove the description is complete or correct — it is generated text, the record of one model's pass. Three limits matter when a mistake is expensive:
Timestamps are approximate. Boundaries inferred by a model drift (over a second on measured clips), miss real cuts, and occasionally mark cuts that do not exist. They are fine for locating, ranking, and rough trims. Before cutting on them, verify against the container:
ffmpeg -v error -i clip.mp4 -vf "select='gt(scene,0.1)',metadata=print:file=-" -f null -Descriptions can add, not just omit. Shown a whole video at once, a model may narrate the outcome a clip implies but never shows — reporting that a task was completed when the footage only shows it being started. Such entries are fluent, specific, and indistinguishable from correct ones. Treat any claim that something was finished, fixed, repaired, or achieved as unverified: check the frames before relying on it, and say the sidecar is your source when you report it. An omission is a visible gap; an addition reads exactly like a fact.
Fine visual state is unreliable. Strike-through and other mark-up on a list (crossed out, checked, highlighted), small or stylised text, and subtle motion are often missed or reported at chance. Incidental background text on packaging or labels has produced confident phantom brand names. If such a detail carries the meaning of the shot, look at the frame.
Provenance keys. When a producer records how the body was made, x- keys tell you
which parts were measured rather than inferred:
| Key | Means |
|---|---|
x-shot-source: ffmpeg-scene-detect@<threshold> | Boundaries came from the container and are frame-exact — no need for the ffmpeg check above. |
x-shot-isolation: per-shot | Each segment was described without sight of the others, which suppresses invented continuity between shots. |
x-transcript-timing: measured-rms | Transcript times were measured from audio. none means no measurable speech. |
Absent these keys, assume the weaker case: inferred boundaries, whole-video context, and guessed transcript times.
None of this argues for re-watching by default — that would forfeit the entire saving. Verify the specific claim your decision rests on, not the whole clip.
Two providers. Both write the same v1.0 format and either output passes cdaf validate.
cdaf generate <video> --local # or --provider localNeeds ffmpeg and an OpenAI-compatible endpoint serving a model with a vision encoder
(default http://127.0.0.1:8090/v1, override with --base-url / --model, or the
CDAF_BASE_URL / CDAF_LOCAL_MODEL env vars). An audio encoder, where the model has
one, is used for the transcript. Check the endpoint is up before offering this route:
curl -s localhost:8090/props # llama-server: reports which modalities are loadedSlower per clip than the API, but free and private, and cost scales per shot rather
than per second of footage — so long clips are far cheaper here. Set CDAF_PROVIDER=local
to make it the default.
cdaf generate <video-or-directory> # skips sidecars that are already fresh
cdaf generate <video> --force # regenerate even if fresh
cdaf generate ./footage --detail rich # brief | standard | richNeeds Python >= 3.10 and GEMINI_API_KEY
(free tier: https://aistudio.google.com/apikey). Install the CLI once:
pip install "cdaf[generate] @ git+https://github.com/UditAkhourii/cdaf.git#subdirectory=cli"Faster per clip and handles whole directories, but calls a paid API. Ask the user before batch-generating a large library, and tell them roughly how many videos you are about to process.
cdaf status <dir> lists every video as FRESH/STALE/MISSING..cdaf files —
never open the videos: search *.cdaf for the relevant keywords, then rank by the
Segments detail.cdaf generate <dir> (fresh sidecars are skipped automatically)..cdaf files by hand to "update" them — the header hash would then
describe a video the body no longer matches. Regenerate with
cdaf generate <video> --force instead.© UditAkhourii, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/claude-code/cdaf of UditAkhourii/cdaf.
Open the folder on GitHubat commit e562064
Cdaf next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cdaf this skillUditAkhourii/cdaf | 121 | — | ~1.9k | Automated safety check: Pass | MIT | |
| ModLens Image Vision Bridgeliustack/modlens | 4.2k | — | ~1.3k | Automated safety check: Notes | MIT | |
| Gemini API Devgoogle-gemini/gemini-skills | 4.3k | — | ~5.1k | Automated safety check: Pass | Apache-2.0 | |
| Gemini Live APIgoogle/skills | 21k | — | ~2.5k | Automated safety check: Notes | Apache-2.0 | |
| Gemini Video Understandingeinverne/dotfiles | 121 | — | ~2.6k | Automated safety check: Notes | MIT | |
| Codebase Managementgiancarloerra/SocratiCode | 3.3k | 1 repos | ~1.8k | Automated safety check: Pass | AGPL-3.0 |
liustack/modlens
Gives text-only models sight by running the modlens CLI on an image path or URL and returning structured JSON evidence with transcribed text, layout and semantics.
google-gemini/gemini-skills
A skill your agent uses when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, speech generation (TTS), voice…
google/skills
Generates a Gemini LiveAPI client service class in the user's chosen programming language.
einverne/dotfiles
Analyze videos using Google's Gemini API - describe content, answer questions, transcribe audio with visual descriptions, reference timestamps, clip videos, and process YouTube URLs.
giancarloerra/SocratiCode
Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.
zgsm-ai/costrict
Provides context about the CoStrict evals system structure in this monorepo.
Works with
Categories
Read CDAF sidecar files (.cdaf) instead of processing video with vision. Cdaf is an agent skill from UditAkhourii/cdaf.cdaf) instead of processing video with vision.
Cdaf fits situations like: A task involves understanding; selecting from video files (b-roll; footage libraries) — check for a .cdaf sidecar FIRST before analyzing any video directly.
Run `npx skills add UditAkhourii/cdaf --skill cdaf -a claude-code`. Or copy the skill folder (skills/claude-code/cdaf in UditAkhourii/cdaf) into .claude/skills/cdaf in your project. Claude Code loads it when a task matches its description.
Run `npx skills add UditAkhourii/cdaf --skill cdaf -a codex`. Or copy the skill folder (skills/claude-code/cdaf in UditAkhourii/cdaf) into .agents/skills/cdaf in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add UditAkhourii/cdaf --skill cdaf -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cdaf, .gemini/skills/cdaf, .github/skills/cdaf and .opencode/skills/cdaf in your project.
Going by SKILL.md and its folder, Cdaf needs the command-line tools its instructions call (ffmpeg, curl and pip) and credentials named GEMINI_API_KEY. Our summary lists: Python 3; A credential in GEMINI_API_KEY.
SKILL.md names 1 domain. As links in the text: aistudio.google.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Cdaf is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cdaf: ModLens Image Vision Bridge (liustack/modlens, 4.2k stars), Gemini API Dev (google-gemini/gemini-skills, 4.3k stars), Gemini Live API (google/skills, 21k stars) and Gemini Video Understanding (einverne/dotfiles, 121 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
UditAkhourii (a GitHub user) maintains it in UditAkhourii/cdaf, which has 121 GitHub stars. The repository was last updated on August 28, 2026.
Source: UditAkhourii/cdaf on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.