scripted-screencast
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "scripted-screencast" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-cde8960635b75702e044ede14bc02dfe2832ce48d655f807c06a4fa4de53c046. Verify the upstream source and version against https://github.com/dotslashsimran/simcraft before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Convert browser product-demo scripts containing clicks, inputs, hovers, scrolls, zooms, captions, and similar actions into Screen Studio–style recorded videos. Produces frame-accurate videos with human-like cursor motion, click ripple effects, automatic zoom for small targets, human-speed typing, rounded-window frames on padded backgrounds, burned-in captions, and an optional 9:16 vertical version (cursor-follow). Intended for recording demos, screen recordings, or product demo videos and for quickly re-rendering demos after UI changes without re-shooting.
Introduction source: third_party · dotslashsimran · 0.0.1 Reference
SkillPi interpretation
- Tasks
- 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 rounded window frame, burned-in captions and an optional 9:16 version that follows the cursor. It is frame-perfect and needs no retakes, and you can re-render it in minutes after the UI changes. Use when the user says "record a demo", "screen recording", "product walkthrough video", "Screen Studio style", "demo video of my app", "make a screencast", or wants to re-record a demo after a UI change.
- Testing
- Not tested
Browse files
Frontmatter
name: scripted-screencast
description: 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 rounded window frame, burned-in captions and an optional 9:16 version that follows the cursor. It is frame-perfect and needs no retakes, and you can re-render it in minutes after the UI changes. Use when the user says "record a demo", "screen recording", "product walkthrough video", "Screen Studio style", "demo video of my app", "make a screencast", or wants to re-record a demo after a UI change.Scripted screencast
You write the demo as a list of steps. The renderer drives the app in a headless browser on a virtual clock and takes one screenshot per frame. It then adds the cursor, the zoom, the frame and the captions, and encodes the video. Every run of the same script gives the same video.
Setup, once: cd ~/simcraft && npm i (Playwright), and ffmpeg on the PATH or in FFMPEG.
Steps
- Stage the app first. Run it locally and fill it with believable data under a fictional brand: real-looking names, a day already half done, no empty states and no "test123". Put the staging in the script's
setup(seeded localStorage, an API call, a login with a demo account) so every render starts from the same state. Never type real credentials into any site. - Write the script next to the project as
demo.mjs(or.json). Start from examples/tidy-demo.mjs. Use one caption per idea and keep the whole thing between 20 and 60 seconds. - Preview. This runs at 24 fps and half size, and takes about 30 seconds:
node ~/simcraft/skills/video/scripted-screencast/scripts/render.mjs demo.mjs --previewThen check the zoom and framing at a few moments, and look at the stills:
node .../render.mjs demo.mjs --preview --stills 1,4.5,9If a step fails, the error names the step and saves
failed-step-N.pngshowing the page at that moment. - Final. This renders 60 fps at 2x pixels into a 1920x1080 video. Add
--verticalfor a 1080x1920 version as well:node .../render.mjs demo.mjs --vertical - Report what was staged (data, fake brand, anything faked) and give the output paths.
Script
export default {
url: "http://localhost:3000", // or a file path relative to the script
viewport: { width: 1280, height: 720 }, // 1280x720 keeps text big enough for phones
look: { background: "peach", title: "Tidy" },
setup: [ { localStorage: { "tasks": [...] } }, { reload: true } ], // not recorded
steps: [
{ caption: "Add a task in seconds" },
{ click: "#newBtn" },
{ type: "Sign the gallery contract", into: "#title" },
{ click: { role: "button", name: "High" } },
{ press: "Enter" },
{ wait: ".toast" },
{ scroll: 400 },
{ zoom: ".chart" }, { pause: 1500 }, { zoom: "off" },
],
};
Targets can be a Playwright selector ("#id", "text=Save") or { role, name }, { text }, { label } or { placeholder }. Prefer role and visible text, because they survive redesigns better than CSS classes. The full step list, every option and all the look settings are in reference.md.
Pacing rules
- Cursor moves take 400 to 900 ms, depending on the distance. This is automatic. Only set
moveMsfor a deliberate slow move. - Hold about 600 ms after each result so people can read it. This is automatic after click, type and press. Use
holdon a step for a bigger moment, such as 1200 ms after the main payoff. - Zoom only when the target is small. Auto zoom does this for targets under 4% of the screen and stays in while actions are close together. Use an explicit
zoomfor a result you want people to read, andzoom: "off"before a wide view. - Give the opening a second of stillness. The default
headdoes this. - One caption per idea, under 8 words, shown before the action it describes.
After a UI change
Run the same command again. The script finds elements by role and text, so most changes need no edits. If a step fails, fix only that target (the error names it and saves a screenshot), preview, then do the final render. To change only the look (background, zoom, captions) without capturing again, render the final with --keep once, then use --compose-only.
Rules
- Fictional brands and data only. Never record real customer data, real credentials or someone else's product presented as yours.
- Always preview before the final render and look at the stills yourself.
- Don't fake speed with
pace: if the app is slow, stage the result orwaitfor it on camera.
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决产品演示视频脚本化录制的高频刚需,支持拟人化光标、自动缩放、字幕烧录等高级功能
- UI 变更后可快速重渲染,显著提升演示制作效率,具备明确商业价值
Highlights
- 触发词覆盖全面,包含多种用户常见表达(如“录制演示”、“Screen Studio 风格”等),边界清晰
Areas to improve
-
引用文件完整性 Reported severity: Minor
文档中引用了 examples/tidy-demo.mjs 和 reference.md,需确保这些文件实际存在且内容完整
Recommendation: 请确认所有引用文件已完整上传,避免用户执行时因文件缺失导致失败
Highlights
- 文档结构清晰,步骤划分明确,包含完整示例和 pacing 规则,frontmatter 完整
Highlights
- 依赖工具明确(Playwright、ffmpeg),有预览机制、失败截图保存、错误命名等完善的异常处理
- 支持 --keep 和 --compose-only 实现非捕获阶段的重用,提升执行灵活性
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 10 -
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 14, 68 -
Screenshots or screen capture
Capture only a selected window or region. Avoid secrets and private records and review captures before sharing.
Mentioned in main document · lines 3
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- localhost
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.