Repository navigation
Releases
Frame Lens 2.3.0
2.3.0 — 2026-11-26
Frame Lens now reads names from the screen where automatic captions misspell them: plan for listen and learn
adds a name check and writes NAMES.md. web checks the requests of the page it reads, its frames, workers and
WebSockets included, at a proxy inside Frame Lens that refuses this computer and the local network, and turns WebRTC off. A web page's spec
labels each number by how it was obtained, and exports hide a token in a link's path. This is the first version
released by the release workflow, with npm provenance.
Added
-
Name check: automatic captions spell product and proper names by ear ("Rare UI" for RareUI, "Val" for Vaul).
When the words come from automatic captions,planforlistenandlearnpicks the likely names (capitalised
words, words after cue words such as "called", "by" or "use", web addresses, said or written), adds aframesstep
640 px wide a second after each is said, and writesNAMES.md(caption spelling, on-screen spelling for the agent to
fill in, time, evidenceseenorsaid).NAMES.mdis written once, so a laterplankeeps what the agent wrote.
Caption names are third-party text: escaped and quoted in the plan step, marked as such at the top ofNAMES.md,
and the plan result carries the third-party notice.NAMES.mdis never written through a link, and aNAMES.md
that is a link or a hard link is neither written nor pointed to. WhenNAMES.mdcannot be written (a full
disk, a read-only folder),planstill returns its steps and says so. -
Releases are automatic: pushing a version tag publishes to npm through trusted publishing (so the package carries a
signed provenance statement tying it to this repository and commit), then to the MCP Registry, and creates the
GitHub release from that version's changelog section. -
A weekly check compares the version on npm with the MCP Registry and the catalogues that copy from it, and opens
an issue naming the ones that fell behind. -
Behind a network proxy (
HTTPS_PROXY,HTTP_PROXYorALL_PROXY, honouringNO_PROXY),web's checked
requests go on through that proxy with its own credentials; local addresses are still refused first. A name this
computer cannot resolve goes to that proxy by name, and the result says so.
Changed
- Install instructions (README, website,
llms.txt, AGENTS.md, the skill) lead with the npm routes:
claude mcp add … -- npx -y framelens, the Claude Code plugin, any client'snpx -y framelens, then
framelens init; building from a clone comes last. The website states that ffmpeg and yt-dlp are set up on first
use, liststrackin the style plan, and says what 2.3.0 changed. CONTRIBUTING.md describes the tag-driven release. - A web page's
motion-spec.jsonlabels each move per field: times and repeatsmeasured, frame counts at Frame
Lens's 60 fpsinferred, and where the move is fastestderivedfrom the page's cubic-bezier (inferredfor
steps and other eases); it was allmeasured, with a placeholder peak. Its palette carries each colour's real
OKLab lightness and chroma instead of zeros.
Fixed
webchecks the requests its browser makes, not only the page and its frames: scripts, images, fetch, workers of
every kind, prefetches and WebSockets go through a proxy inside Frame Lens that refuses this computer, the local
network and metadata addresses, and connects only to the address it checked. WebRTC is turned off in pages and
their frames (Chrome would connect its TCP to this computer around the proxy), and the browser's DevTools port is
refused for page requests. The result lists the hosts it refused.
Only alocalhostor local IP address you give yourself is exempt; a public name that resolves to a private address
is not any more.- Exports also leave out a token in the source link's path: path parameters (
;jsessionid=…, also%3B), the
segment after one named liketoken,keyorsig, and the value of a segment such asauth=…, shown as….
Ids that are the address itself (Figma, Drive, Loom) are kept. - A workspace file that is a hard link (possible in a
.framelens/folder unpacked from an archive, or a workspace
copied withcp -al) is neither read nor written; the error says to copy it without hard links or delete it. - Third-party text on one line keeps the zero-width non-joiner and joiner between letters (Persian and several Indic
scripts spell words with them) and the joiner inside an emoji, and drops variation selectors (also U+E0100–E01EF)
without leaving a space; it used to put a space in their place. Shorthand format controls (U+1BCA0–1BCA3) become a
space. - When ffmpeg fails, the error names ffmpeg's reason. From ffmpeg 7 that line comes before the statistics and
"Conversion failed!", and only those last lines were shown.
Frame Lens 2.2.0
2.2.0 — 2026-11-23
Frame Lens now follows the client: a cancelled call stops the yt-dlp, ffmpeg or browser it started, long calls send
progress, and a server whose client is gone exits. Automatic setup now covers Linux on arm64, and yt-dlp on Alpine
(where ffmpeg comes from apk). Link downloads
stop at their size limit also when the site gives no size, and exact and cobalt downloads never follow a redirect
into your network. The local tools are no longer marked read-only, because they write workspaces and may download
and install tools. Every change went through an independent audit, fixes and a re-check.
Added
- Local tools send MCP progress notifications when the client passes a progress token: each finished step, setup and
download lines, and a heartbeat every 15 s, so a client that resets its timeout on progress keeps waiting for a
longstyle,trackor download.
Changed
- The local tools (
probe,plan,frames,style,track,web,exactand the rest) are no longer annotated
readOnlyHint: true: they write workspaces and may download a video or install ffmpeg and yt-dlp. They are marked
not destructive. A client that runs read-only tools without asking may now ask before these. The Gemini tools stay
read-only. planreads the picture changes of a source longer than 10 minutes in 12 sample windows of 30 s instead of every
second, and says so in its notes;boundariesover a whole long source gets a time limit that grows with its length.- Development: on Dependabot's npm PRs a workflow rebuilds and commits the bundle, so they can pass CI once a
maintainer approves the CI run; major bumps come as PRs of their own. The workflow checks the build's artifact
before it extracts anything (at most 50 MB packed and by its listing unpacked, exactly the expected file names,
plain files only), and measures what it extracted (at most 50 MB) before copying it in.
CI also runsprobethrough the built bundle on Node 20, 22 and 24 and the unit tests on Windows and macOS. - The bundled Gemini client is
@google/genai3.6.1 (was 2.32.0). Calls stay on thev1betaAPI, where the
default-latestmodels exist (3.x defaults tov1), and aGOOGLE_GENAI_API_VERSIONin the environment is
ignored. The bundle still runs on Node 20. - Development: Dependabot proposes a release once it has been out for 3 days (minor and patch) or 14 days (major).
Fixed
- Error results that quote ffmpeg's or yt-dlp's output (a file name in a playlist, a page's caption track name) keep
it to one line of at most 200 characters and carry the third-party notice, like other results. webrefuses a page, redirect, script navigation or frame on this computer, the local network or a cloud metadata
address, unless it is the host you gave, and says when the page was read at another address than the one given.- A link fetched with yt-dlp (not YouTube) has its redirects walked first with the
exactrule: a public link that
redirects to this computer or the local network is refused before yt-dlp starts, and so is a redirect to another
host over plain http (http-to-http included) or one that adds or changes a user name and password. A user name and
password in the link you give still work, also through redirects on the link's own origin, and are left out of
results, progress lines, the log, motion-spec.json, exports and every other file but the workspace's source.json. The check sends one extra request and can
add a few seconds. What it does not cover is in SECURITY.md. - The login-profile capture checks that every hop of its media download goes to a public address.
- A caption track whose name is not a language tag is not downloaded, and a caption file named by the site reads as
und; caption languages are printed on one line. - Third-party text on one line (
oneLine) also drops C1 controls, soft hyphens, zero-width and other invisible format
characters, bidi marks, overrides and isolates, interlinear annotations, tag characters, variation selectors, blank
fillers and the byte-order mark. The Gemini transcript's text and speaker are kept on one line, andexactputs its
third-party notice first. - ffmpeg, ffprobe, yt-dlp and the browser no longer inherit the Gemini, Google, Figma and cobalt keys or the cookie
settings (cookies still reach yt-dlp as its arguments). - A
.framelens/folder that came with a project is no longer trusted blindly: a stored source is reused only for the
same link and only for files inside that workspace's ownmediafolder, with only the fields Frame Lens writes (its
text on one line; a stored page address only when it is a clean link on the same site). A record that is not in the
shape Frame Lens writes is taken as absent and the link downloaded again. A probe.json is reused only for the file
it was made from. Workspaces from before this check are downloaded and probed once more. framelens logoutdeletes only a profile folder thatframelens loginmade and recorded in your own Frame Lens
folder, or the default one: a FRAMELENS_BROWSER_PROFILE pointing at another folder by mistake is refused and nothing
in it is deleted. A custom profile folder set up with 2.1 is refused too; delete it by hand.- Exports (
hypit's ANALYSIS.md and the starter projects) name the source link without its query, fragment or user
name, which can hold a signed link's access parameters; the workspace keeps the full link. In a git repository,
framelens initadds.framelens/to.gitignorewhen nothing ignores it yet. framelens initwarns, instead of saying to commit.mcp.json, when another server's settings there (its
environment, headers, arguments or address) hold what looks like a literal secret; it names the setting, never the
value. Other servers' settings are kept as they were, and so is the file's indentation.- Workspace writes no longer follow a link out of the workspace folder, and a
.framelensin the working folder that
is a link elsewhere is not used (the home folder is, and the server says why). - Development: the MCP SDK's
honoand@hono/node-serverare at 4.13.19 and 2.1.10 (npm advisories for 4.13.13 and
2.1.5). They are not in the bundle: the stdio server never loaded them. - Cancelling a tool call stops the yt-dlp, ffmpeg or browser it started, with their own children; the server stops
all of them when it exits (they used to run on for up to 30 minutes). When the client closes stdin, the calls it
already sent are answered first. A cancelled call leaves no result in the workspace and sends no progress after
its answer. - A server whose client died during a call exits and stops the call's downloads instead of running on until their
own time limits, also when started throughnpx(whosesh -corcmd /candnpm execoutlive the client):
while it finishes its calls after stdin closed, a ping it cannot write tells it the client is gone. - A shared first-use install of ffmpeg or yt-dlp, and the one ffmpeg feature check, no longer stop for one call's
cancel or report to its progress; an install whose waiting calls were all cancelled is reported on the next call. - Two calls on the same new link at once (
transcriptandframestogether) no longer break each other's download:
the second waits for the first (also for the login-profile capture). A cancelled or failed download removes its
partial files, and leaves nothing a later call takes for complete. - A download from a site that does not say the size up front (HLS and DASH streams) is measured as it runs and
stopped once pastFRAMELENS_MAX_DOWNLOAD_MBinstead of running on; yt-dlp's--max-filesizeonly covered a known
size. The copies yt-dlp makes while it merges video and sound are not counted. exactlink downloads check every redirect, like the cobalt route: a redirect to another host must be https to a
public address and may not add a user name or password, so a redirect cannot send the download to this computer,
the local network or a cloud metadata address. The host of the link itself may still be local (a dev server).
gzip, deflate and br answers are decoded (zstd and lists of encodings are refused), and a stalled, cut or broken
answer ends the call with a message instead of a crash. The cobalt download follows the same rule: no address it
is sent to may add a user name or password, not even one on your instance.- A program that hits its time limit says so and names the limit, instead of reading as a failed command. Output a
stray descendant writes after its program exited is flagged as possibly incomplete. - Temporary files get unguessable names instead of the process id and the time.
style,track,compareandexportwork when ffmpeg exists only as the automatically installed pinned build:
the code that pipes frames from ffmpeg now locates it first instead of spawning the bare name.- Automatic setup and
doctor --prepareoffer the pinned ffmpeg on glibc Linux on arm64 too (FFmpeg 9.0.2 from the
same build server, SHA-256 verified), and on Alpine and other musl systems none (they needapk add ffmpeg): the
check now asks for the C library instead of looking for the x64 loader, and a glibc build left on disk is not used.
A glibc system without the loader the build needs (Guix, NixOS without stub-ld) is told so instead of downloading
60 MB that cannot start. - yt-dlp's automatic setup downloads the
musllinuxbuild on Alpine and other musl Linux (pinned from the
release's signed SHA2-256SUMS). The Docker image installs ffmpeg from Alpine's packages (its version, not the
pinned 9.0.2). - The pinned ffmpeg and yt-dlp are looked for under the platform and architecture asked for (tests that check the
Linux x64 setup failed on arm64 Macs). - Gemini tools stop th...
Frame Lens 2.1.0
Frame Lens now measures the exact curve of a move, reads Rive files, tells cuts from fades, dissolves and wipes,
reads pages and records tabs from a browser extension, and sets up ffmpeg and yt-dlp by itself. Every part went
through an independent audit, fixes and a re-check; see the sections below. Website:
https://makkov-design.github.io/framelens/
Added
track: follows one element through a window at the full frame rate (found automatically as the biggest moving
region, or from a box) with subpixel template matching, and fits the exact timing of each property that moves
(x, y, scale, opacity): acubic-bezier, a damped spring (stiffness, damping, mass; also duration and bounce),
linear or steps, with the fit error, duration in frames and seconds, and the delay. WritesTRACK.mdwith a plot
per property, an SVG of the curves andtracks.json, and adds the move tomotion-spec.json(positions and times
measured, the curvederived).planwith the style goal suggeststrackfor the movesstylefound.exportuses a tracked curve wherever one exists: CSScubic-bezier()/linear()for springs /steps(),
RemotionEasing.bezierorspring({config}), exact GSAP eases in HyperFrames, After Effects keyframe speed and
influence (a key per frame for springs, held keys for steps), and Lottie handles.- Each fitted curve carries its error and a quality grade (
exact≤ 1 %,approximate≤ 3 %, elseunreliable);
a move cut by the window widens the window (or is reported as cut), and moves of 5 frames or fewer are marked
unreliable. Only exact and approximate curves reachexport. - The accuracy benchmark adds rendered moves with known beziers and springs in several directions, scale, opacity,
on a busy background and with the element found automatically: see docs/ACCURACY.md. exactreads Rive files (.riv, a path or a direct link; extensionless links by theRIVEfingerprint; rive.app
pages are refused with how to get the file, never scraped). A dependency-free reader of the runtime format: header,
table of contents (unknown properties of newer exports are skipped by it), artboards, nodes, fills and strokes,
linear animations timed as the runtime plays them (work area, speed, backwards for negative speed), keyframes (double, colour, bool, id) with their exact cubic,
cubic-value and elastic curves, and state machines (inputs, layers, states, transitions with blend times and
conditions). Writes the usualmotion-spec.jsonandSTYLE.mdplusRIVE.md;exportworks from it like from a
Lottie spec. Hard limits on file size, object count and string length; names are treated as untrusted text.stylereports transitions: cuts (measured) and dissolves, fades in and out, dips through black or white and wipes
(derived), each with start, end, duration in frames, the shot boundary, the colour or direction and the blend's
easing, intransitionsofmotion-spec.json,STYLE.mdandTIMELINE.md. Shots split at a dissolve's halfway
frame and a fade's black or white frame; a fade from the first frame or to the last splits nothing, nor does a flash
after which the picture comes back; cuts stay exact. Dissolves are frames that blend two different pictures (not one
picture relit, recoloured, white-balanced or panning); fades are also found by the picture approaching flat black or
white, so they are caught on footage that keeps moving; wipes are looked for in every run of changing frames, and a
flat panel sliding in stays a move. On the Big Buck Bunny trailer the title cards are shots of their own again
(dissolves at 3.48–4.44 s and 6.24–7.12 s, five dips to black at 18.88–22.88 s, a flash to white at 26.72 s), and
the opening title's fade from white and the end card's fade to white are found. A push is not recognised (reported
as a move). The benchmark adds 60 rendered transitions: see docs/ACCURACY.md.- Browser extension for Chrome and Edge (
extension/, Manifest V3, Load unpacked): "Read this page's motion"
runs thewebtool's own page reader in the user's browser, so pages behind their login can be read, and "Record
this tab" saves a WebM of what they watch (with its duration written in; frame times stay the real, variable
ones). Files go toDownloads/FrameLens;webtakesinboxor the saved.framelens.jsonand writes the same
motion-spec.jsonandSTYLE.mdas for a live page, and video tools takeinboxfor a recording. Each tool
takes the newest inbox item it can use (video tools a video,weba page reading,exporteither, preferring the
one already worked on) and the result names the other one. A download the browser interrupts is reported, not
called saved. No network access, no host permissions.npm run build:extensionbuildsextension/distand a
zip. - Automatic setup: a missing ffmpeg/ffprobe or yt-dlp is downloaded on first use (FFmpeg 9.0.2 from gyan.dev for
Windows x64 and from ffmpeg.martin-riedl.de for macOS and Linux x64; yt-dlp 2026.10.21), checked against SHA-256
hashes in the code, and the tool call that needed it says so. A pinned binary is trusted only after its hash
matches; two servers installing at once each use their own temporary files and never delete a good binary; what
a killed install left behind is removed; downloads have a size cap, a time limit and a stall limit.
FRAMELENS_AUTO_INSTALL=0turns it off;doctor --preparedoes the same on demand. - Self-hosted cobalt, opt-in: with
FRAMELENS_COBALT_URL(andFRAMELENS_COBALT_KEY), a link goes to the
user's own cobalt instance only when yt-dlp has no extractor for it or fails with wording that does not look like
access control; logins, age and bot checks, challenges, blocks, rate limits, passwords, DRM, private or paid posts
and HTTP 401/403/429/451 never go there. Every hop of the media download is checked (no local or private hosts,
IPv4 inside IPv6 included; https off the instance), the connection goes to the checked address, and the file must
be video or audio. Only the official cobalt.tools hosts are refused by name; it is meant for your own instance. - Workspace fallback: when the server starts in a system folder (Claude Desktop on Windows uses
C:\WINDOWS\system32; also through junctions, short names,\\?\paths and admin shares) or a folder it cannot
write to, workspaces go to~/.framelens/;FRAMELENS_WORKSPACEoverrides both (a relative one is taken from the
home folder). Tool results show absolute paths, anddoctorsays which folder is used and why. - Listed for the official MCP Registry as
io.github.Makkov-design/framelens(server.json,mcpNamein
package.json, and a manual "Publish to MCP Registry" workflow);glama.json; a PNG icon for the Claude Code
plugin. Contributing guide, code of conduct, issue forms (including "Wrong measurement") and a pull request
template. framelens --helplists the commands (it used to answer "Unknown command").THIRD_PARTY_NOTICES.md, shipped in the npm package: the licences of the code bundled intodist/framelens.mjs
(the MCP TypeScript SDK, Zod, Google's Gen AI SDK under Apache-2.0, and what they bring in).
Changed
exportanimates only what Frame Lens read from the reference: titles move wherestylefound a move (easing
family derived) ortrackfitted a curve, dissolves are cross-fades and fades and dips go through black or white,
each with its own colour and easing (CSS keyframes, HyperFrames tweens, Remotion opacity, After Effects and Lottie
opacity keys; a wipe is a clip-path edge where the target has one; in After Effects each title sits above its own
shot, so a dissolve covers the outgoing title too). Shots without a move hold still instead of getting an invented
0.2 s entrance; REFERENCE.md says what is derived and lists what is a default. A spec whosetransitionsis not a
list, or lies outside the range, is cleaned instead of crashing the export.- Shot palettes and backgrounds come from the shot's own frames over its whole length (outside its transitions), not
from one frame at its middle: a title card that dissolves into the film is white, not the blend. The frames come
from the same decoding pass as the per-frame change, through a pipe (tone-mapped for HDR, so HDR shots need no
extra seeks); a range too long to keep them gets the per-frame change only, with a note to analyze it in parts. planfor the style goal stays proportionate: one to three ×10 passages of about 12 % of the video each (2–8 s;
24 % of the 33 s trailer in all), every-frame windows around the strongest changes (one per 8 s of video, 2–8 of
them) joined when they overlap or touch and split into windows of at most 2 s, and the estimate counts frames and
tokens per sheet layout. On the 33 s trailer: 272 frames and 22,417 image tokens, down from 606 frames and 63,043.- The login profile (
framelens login, 2.0) now decides on yt-dlp's own words, not Frame Lens's help text, with the
same classifier as cobalt: "rate-limit reached or login required" and other bot checks, rate limits and blocks are
never played through the user's login. framelens initpinsframelens@<version>from npm instead ofgithub:Makkov-design/framelens#v<version>, a
16 MB download that needed the tag to exist; running from GitHub stays documented. Its next steps start with
asking the agent about any video, link, file, site, Lottie or Rive, and end with the Gemini key, as optional.- Without a Gemini key, only the Gemini YouTube tools say how to add one, once, and that the local tools need none.
The message said "To use framelens, add a Gemini API key", twice. planlists only steps the tools accept as they are. Learn and production get their moments when the boundaries or
shots are already in the workspace, and otherwise athenthat ...
Frame Lens 2.0.0
ytlens is now Frame Lens: eyes and ears for AI agents for any video or animation. Give your agent a video, a website, a Lottie or a Figma prototype and a goal in plain words; Frame Lens picks how to look at it and returns measurements, not retellings.
Highlights
- Goal-based analysis:
planclassifies the video and chooses the passes for listen, learn, find, style, sound or production, with an image-token estimate. - Measured frames: real timestamps (the first frame at or after each sample point, every frame for transitions, VFR-safe), contact sheets with time, frame number and spoken words.
- Motion style: cuts to the frame, shots, OKLab palettes, moves with duration and easing family,
motion-spec.json,STYLE.md,TIMELINE.md,ANALYSIS.md. - Sound: loudness, silences, onsets, tempo and beats, cuts on the beat, spectrogram.
- Exact sources: live web page animations (CSS, Web Animations, Motion, GSAP) with real fonts and colours; Lottie/dotLottie keyframes; Figma prototype transitions.
- Starter projects: HyperFrames, Remotion, CSS, After Effects, Lottie, and a Hypit handoff;
comparechecks a render against the reference. - Any source: YouTube and hundreds of sites via a pinned, checksum-verified yt-dlp, local files, an inbox folder, opt-in cookies, and
framelens loginfor sites that need your own login. Never bot-check evasion. - Accuracy on ground truth: every cut on its exact frame, every move found, the right easing family for each (docs/ACCURACY.md).
- Three independent audits before release: 30 bugs fixed, each with a regression test. 366 tests.
The Gemini tools of 1.x keep working; YTLENS_* settings are still read.
Install
npx -y github:Makkov-design/framelens#v2.0.0 doctor
claude mcp add framelens --scope user -- npx -y github:Makkov-design/framelens#v2.0.0(On Windows put cmd /c before npx. The npm package framelens follows.)
Full changes: CHANGELOG.md.
ytlens 1.1.0
ytlens lets your AI assistant actually watch YouTube: an MCP server that sends a video to Google Gemini, which looks at the frames and listens to the audio.
Add it to any project
npx -y github:Makkov-design/ytlens#v1.1.0 initThis adds .mcp.json and the skill .claude/skills/ytlens/SKILL.md. Commit both and set GEMINI_API_KEY (in the claude.ai/code environment for cloud sessions). It works in Claude Code cloud sessions, which only load what is in the repository.
Claude Code plugin for your computer: /plugin install ytlens --marketplace Makkov-design/ytlens
What's inside
- Tools:
summarize_youtube_video,ask_about_youtube_video,extract_key_moments(structured, with deep links),get_video_transcript(speech with speaker labels plus on-screen text),list_supported_models. - Options:
start/endto analyze part of a video;detail: "low"for long videos;response_languagefor the answer language.
- Packaging: a single self-contained bundle with no dependencies that starts straight from GitHub. A Docker image is also available.
- Safety and reliability:
- strict YouTube URL validation;
- result cache;
- a per-call deadline with retries;
- prompt-injection hardening;
- API key redaction in every error and log line.
See the README for setup in Claude Desktop, Cursor and other clients.