Skip to content
Skills Library
Marketing & content · Conversion & formats

screencast

/screencast

Records reviewable browser videos — a cursor, click ring, and step captions drawn on the page, dead waits cut, H.264 mp4 out, a per-step timings file and contact sheet beside it — for a scripted scene list, a test runner's raw Playwright video, or a Chrome tab driven by another tool (recorded over the DevTools protocol). Triggers on "record this interaction", "screen recording", "make a video of", "/screencast".

Licence
MIT
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
5
Scripts
4
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 4 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/capture.mjs, scripts/finish.mjs, scripts/overlay.js, scripts/record.mjs

What it does and when to use it

Records reviewable browser videos — a cursor, click ring, and step captions drawn on the page, dead waits cut, H.264 mp4 out, a per-step timings file and contact sheet beside it — for a scripted scene list, a test runner's raw Playwright video, or a Chrome tab driven by another tool (recorded over the DevTools protocol). Triggers on "record this interaction", "screen recording", "make a video of", "/screencast".

Triggers from the description

record this interactionscreen recordingmake a video of

Arguments

/screencast <recording.json> [--narrate] | finish <raw.webm>... --out <id>.mp4 | capture start|step|stop --out <id>.mp4
Original author description

Records reviewable browser videos — a cursor, click ring, and step captions drawn on the page, dead waits cut, H.264 mp4 out, a per-step timings file and contact sheet beside it — for a scripted scene list, a test runner's raw Playwright video, or a Chrome tab driven by another tool (recorded over the DevTools protocol). Triggers on "record this interaction", "screen recording", "make a video of", "/screencast".

How it works

  1. Outputs (the contract other skills read)
  2. Deviations from the default
Original SKILL.md headings · 36 lines, 555 words
SKILL.md preview
---
name: screencast
description: >
  Records reviewable browser videos — a cursor, click ring, and step captions drawn on the page,
  dead waits cut, H.264 mp4 out, a per-step timings file and contact sheet beside it — for a scripted
  scene list, a test runner's raw Playwright video, or a Chrome tab driven by another tool (recorded
  over the DevTools protocol). Triggers on "record this interaction",
  "screen recording", "make a video of", "/screencast".
disable-model-invocation: false
argument-hint: '<recording.json> [--narrate] | finish <raw.webm>... --out <id>.mp4 | capture start|step|stop --out <id>.mp4'
license: MIT
metadata:
  author: mthines
  version: '2.1.0'
  workflow_type: applied
  tags: [playwright, video, recording, evidence, ffmpeg]
---

# screencast

Scripts do the work; this file lists only what differs from a plain Playwright `recordVideo` + `ffmpeg` job.

| Script | Use |
| --- | --- |
| [`scripts/record.mjs`](./scripts/record.mjs) `<recording.json>` | Scripted scenes (caption + `click`/`hover`/`type`/`press`/`scroll`/`wait` steps); schema in the file header. Run from a directory where `playwright` resolves |
| [`scripts/overlay.js`](./scripts/overlay.js) | A test runner's own recording: `context.addInitScript({ path })`, then `window.__rec.step(label)` per step |
| [`scripts/finish.mjs`](./scripts/finish.mjs) `<raw.webm>... --out <id>.mp4` | Any raw video(s) + sibling `<stem>.timings.json` → the outputs below. `--crop x,y,w,h`, `--max-width 768` for `video-analyser`, `--no-trim` |
| [`scripts/capture.mjs`](./scripts/capture.mjs) `launch [--port 9222] \| disconnect \| start --url <part> \| step "<label>" \| stop` `--out <id>.mp4` | A Chrome tab another tool drives (claude-in-chrome): streams its frames over the DevTools protocol through a relay that keeps one connection to Chrome, then runs `finish.mjs` on stop. `disconnect` closes that connection. `launch` opens a separate Chrome with a DevTools port, for when remote debugging at chrome://inspect is off. Usage and exit codes in the file header |

```bash
node "${CLAUDE_SKILL_DIR}/scripts/finish.mjs" spec-1-1.webm spec-1-2.webm --out .agent/feat-x/.aw-tester/recordings/spec-1.mp4
```

## Outputs (the contract other skills read)

