Screen-Time for Hermes
Ask Hermes how long your product is on screen in a video. Get the seconds, each contract term checked against the
frames that prove it, and a proof reel back in the chat. Runs on the models your Hermes already has.
Brands pay creators for screen time. Screen-Time measures it: it tracks every object of the right kind through every
frame of the video (15 frames a second), checks each one against the product so a different flavour or a rival can is
not counted, and checks plain-English terms such as "on screen at least 3 seconds" as typed rules. A second mode,
Compare, measures a creator's draft against a reference take, shot by shot.
Try it in one minute
hermes plugins install aldot311/hermes-screentime
Then, in any Hermes chat:
/screentime demo
The demo runs the whole Measure pipeline on a bundled clip with a recorded Meta API run, so it needs no key and costs
nothing. /screentime selftest checks ffmpeg and the cut detector on a generated clip. Screen-Time needs ffmpeg on
your PATH (brew install ffmpeg or apt install ffmpeg).
Measure
Attach a video (and, if you have one, a photo of the product) and ask in plain words:
How long is the pink LaCroix Strawberry Peach can on screen? Terms: at least 3 s in total, shown in the first 2 s,
say LaCroix out loud.
Hermes calls screentime_measure and replies with:
- seconds on screen, share of the video, first seen, longest continuous run, size in frame
- every tracked object with its verdict: counted, look-alike (not counted, with the reason) or unclear (not counted)
- each term as PASS, FAIL or NEEDS A PERSON, with the moment that proves it
- a proof reel: the video with a lime box on what counted, a dashed red box on what did not, and a timeline strip
How it works: ffmpeg normalizes the video to 15 fps, so a frame number divided by 15 is an exact second. A tracker
finds every object matching a plain noun ("drink can"). A vision model looks at crops of each tracked object next to the
product photo and decides: match, look-alike or unclear. Only matches count. A speech-to-text model listens for the
brand name. The terms are checked by code, not by a model.
Any model, or Meta's
Measure runs on whatever models your Hermes already has. No extra key is needed.
| Step | With your own Hermes models (no extra key) | With a Meta Model API key |
|---|---|---|
| Track | your vision model boxes the noun in 3 frames a second (task screentime_track) | SAM 3.1: a box and a mask in every frame |
| Check each object | your vision model (task screentime_verify) | Muse Spark |
| Listen | Hermes speech-to-text (stt in config.yaml), in 5 s windows | Muse Voice Transcribe |
| Cost | your provider's usual price per call | about $0.003 per second of video + about $0.02 per checked object |
Both tasks inherit your vision model and default to low reasoning; point them at a different model in
auxiliary.screentime_track / auxiliary.screentime_verify. Each report names the models that did the work. With a
Meta key, auto (the default for Tracker, Product check and Speech-to-text) picks Meta; set any of them to hermes
or meta in Settings > Plugins > screentime. Paste the key there too (Hermes stores it; it never goes in
config.yaml). The plugin reserves each Meta call's cost before making it and refuses to pass your caps (defaults: $0.50
per video, $5 per day).
Compare
Compare my draft with this reference.
screentime_compare measures both videos with ffmpeg only: cuts, first cut, cuts in the first 3 seconds, shot
lengths, pixel change per shot, loudness, first sound and silences. It returns a card with both filmstrips on one time
axis and a table of differences in neutral words ("your first cut lands 1.5 s later"). No key, no network, no cost.
If the same file was measured before in that chat, product and brand timing are included.
It measures; it does not predict. There is no score, no retention curve and no "virality".
Accuracy
Measured with the plugin itself on 11 human-labelled test Reels (2,800 frames at 15 fps), frame by frame:
| Models (tracker + product check) | Precision | Recall | F1 | 3-second term right |
|---|---|---|---|---|
| Gemini 3.8 Flash, no Meta key | 98.7% | 97.2% | 98.0% | 11 of 11 |
| SAM 3.1 + Muse Spark (Meta key) | 98.1% | 81.7% | 89.1% | 8 (2 to a person, 1 wrong) |
| GPT-5.4 mini, no Meta key | 95.1% | 80.8% | 87.3% | 9 (1 to a person, 1 wrong) |
The model matters most in the product check. Gemini and Muse Spark both count 0.0 s on the Reel that shows only a
look-alike can (a tracker alone counts 4.3 to 5.3 s there); GPT-5.4 mini counted the look-alike. Small or blurred cans
are reported as unclear and never counted, so seconds are a floor. Per-Reel numbers and where each one is wrong:
docs/ACCURACY.md.
What leaves your machine
- Measure with a Meta key: the normalized video (uploaded to Meta's Files API with a one-hour expiry and deleted
after the run), crops of tracked objects and the product photo (Muse Spark), and the audio (Voice Transcribe). - Measure with your own Hermes models: sampled frames (640 px), crops and the product photo go to your vision model's
provider, and 5-second audio clips to your speech-to-text provider (nothing leaves the machine if both are local). - Compare and the demo make no network calls.
- The plugin runs ffmpeg and ffprobe on the files you name, reads only files under your session folder, your home
folder or Hermes's home, keeps its run index in Hermes's plugin data folder and writes proof reels and cards to
Hermes's generated-media cache. No background processes, no telemetry.
Credits
Ported from Screen-Time, built for Meta's hackathon (Oct 28 to Nov 4, 2026). Compare's shot measurement follows the
same idea as the open video-shot-breakdown skill (PR #109645); Screen-Time adds the comparison with a reference and the
product and brand timing.
License: MIT for the code. The bundled demo clip is the builder's own footage. meta-sam-parser is Meta's SAM License.
README from the reviewed commit 34e034d; it updates when the author re-pins.

aldot311