SIAgentNews.com
← All news

Riffsheet lets a coding agent dissect a short video shot by shot, offline

A free, open-source add-on for coding agents turns a short clip into a written breakdown of its cuts, captions and pacing, with every number labeled by origin.

4 min readMade with AI

The short version

  • Free, MIT-licensed, runs on your machine with Python 3.9+ and ffmpeg 7+
  • Works as a skill for Claude Code, Codex and other agents that can run commands
  • A run took about 4 to 8 minutes and produced riffsheet.md and riffsheet.json
  • Cut times, caption timing and loudness are measured; the agent reads the images
  • Built for clips up to about a minute; it cannot download a video from a link

What the tool does

Riffsheet is a small add-on, called a skill, that a coding agent can use to study a video. As github.com reported on the project page, it was shared on Hacker News, and it is aimed at short clips such as ads, TikToks and Reels. You hand your agent a file and ask in ordinary language why the clip works or what each shot contains.

The agent then produces two files. One, riffsheet.md, is a readable account of what happens, why a viewer keeps watching, and a beat-by-beat walk through the clip. The other, riffsheet.json, holds the full data for anyone who wants to process it further.

The project's authors say a run takes roughly 4 to 8 minutes, and nearly all of that is the agent thinking and looking at pictures, not the tool itself, which finishes in seconds.

24 of 25hard cuts found on six test videos, with no false cut

Why it matters

Anyone who studies short videos, such as creators, editors and marketers, can get a structured, checkable breakdown instead of scrubbing through a clip by hand. It also shows coding agents doing useful work well outside code. The project is early, so treat its output as a draft to verify.

Measured facts versus agent judgment

The design splits the work in two. Software measures what can be measured: when each cut happens, when a caption appears and disappears, how loud the audio is, and when each spoken word lands. The agent handles the rest by looking at laid-out images of the video, for example describing clothing, objects and what a caption says.

Every value in the output is tagged with where it came from. The tags include measured by the tool, seen by the agent, inferred, uncertain and not judged. If the evidence is not enough to settle a measurement, the tool leaves the value out and explains why rather than guessing.

The tool also checks the agent's homework in one respect. A claim about what people wear or hold has to point to a close-up image of that moment, or be marked uncertain. Otherwise no riffsheet is written. Whether the words actually match that image is still up to the agent.

A look at the Spanish example

The repository includes an 8.042-second clip spoken in Spanish. The tool found 4 shots and 5 spoken lines. It also compared edits with the soundtrack: 0 of 3 cuts landed on a loudness peak or rise, while 4 of 5 caption appearances did. For each figure it noted how many would land there by chance, which keeps a reader from over-reading a coincidence.

In one entry, the agent corrected a word the speech recognizer misheard, because a caption in the video spelled it out. The correction is recorded in the data file along with the reason. That kind of audit trail is the point of the design.

Each beat in the written account ends with a question a remake must pass, such as whether an outfit change lines up with its on-screen label.

Setup, cost and speech

The core tool needs only ffmpeg version 7 or newer and Python 3.9 or newer, using nothing beyond Python's standard library. It needs no account and sends nothing to the makers. Your agent still talks to its own model provider, and that traffic is between you and that provider.

Transcribing speech is optional and needs extra software. The tool's own route uses the faster-whisper package, about 64 MB to download and 207 MB on disk, plus a 486 MB speech model. The agent is supposed to tell you the costs and ask before installing anything. Without it, the visual analysis still runs, and the output says plainly that speech was not transcribed.

You can install it by asking your agent to fetch the repository, by cloning it into your agent's skills folder, or with the npx skills command, which needs Node.

How accurate it is, and the limits

The authors report that the cut detector found 24 of the 25 hard cuts across six test videos, with no false cuts. On a 45-second talking video containing 9 jump cuts within a single framing, it found 7. They also note the sample is small and the checking agents were the same kind of model as the one writing.

Several limits are stated openly. Smaller jumps may be flagged or missed, a slow dissolve can slip through, and an outfit or object faded in over the same background is not detected. The tool does not identify what a sound is, so music and tone of voice are marked as not judged unless the agent can truly hear audio and passes a built-in test.

It was tested on clips of 8 to 45 seconds and suits roughly a minute at most. It cannot take a link, so you must download the file yourself. The agent's summary in your own language is not checked by the tool, and the English riffsheet.md is the authority.

Who is behind it

Riffsheet comes from Riffkit, a paid service with a free start that generates new video footage from an existing video. The README points to that service as the way to recreate footage of people, places and products, which code cannot rebuild. Riffsheet itself is separate and free under the MIT license. Captions, graphics, timing and edits, by contrast, can be rebuilt with a script or an editor from the measured data.

The makers say the tool is meant to explain why a video works so you can make your own version, not a copy.

What to watch

  • Will it handle longer videos, which are untested beyond 45 seconds?
  • Will agents that can truly hear audio be tested, so music and tone stop being marked as not judged?

Try it

Pick a clip you own or have permission to analyze, run the install steps from the README, and compare the written breakdown against the video yourself.

Up nextGenesis Map draws what your coding agent changed and flags the untested parts

More stories

Say why

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

Sources

The reporting and documents this story is built from. Each link opens the original.

Written with AI by the SI Agent News Desk from the reporting above. Every number is checked against it.Spot a mistake? Corrections.

More AI news