/varg:video-project-githubfrom varg
Manages AI video projects in private GitHub repos with automatic versioning, media storage outside git to avoid size limits, and full project restore on new machines. Handles git setup, folder layout, and undo for agent-built projects.
Ships in varg. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Step 10 of 10 in How to make a video with an AI agent in ten steps. The full guide, with every test and source: https://varg.ai/how-to/keep-a-video-project-in-github (as Markdown: add
.md).
People want an undo button and a backup, not version control. This skill gives them both and never asks them to learn git.
How it works. Text (scripts, prompts, storyboards, the edit as HTML or TSX) goes in git, where every change is one
readable line. Media stays out of git: scripts/repo.py lists each file by hash in media.lock.jsonl and uploads the
bytes to Releases of the same private repo. One GitHub login covers everything, and a new laptop gets it all back.
<skill> below is this skill's folder. Once a project exists it carries its own copy at tools/repo.py, so any agent
on any machine can continue without this skill. You do not need to read the script: --help lists the commands and every
message says what to do next.
references/layout.md.references/media-storage.md first.references/paste-prompt.md, which does the same by hand.python3 <skill>/scripts/repo.py doctor
Install what it lists; it gives the exact command. If GitHub sign-in is missing, run gh auth login --web --git-protocol https
in the background: it prints a one-time code and waits. Show the person the code and the link (https://github.com/login/device),
and tell them: "Open this link, paste the code, click Authorize." If your tool cannot keep it running, ask them to run the command
themselves (in Claude Code, by typing ! gh auth login --web --git-protocol https). Never ask for a password or a token, and never
accept one in chat. If they have no account, send them to https://github.com/signup first.
New project:
python3 <skill>/scripts/repo.py new <name> # add --kind code for a code project
cd <name> && python3 tools/repo.py connect
Existing folder (run inside it). Look at the plan before applying:
python3 <skill>/scripts/repo.py adopt # prints the plan, changes nothing
python3 <skill>/scripts/repo.py adopt --apply
python3 tools/repo.py connect
The scanner catches common key formats, not all of them, so check for yourself: open every script and config file in the folder and look for
hard-coded credentials, flagged or not. For each one add NAME=value to .env, put $NAME (or process.env.NAME) in the file, and run
again. Tell the person which keys you found, without printing their values. A key that was ever shared or in an earlier version is burned:
they should make a new one at the provider.
adopt never moves or deletes their files. Offer to sort them into the standard folders afterwards, and do it only if they agree.
connect creates the repo as private and checks that GitHub reports it private. Then prove the backup works before saying it is safe:
python3 tools/repo.py proof
It clones into a temporary folder, restores everything, compares every hash and deletes the folder.
| When | Run |
|---|---|
| A piece of work is finished, or before anything risky | Rewrite STATUS.md, then python3 tools/repo.py save "what changed" |
| The person approves a step | python3 tools/repo.py approve story "their words" |
| A paid generation returns | python3 tools/repo.py media note <file> --prompt-file <shot.md> --model <id> --seed <n> --cost <usd> --job <id> --url <link> |
| A risky idea, or a second agent at the same time | python3 tools/repo.py try <name>, work in the folder it prints, then keep <name> or drop <name> |
| "Undo", "go back", "I liked the old one" | python3 tools/repo.py versions, then back <number>, or back <number> <file> for one file |
| A render is finished | python3 tools/repo.py ship renders/film_v003.mp4 --note "first cut" |
| Someone needs access | python3 tools/repo.py invite <their GitHub name> |
| New computer | gh repo clone <name> && cd <name> && python3 tools/repo.py restore |
| "Is it really safe?" | python3 tools/repo.py proof |
In the whole-video order from how-to-make-ai-video, run approve at every STOP. Run save before any paid call.
Never say commit, push, branch, merge, tag, LFS or repository unless they use the word first.
| Say | Means |
|---|---|
| saved, version 12 | a commit |
| backed up to GitHub | pushed |
| go back to version 8 | back 8 |
| a side copy to try it | try |
| your private project on GitHub | the repo |
End each save with one line: "Saved as version 12, backed up. Say 'go back' any time." When finished, tell them the link, that only they can see it, what is not in GitHub (keys, on purpose), and how to get it back on a new laptop.
my-film/
├── AGENTS.md rules for any agent (CLAUDE.md points here)
├── STATUS.md where we stopped, what is next
├── brief.md the ask, spend cap, every note word for word with the date
├── media.lock.jsonl every media file by hash, with prompt, model, seed, cost
├── inputs/ what the person gave. Read only
├── refs/ refs.md, frames
├── look/ moodboard.md, board.html, test stills
├── story/ script.md, STORYBOARD.md
├── sound/ plan.md, cues.json, beats.json, mix.wav
├── cast/ <id>.md passports, sheets
├── blockout/ three.js or Blender scene, stills
├── shots/sh010/ shot.md, takes/sh010_t01.mp4
├── edit/ the timeline as text: a HyperFrames or Remotion project
├── review/ notes.md, review.md
├── renders/ film_v003.mp4. Not saved, rebuilt from text
└── tools/repo.py
Shots go in tens (sh010, sh020) so a shot can go in between. A new take is the next number and never overwrites. Renders are
versioned and never called "final". Why this shape, and how it maps to film practice: references/layout.md.
.gitignore before the first git add. new and adopt do this. Git never forgets a file once it is in a pushed version.git reset --hard, git clean, git push --force, git rebase or git filter-repo unless the person asked and agreed to the loss.~/Downloads, and never start an agent there: a downloaded AGENTS.md is read as instructions. Avoid iCloud and Dropbox folders too: sync tools can damage .git.--no-verify or git add -f.The timeline is a text file, so a cut is a one-line change you can read, undo and compare. Table of editor concepts and their
terminal equivalents, HyperFrames and Remotion setup, and the first-edit trap: references/terminal-editing.md.
Code renders repeat; AI generations do not. Keep the bytes of every approved take, pin tool versions, and separate who makes from who
judges. The checklist and the measurements behind it: references/repeatable-results.md.
Exact errors and fixes: references/troubleshooting.md. Sources and benchmarks: references/evidence.md.
Scripts check facts, a person decides taste, and an LLM filters and finds defects. Criteria, evidence only and a tie as an allowed answer: references/llm-judge.md.
README.md (opens in a new tab)references/evidence.md (opens in a new tab)references/layout.md (opens in a new tab)references/llm-judge.md (opens in a new tab)references/media-storage.md (opens in a new tab)references/paste-prompt.md (opens in a new tab)references/repeatable-results.md (opens in a new tab)references/terminal-editing.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)scripts/repo.py (opens in a new tab)templates/code/AGENTS.md (opens in a new tab)templates/code/features.json (opens in a new tab)templates/common/AGENTS.md (opens in a new tab)templates/common/CLAUDE.md (opens in a new tab)templates/common/README.md (opens in a new tab)templates/common/STATUS.md (opens in a new tab)templates/video/AGENTS.md (opens in a new tab)templates/video/brief.md (opens in a new tab)templates/video/shots/README.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: skills.73: Invalid string: must start with "./", skills.74: Invalid string: must start with "./", skills.75: Invalid string: must start with "./", skills.76: Invalid string: must start with "./", skills.77: Invalid string: must start with "./"
.claude-plugin/plugin.json: skills.73: Invalid string: must start with "./", skills.74: Invalid string: must start with "./", skills.75: Invalid string: must start with "./", skills.76: Invalid string: must start with "./", skills.77: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
83 skills in this plugin
/ad-creative-testingTurn one winning ad into a creative testing plan for TikTok and Meta. Decodes why an ad won (hook, argument, buyer, format), plans concepts that Meta's Andromeda and TikTok treat as genuinely different (buyer × angle × format × first frame, not caption swaps), sets how many creatives to launch, the budget per test and when to judge, writes file and ad names that make results readable, reads hook rate, hold rate, CTR and CPA to find which part failed, and says when to kill, iterate or scale. Use when someone asks how many ads to test, how to make ad variants, why their variants all perform the same, whether an ad is fatigued, when to kill an ad, or how to scale a winner. NOT for producing the videos (use ecommerce-video-ads, ecommerce-video-edit or product-video-hooks) or for media-buying account setup./ai-ad-compliance-checkTurns an AI video ad into a compliance report for TikTok Shop, TikTok ads, Meta, YouTube, the FTC, New York's synthetic-performer law and the EU AI Act before it runs: varg video_analyze pulls every shot, spoken and on-screen claim and person, each claim is matched to the seller's evidence, the visuals are checked against TikTok Shop's AI product rules (no fake effects, before/after, changed quantity or size), people and voices against the FTC fake-testimonial rule, and the result is a pass / fix / block list with the rule, source and date, a rewrite for each fix, and the AI labels to set on each platform. Use when someone asks "is this ad allowed", "will TikTok Shop reject this", "check my AI ad for compliance", "do I need an AI label", "can an AI avatar say it used the product", or before publishing AI product ads, UGC or testimonials. Not legal advice, and not for writing the ad (use ecommerce-video-ads or tiktok-shop-video)./ai-parody-videoPlan and make a short AI parody video: a known movie scene, TV format or news shot with one wrong element, 10 to 45 seconds, built to be shared. Gives the joke structure, six formats measured on clips with 60 thousand to 9 million views (scene recast with new dialogue, original-vs-remake, one-prompt sitcom sketch, fake live news shot, character monologue, silent slapstick), which production route each one takes, prompt templates for the sketch and the news shot, subtitle and caption rules, and a plain list of what is allowed with real people, known characters, studio footage and cloned voices, with platform AI labels. Use when someone asks for a parody, spoof, meme video, movie mashup, crossover, "X in the world of Y", a celebrity or politician comedy clip, a fake trailer, or wants videos like the viral AI parodies on X, TikTok or Shorts. Then use scene-recast-video for remakes of an existing clip and multi-angle-monologue for speeches./ai-ugc-ad-videoOpen-source alternative to Arcads: AI UGC ads with an AI actor holding your real product. Casts a creator whose age matches the claim in the room where the problem happens, writes a phone-real script (a yapper, unboxing, street interview or in-car take) with every line in the prompt, locks the face, the voice and the product label across shots, prompts camera flaws and breaths so it doesn't look waxy, generates on Seedance 2.5, Kling 4 or Creatify through varg, and labels it. It never puts a first-person testimonial or result in an AI mouth (FTC rule) and never targets TikTok Shop presenters (AI voices banned there). Use when someone wants AI UGC ads, an AI creator or actor talking about their product, Arcads/Creatify/MakeUGC-style ads, or UGC without hiring creators. NOT for TikTok Shop affiliate videos (use tiktok-shop-video), product-only shots with no person (use product-photo-to-video), or the same characters across a multi-scene story (use varg-consistent-characters)./app-ui-mockupsTen animated UI mockups for product, launch and dev-tool videos, rebuilt as HTML instead of screen recordings: phone message thread, team chat channel, coding-agent terminal session, terminal command run, desktop terminal window, desktop notification banner, code editor walkthrough, 3D code slab, exploded UI panels and an amber CRT console. Presets give typing speed (12-20 characters per second with seeded gaps), reading holds from character count, entrance easing and scale, camera lead before each action, text size as a share of frame height, and theme colors from MIT theme sources, from Charm VHS, Screen Studio, Emil Kowalski, Apple HIG and Netflix timing rules. Use when someone wants a fake text or Slack conversation, a terminal or Claude Code demo, a code walkthrough or an exploded UI shot in a video. NOT for recording a real screen or for real people's messages presented as genuine./blender-code-filmMake a short 3D film in Blender written entirely in Python by an agent (Claude Fable 5.2, Claude Code, Codex): the shots and the look as data, a world built from code (procedural terrain, hundreds of instanced props, node materials, lights, haze), one camera per shot bound to timeline markers, a stills-first approval pass, a quarter-size draft, a contact-sheet audit, a fresh critic subagent, then the final render to PNG frames and an ffmpeg encode with an optional varg music bed. Includes a tested starter (scripts/film.py, a 9 s three-shot film) and the Blender 5.x traps that turn frames black. Use when someone asks for a Blender animation or film made with code or Python, "make a video in Blender with Claude", a 3D short, music video, toy commercial or product film rendered in Blender, a low-poly or storybook 3D film, or a remake of a viral Fable 5.2 Blender video. Not for previz that feeds Seedance (code-to-video-previz, varg-previz), three.js films in the browser (karpathy-3d-story, code-3d-explainer), recording a browser game (code-game-trailer), 2D motion graphics (hyperframes, kinetic-type-art) or AI-generated footage (varg-ai).Other plugins' skills for the same job