`<id>.mp4`, `<id>.timings.json` (`steps: [{ label, start, end, result }]` in output seconds), and `<id>.sheet.png` (one frame per step), side by side.
Standalone runs write to `.agent/{branch}/recordings/`; a caller such as `aw-tester` keeps its own directory.

## Deviations from the default

1. **Read `<id>.sheet.png` before any upload or claim.** You cannot watch a video; the sheet is how you check it shows what you say it shows.
2. **Record at 1x.** Playwright video ignores `deviceScaleFactor`: a 2x page lands in a corner of the frame. Upscale in ffmpeg if needed.
3. **Hide the overlay in screenshots:** `page.screenshot({ style: '#__screencast{display:none!important}' })`, so evidence images show only the app.
4. **A runner writes timings as it goes:** `{ label, start, end, result }` per step, seconds from `newPage()`; several launches → pass every segment to `finish.mjs` in order, and it joins them and offsets their timings.
5. **A failed recording is a `notes` line, never a failed check.**
6. **Chrome driver (claude-in-chrome):** no `recordVideo`, so record with `capture.mjs`, never `gif_creator`: a GIF gets one frame per tool call and is ~20× larger than the mp4.
   It needs Chrome's remote debugging on once (chrome://inspect/#remote-debugging), and the user clicks **Allow** once per Chrome session: the first `start` prints `connecting to Chrome` and waits, and later ones reuse the relay's connection. `--wait 600` when you start it before asking. Chrome paints only while the page changes and its window is visible, so the video starts at the first frame after `start`, and `stop` exits `6` if none came.
   Run `overlay.js`'s source with `javascript_tool` after every navigation and call `__rec.step(label)` with each `capture.mjs step`, or the video has no captions.
   Exit `6` (no debugging, no matching tab, no frames) → fall back to `gif_creator`, convert the GIF (`ffmpeg -i x.gif -movflags +faststart -vf "scale=1280:-2,format=yuv420p" -c:v libx264 -crf 28 -an x.mp4`), and add a `notes` line.
7. **Narration is opt-in** (`--narrate`): each step's `say` line, spoken with macOS `say` or `SCREENCAST_TTS="<cmd with {text} and {out}>"`. Never by default — reviewers watch muted.

Exit codes: `2` bad arguments, `3` ffmpeg missing, encoding failed, or the mp4 failed its sanity check, `4` `playwright` does not resolve, `5` `--narrate` with no voice, `6` `capture.mjs` found no DevTools endpoint, tab, or frames.
Files in this package (5)
  • SKILL.md 5 KB
  • scripts/capture.mjs 22 KB
  • scripts/finish.mjs 13 KB
  • scripts/overlay.js 3 KB
  • scripts/record.mjs 9 KB

Versions

The database has no other skills named screencast.

Database snapshot: 13.11.2026 · package version b0651f340229 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100scripted-screencast
    Turn a browser product demo written as a script (click, type, hover, scroll, zoom, caption) into a polished Screen Studio style recording. You get a smooth human-like cursor, click ripples, automatic zoom on small targets, typing at human speed, a padded background with a…
  • 100screen-recording-demos
    Record clean product and web app demos - scripted browser recording with Playwright, cursor and zoom polish, speed ramps, trimming dead time and syncing to narration. Use when the user wants a walkthrough, tutorial, UI demo or release video of a web app, or a repeatable recording.
  • 100record-video
    Record a short WebM video of a web page or web-based app with Playwright's page.screencast, demonstrating a feature or bug fix. Use when asked to record evidence, demo a change, show that it works, record a video, or capture a screencast.
  • 100app-demo-videos
    Record a screencast of an app you are building and turn it into a polished demo, explainer or promo video with Glif, using video templates for device mockups, captions, voiceover and music. Use when: "make a demo video", "record a screencast", "I need a launch video for my…
  • 100recorded-ui-demo
    Make a polished demo video of a running web UI. Record one scripted Playwright take of the real app at 2x pixels on a logged clock, then cut it in Remotion with the whole page in view, brief zooms only on small details, a drawn cursor with click ripples, captions in a strip…
  • 98ui-demo
    Record polished UI demo videos using Playwright. Use when the user asks to create a demo, walkthrough, screen recording, or tutorial video of a web application. Produces WebM videos with visible cursor, natural pacing, and professional feel.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.