From 6980d8c83f035fcbbf4bed5f240947e627f42fae Mon Sep 17 00:00:00 2001 From: Imac Ilha02 Date: Mon, 13 Jul 2026 12:29:12 -0300 Subject: [PATCH] Add CLAUDE.md for agent guidance in this repo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Documents the repo as a Claude Code skill (SKILL.md + helpers/*.py, no build/test suite), the helper CLI commands, the two-layer transcript + on-demand-visual architecture, the render pipeline, and the 12 hard production-correctness rules from SKILL.md — so future Claude Code sessions working on this repo's own code get oriented faster. Co-Authored-By: Claude Sonnet 5 --- CLAUDE.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 00000000..f1e12aec --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,61 @@ +# CLAUDE.md + +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. + +## What this repo is + +`video-use` is a Claude Code **skill**, not an application. It teaches an agent to edit raw video footage into a finished cut through conversation — transcribe, cut, color grade, generate overlay animations, burn subtitles. There is no server, no build step, no test suite. The "product" is `SKILL.md` (the behavioral spec the agent reads) plus a handful of Python helper scripts that do the actual media work. + +This repo is normally symlinked into an agent's skills directory (`~/.claude/skills/video-use`) and invoked from *inside a user's footage folder*, not from this repo. When working *on* this repo (adding/fixing helpers, editing `SKILL.md`), you're editing the tool itself, not producing a video. + +## Setup / commands + +```bash +uv sync # or: pip install -e . +brew install ffmpeg # hard requirement (ffmpeg + ffprobe on PATH) +brew install yt-dlp # optional, only for URL sources +``` + +No console-script entry points — helpers are invoked directly: + +```bash +python helpers/transcribe.py