screex
/screex
Use when the user wants Claude to understand a screen recording / screencast / demo / bug-repro video — e.g. "what are the steps in this recording?", "turn this into a how-to doc", "write a bug report from this repro", "what URL did they open?". Screex builds a queryable index of UI states (with on-screen text) and Claude reads it to produce a transcript, answer questions, or generate docs.
- Author
- blueprintparadise ↗
- Repository
- Screex ↗
- Licence
- MIT
- Last repository change
- 22.06.2026
Assessment and security
- Files in this package
- 22
- Scripts
- 20
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 22.06.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 20 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: __init__.py, cli.py, core/__init__.py, core/analyzer.py, core/audio.py, core/curate.py, core/cursor.py, core/events.py, core/index.py, core/manifest.py, core/mapper.py, core/ocr.py, core/redact.py, core/regiondiff.py, core/segment.py, core/source.py, mcp_server.py, query.py, skill.py, transcript.py
What it does and when to use it
Use when the user wants Claude to understand a screen recording / screencast / demo / bug-repro video — e.g. "what are the steps in this recording?", "turn this into a how-to doc", "write a bug report from this repro", "what URL did they open?". Screex builds a queryable index of UI states (with on-screen text) and Claude reads it to produce a transcript, answer questions, or generate docs.
Triggers from the description
Original author description
Use when the user wants Claude to understand a screen recording / screencast / demo / bug-repro video — e.g. "what are the steps in this recording?", "turn this into a how-to doc", "write a bug report from this repro", "what URL did they open?". Screex builds a queryable index of UI states (with on-screen text) and Claude reads it to produce a transcript, answer questions, or generate docs.
How it works
- When to use
- Build the index
- Read the index
- Optional fields (enable when useful)
- Produce one of three views
- Inspect or query the index from the shell
- Cost discipline
- Caveats
SKILL.md preview
---
name: screex
description: Use when the user wants Claude to understand a screen recording / screencast / demo / bug-repro video — e.g. "what are the steps in this recording?", "turn this into a how-to doc", "write a bug report from this repro", "what URL did they open?". Screex builds a queryable index of UI states (with on-screen text) and Claude reads it to produce a transcript, answer questions, or generate docs.
---
# Screex — screen-recording understanding
## When to use
The user points you at a screen recording (a screencast, demo, tutorial, or bug repro) and
wants a step transcript, a how-to doc, a bug report, or answers to questions about it.
## Build the index
Run:
`screex index <recording> --fps 2`
By default Screex segments by **on-screen text change**, so even a subtle local change (a
dialog, a status line, a new field) becomes its own UI state — no threshold tuning needed.
This writes `<recording>.screex/index.json` plus per-state `frames/NNNNN.png` (full-res
keyframe) and `frames/NNNNN_thumb.png` (thumbnail).
- Raise `--fps` for fast-moving recordings.
- Lower `--text-threshold` (default 0.80) to split states more eagerly; raise it to merge.
- Add `--fast` for motion-only segmentation (no per-frame OCR) on simple clips — faster, but
it misses subtle local changes.
### Performance — long or fast-moving recordings
Text mode OCRs every changed frame, so it is **slow on long or busy video** (a 2-minute clip
can take several minutes). Choose options up front:
- Recording longer than ~30s, or anything that isn't a calm UI screencast → **start with
`--fast`** (motion-only) or cap the work with `--max-frames 60`.
- Only use full text mode when subtle on-screen text changes actually matter.
Screex prints progress to stderr (`index: state N …`) as it builds. Watch that to see it
working — do **not** sit in a long `sleep`. If you must run it in the background, poll the
output file for new `state` lines rather than blind-waiting.
## Read the index
`Read` `index.json`. It is an ordered list of UI `states`, each with `t_start`/`t_end`,
`ocr_text` (the on-screen text), `text_added` / `text_removed` (what text appeared or
disappeared vs the previous state — the strongest signal of what the user did), and paths to
a `thumbnail` and full-res `keyframe`. The on-screen text is plain text — reading it across
states is cheap. If the recording was narrated and `screex[audio]` is installed, the index also has a `narration` field (timestamped spoken text) — use it to explain *why* each step happened and to answer questions about what the narrator said (`--no-audio` skips it).
## Optional fields (enable when useful)
- `--events`: adds an `event` per state (after the first) — a typed action
(`navigate`/`type`/`click`/`open_dialog`/`error`/`scroll`/`edit`) grounded to the changed
screen `region`. When present it is the **strongest** "what did the user do" signal, above
`text_added`. It is still heuristic (inferred from pixels + OCR, no real click events), so
trust `text_added`/`ocr_text` when they disagree.
- `--interactions`: adds an `interactions` array per state (`{t, x, y, label}`) — a *heuristic*
estimate of where the user was acting and the nearest on-screen text. Great for "what did
they click?" questions, but it's approximate (no real click events) — trust `text_added`
over it when they disagree.
- `--boxes`: adds `boxes` per state (`{text, box:[x,y,w,h]}`) so you can reason about *where*
text is (e.g. "the button in the top-right").
- `--redact`: masks secrets/PII (keys, emails, tokens, cards) in the text and **blurs those
regions in the keyframes**. Use it whenever the recording may contain credentials before
you read or share keyframes.
- `--keyframe-budget N`: scores each state's `salience` (how much its text changed + how crisp
the keyframe is + whether it carries a typed event) so the index can surface the **N most
informative, temporally-spread keyframes**. Read them via
`ScreenIndex.compact_dict(keyframe_budget=N)["curated_keyframes"]`. When you need to escalate
to images but have a tight budget, read *these* keyframes rather than guessing which states
to open.
## Produce one of three views
- **Action transcript:** walk the states in order; use `text_added`/`text_removed` plus the
thumbnail to narrate timestamped steps, e.g. "0:04 opened Settings; 0:09 entered an API
key; 0:14 an 'invalid key' error appeared."
- Shortcut: for a quick deterministic markdown transcript without reasoning over the index
yourself, run `screex transcript <recording> -o steps.md` and read/return that file.
- **Q&A:** answer the user's question by scanning `ocr_text` across states (cheap). `Read`
the full-res `keyframe` PNG for a state only when the text is insufficient (small icons,
layout, colour).
- **Doc / bug report:** format the transcript into a how-to guide, or a structured
reproduction report (steps to reproduce, expected vs actual).
## Inspect or query the index from the shell
You don't have to read the whole JSON: `screex info <index.json>` prints a summary (state count,
duration, event histogram, warnings), and `screex search <index.json> "<text>" [--event click]
[--since 5] [--until 20]` returns the matching states. Both take `--json`. Use these to jump to the
right states before escalating to keyframes.
## Cost discipline
The `ocr_text` and `text_*` fields are text and nearly free to read. Escalate to a
`keyframe` image only for the few states where the text doesn't answer the question.
## Caveats
`ocr_text` can contain minor OCR noise (stray glyphs); collapse states whose `ocr_text` is
essentially identical when you narrate. If a long recording produced only one state, re-run
with a lower `--text-threshold` or a higher `--fps` (or drop `--fast`).
If the index has no on-screen text at all, the recording isn't a text UI — re-run with `--fast`
to get visual (motion) states instead.
Files in this package (22)
- SKILL.md 6 KB
- __init__.py 1 KB
- cli.py 29 KB
- mcp_server.py 3 KB
- py.typed 1 KB
- query.py 3 KB
- skill.py 1 KB
- transcript.py 4 KB
- core/__init__.py 1 KB
- core/analyzer.py 2 KB
- core/audio.py 2 KB
- core/curate.py 3 KB
- core/cursor.py 4 KB
- core/events.py 4 KB
- core/index.py 6 KB
- core/manifest.py 2 KB
- core/mapper.py 1 KB
- core/ocr.py 5 KB
- core/redact.py 4 KB
- core/regiondiff.py 2 KB
- core/segment.py 4 KB
- core/source.py 5 KB
Versions
The database has no other skills named screex.
Identical content appears in 1 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version 7a18510acfc8 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100viewing-videos
Use when the user wants Claude to view, watch, inspect, or extract information from a video file (mp4, mov, webm, mkv, screen recording, Zoom/Meet/Teams meeting recording, demo, screencast, phone clip) — e.g. "can you see this video", "what numbers are shown on screen", "what… - 95app-demo-agent
Use this skill to turn screen recordings into polished app demo videos with AI voiceover and music. Triggers: "app demo", "demo video from recording", "screen recording demo", "narrate this recording", "add voiceover to screen recording", "make a demo from this recording",… - 87watch-video
Actually watch or listen to a video/audio source and hold it in context so you can answer questions about it, summarise it, pull quotes, or act on what it says — a QUICK COMPREHENSION action, not a filing pipeline. Covers the local media hooks Claude cannot otherwise discover:… - 86screen-recording-qa
Use when the owner supplies a screen recording of a bug. - 100screen-recording-voiceover
Turn a silent screen recording (product demo, tutorial, walkthrough, bug repro) into a narrated video in one command. Finds the steps in the recording, helps write one line per step, voices each line with a saved or cloned voice, starts every line exactly at its step, speeds up…