repo-film

repo-film is a skill for Claude Code from majiayu000/spellbook. It costs 208 tokens per session (1,713 once invoked), scanned A, original, MIT.

A tool that turns a period of a Git repository's real commit history into a short MP4 video. Git is the system that records code changes; the video shows branches, merges, project-map links, and progress over time.

In plain words
What is it for?
Use it to make project-progress videos from a repository's commits, including branch and merge diagrams. It can also use a project map to highlight blockers and the current position.
Why use it?
It provides a visual summary of repository activity that is easier to show than a list of commits. The output follows the repository's actual history rather than inventing a project timeline.

Skill for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: reads .claude/ paths; reads ~/.codex paths; mentions Codex.

Good fit Use it to make project-progress videos from a repository's commits, including branch and merge diagrams. It can also use a project map to highlight blockers and the current position.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/majiayu000/spellbook/repo-film
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add majiayu000/spellbook --skill repo-film
Clone the repo
git clone --depth 1 https://github.com/majiayu000/spellbook

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for repo-film

README.md
[![agentmods](https://agentmods.dev/badge/skills/majiayu000/spellbook/repo-film/github.svg)](https://agentmods.dev/skills/majiayu000/spellbook/repo-film)
Your own site
<a href="https://agentmods.dev/skills/majiayu000/spellbook/repo-film"><img src="https://agentmods.dev/badge/skills/majiayu000/spellbook/repo-film/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for repo-film

Your own site · 80×15
<a href="https://agentmods.dev/skills/majiayu000/spellbook/repo-film"><img src="https://agentmods.dev/badge/skills/majiayu000/spellbook/repo-film.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 208 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,713 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00208 $0.01713
Opus 5.5 $0.00083 $0.00685
Sonnet 5.5 $0.00042 $0.00343
Haiku 4.5 $0.00021 $0.00171

Measured 3d ago against content hash 42e361963521, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

repo-film scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/capture.mjs, scripts/lanes.py, scripts/make.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/repo-film/SKILL.md · 65 lines

How it starts

The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.

repo-film:仓库的一段时间 → 一条短片

要支撑的决定:任何仓库的任何一段时间,能不能一行命令、不改场景代码就出一条能发的片子。 放弃条件:到 2026-12-15 为止,除 Keepline 和 Spellbook 两次验收外没有再用过;或者连续两个新仓库都得改 template/scene.html 才能出片。满足任一条就停用,把分支布局脚本并进 motion-stack 的示例。每做完一部,在下方“做过的片子”表里记一行。

用法

node <本 skill 目录>/scripts/make.mjs \
  --repo <仓库路径> --since "2026-11-01 20:00" --until "2026-11-02 06:00" \
  [--branch main] [--map auto|none|<地图 html>] [--config film.json] [--out <目录>] [--sheet-only]
  • 先加 --sheet-only 只出关键帧拼图(out/beats.png),自己看一遍再出片。
  • 成片在 <out>/out/<仓库名>-film.mp4,1920×1080、30fps,响度约 -14 LUFS。没有地图约 13 秒,有地图约 24 秒。
  • --out 默认是 ~/Videos/repo-film/<目录名>-<开始日期>,里面就是完整工程,可以直接改 scene.html 或 <out>/assets/film.js 再用 motion-stack 的 render.mjs 重渲。
  • 依赖:motion-stack skill(装在本 skill 旁边,或在 ~/.claude/skills、~/.codex/skills、~/.agents/skills 里,也可以用 MOTION_KIT 指向它的 kit/;第一次要在 kit/ 里 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm install)、python3、ffmpeg。Tone.js 优先复用 motion-stack 示例的 node_modules,没有才 npm install。

流水线

  1. scripts/lanes.py:只读 git(--all,所以本地分支也算)。--branch 的 first-parent 链是主线(第 0 道),其余提交按 first-parent 串成分支段;每段从分叉点到合并点占一个区间,区间重叠的段分到不同的道(上下交替)。分支名从 Merge branch 'x' into y 里读,读不到就不标。超过 --max(默认 400)只留最新的。
  2. scripts/capture.mjs:有地图时,把地图临时排成单栏(阻塞链不再横向滚动,能完整显示),截 2 倍图,并记下各区块位置和阻塞链每条连线的路径。只改截图时的样式,不改地图文件。
  3. make.mjs 按数据生成字幕和结尾卡片,写进 <out>/assets/film.js,再用 --config 覆盖。
  4. 渲染:关键帧拼图 → 纯度检查(正放和倒放必须一致)→ MP4。响度由 motion-stack 渲染器自动调到 -14 LUFS,数值在成片旁的 .manifest.json 里。

film.json(全部可选)

{
  "captions": [["你离开了。", "You step away."], ["agent 们接着干。", "The agents keep going."],
               ["一夜,51 个提交,8 条分支。", "One night. 51 commits. 8 branches."], ["回来,打开一页。", "Come back. Open one page."]],
  "sub": "KEEPLINE · 11-01 20:01 → 11-02 04:34",
  "startLabel": "20:00 开工",
  "end": { "title": "you-are-here", "tagline": "…", "taglineEn": "…",
           "lines": ["/plugin marketplace add majiayu000/you-are-here"], "meta": "github.com/…" }
}

字幕四个位置分别是 0.6 秒、3 秒、7.6 秒(全景)和 8.65 秒(只在有地图时出现,引出地图)。end.lines 以 / 或 $ 开头的部分会着色,适合放安装命令。

Read the full file on GitHub · 65 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 65 lines · 208 tokens per session scan A 42e361963521

Subscribe to this mod's changes

repo-film is a skill published in the GitHub repository majiayu000/spellbook (290 stars, last pushed 2d ago), licensed MIT. It adds 208 tokens to every session and 1,713 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-03.

Related

repo-film compared with skills from other repositories

repo-film next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
repo-filmmajiayu000/spellbookSkill2902d agoMITA208Claude Code
setup-pre-commitvinvcn/mattpocock-skills-zh-CNSkill5.6k9d agoMITA65Claude Code, Codex
ratchet-filesdzhng/skillsSkill1.4k2d agoMITA118Claude Code, Codex
checkpoint-managementa5c-ai/babysitterSkill1.9k5d agoMITA22Claude Code
commitdecodingai-magazine/building-a-coding-agent-from-scratch-courseSkill1.1k13d agoApache-2.0A16Claude Code, Codex
night-watchsoftspark/ai-toolkitSkill17910d agoApache-2.0A36Claude Code
daily-retroserejaris/personal-corp-osSkill2413d agoMITA126Claude Code