Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Create polished 60 fps 4:3 4K browser screen-recording style videos from Codex in-app browser captures, with browser-only crop, natural macOS cursor styling, deliberate click choreography, zoom-follow framing, ffprobe/thumbnail verification, and optional native recording compatibility checks. Use when the user asks to record or re-record browser actions, show cursor clicks and zooms, make Dribbble/UI inspiration or product demo recordings, or asks whether Codex, Playwright, or an MCP can produce
.claude/skills/mengto-browser-video-recording/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 10% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 118% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -7% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 70% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 199% | 0% |
Separate the workflow into three layers:
This skill is enough for another Codex instance to perform the Python rendering as long as the full skill folder is installed, including scripts/render_browser_demo.py. Codex should run the bundled script instead of recreating the renderer.
Required local tools:
python3Pillowffmpeg and ffprobeOptional macOS cursor extraction uses swift and /usr/sbin/screencapture. If those are unavailable, provide a transparent PNG through cursor_asset and set cursor_hotspot in the config.
The Browser skill/MCP is still needed for fresh Codex in-app browser screenshots. If it is unavailable, use the best available browser automation screenshot source and state the fallback.
For native app recording, verify the MCP supports:
frameRate: 60.resolutionRawValue: "4K".ratioPresetRawValue: "4:3" for region recordings.selectedRegionOnScreen when cropping to an embedded browser viewport.For the local renderer, 4K 4:3 means 3840x2880. If a native recorder exposes a 4K enum, treat it as an app-side resolution preset and pair it with 4:3 region selection when recording through that MCP.
Use browser:control-in-app-browser first. After loading its docs, drive the in-app browser with the Node/browser API:
1920x1440 for 4:3 4K output, then reset it before finishing.01-results-top.png, 02-after-card-click.png, 03-back-results.png.Avoid desktop coordinate automation unless the user explicitly needs system UI. Codex browser visibility may not expose a capturable macOS surface; screenshots from the browser API are the reliable source.
Make the cursor feel purposeful:
Default visual target:
3.0, matching the large cursor style commonly used in edited demo recordings.15 for a subtle click scale dip.8deg, only from horizontal velocity.Use scripts/render_browser_demo.py for deterministic 60 fps 4:3 4K output:
bashpython3 /path/to/browser-video-recording/scripts/render_browser_demo.py \ --config /tmp/browser-demo-config.json \ --output /tmp/browser-demo-4x3-4k-60fps.mp4
Generate a starter config:
bashpython3 /path/to/browser-video-recording/scripts/render_browser_demo.py --write-template
The config supplies:
shots: map of state names to screenshot PNG paths.scene_starts: [time, shotName, transition] entries.cursor_keys: [time, x, y] viewport-coordinate entries.camera_keys: [time, x, y, zoom] entries.click_times: click timestamps.duration, fps, output_size, source_size, cursor_scale.Preferred defaults:
json{ "fps": 60, "output_size": [3840, 2880], "source_size": [1920, 1440] }
If cursor_asset is omitted, the script briefly shows a solid-color overlay and uses screencapture to extract the real current macOS cursor into a transparent PNG. This is local rendering support, not an MCP dependency.
Always verify the delivered video:
bashffprobe -v error \ -show_entries stream=codec_name,width,height,r_frame_rate \ -show_entries format=duration,size \ -of json /path/to/output.mp4
Extract at least one mid-video thumbnail and inspect it:
bashffmpeg -y -ss 8 -i /path/to/output.mp4 -frames:v 1 -update 1 /tmp/browser-demo-thumb.png
Confirm:
3840x2880 for 4:3 4K.60/1 or equivalent.| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 36,967 | 5,073 | -86% | 1 | 1 | 0% | 6,227 | 1,797 | -71% | 0 | 0 | — |
case-02 | fail→fail | 27,753 | 5,816 | -79% | 1 | 1 | 0% | 6,221 | 1,864 | -70% | 0 | 0 | — |
case-03 | fail→fail | 30,873 | 5,528 | -82% | 1 | 1 | 0% | 6,207 | 1,766 | -72% | 0 | 0 | — |
case-04 | fail→pass | 23,923 | 2,777 | -88% | 1 | 1 | 0% | 1,813 | 1,993 | +10% | 0 | 0 | — |
case-05 | pass→pass | 7,578 | 1,357 | -82% | 1 | 1 | 0% | 1,308 | 1,695 | +30% | 0 | 0 | — |
case-06 | fail→pass | 7,117 | 5,236 | -26% | 1 | 1 | 0% | 1,238 | 2,705 | +118% | 0 | 0 | — |
case-07 | fail→pass | 11,046 | 2,936 | -73% | 1 | 1 | 0% | 2,221 | 2,071 | -7% | 0 | 0 | — |
case-08 | pass→pass | 9,507 | 1,796 | -81% | 1 | 1 | 0% | 1,670 | 1,754 | +5% | 0 | 0 | — |
case-09 | fail→pass | 5,657 | 1,510 | -73% | 1 | 1 | 0% | 969 | 1,644 | +70% | 0 | 0 | — |
case-10 | pass→pass | 9,369 | 2,240 | -76% | 1 | 1 | 0% | 1,925 | 1,850 | -4% | 0 | 0 | — |
case-20 | pass→pass | 10,902 | 9,263 | -15% | 1 | 1 | 0% | 2,394 | 3,578 | +49% | 0 | 0 | — |
case-11 | pass→pass | 3,003 | 2,525 | -16% | 1 | 1 | 0% | 596 | 1,916 | +221% | 0 | 0 | — |
case-12 | fail→pass | 3,193 | 3,143 | -2% | 1 | 1 | 0% | 696 | 2,083 | +199% | 0 | 0 | — |
case-13 | fail→pass | 8,487 | 1,405 | -83% | 1 | 1 | 0% | 1,583 | 1,677 | +6% | 0 | 0 | — |
case-14 | fail→pass | 6,076 | 1,335 | -78% | 1 | 1 | 0% | 944 | 1,677 | +78% | 0 | 0 | — |
case-15 | fail→pass | 9,877 | 1,459 | -85% | 1 | 1 | 0% | 1,579 | 1,661 | +5% | 0 | 0 | — |
case-16 | fail→pass | 10,456 | 1,649 | -84% | 1 | 1 | 0% | 2,120 | 1,714 | -19% | 0 | 0 | — |
case-17 | fail→pass | 10,305 | 2,872 | -72% | 1 | 1 | 0% | 1,773 | 1,975 | +11% | 0 | 0 | — |
case-18 | fail→pass | 15,543 | 4,503 | -71% | 1 | 1 | 0% | 3,100 | 2,357 | -24% | 0 | 0 | — |
case-19 | pass→pass | 17,765 | 9,322 | -48% | 1 | 1 | 0% | 3,069 | 3,267 | +6% | 0 | 0 | — |
case-21 | pass→pass | 13,896 | 10,655 | -23% | 1 | 1 | 0% | 2,678 | 3,591 | +34% | 0 | 0 | — |
case-22 | pass→pass | 12,179 | 8,720 | -28% | 1 | 1 | 0% | 2,282 | 3,116 | +37% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 18 counted toward the lift figure. The other 4 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +50 percentage points is the difference between those two pass rates over the 18 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.