scripted-screencast
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "scripted-screencast":https://skillpi.com/zh/skills/deepskill-cde8960635b75702e044ede14bc02dfe2832ce48d655f807c06a4fa4de53c046。安装前核对上游来源和版本:https://github.com/dotslashsimran/simcraft。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
将包含点击、输入、悬停、滚动、缩放、字幕等操作的浏览器产品演示脚本,转化为 Screen Studio 风格的录制视频。输出带拟人化光标移动、点击涟漪、对小目标自动缩放、以人类速度输入文字、圆角窗口框架与 padded 背景以及烧录字幕的帧级精准视频,并可选生成 9:16 竖屏版本(光标跟随)。适用于需要“录制演示”、“屏幕录制”或在 UI 变更后快速重新渲染演示视频的场景,无需重拍即可在几分钟内重新渲染。
介绍来源: third_party · dotslashsimran · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
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.
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 解决产品演示视频脚本化录制的高频刚需,支持拟人化光标、自动缩放、字幕烧录等高级功能
- UI 变更后可快速重渲染,显著提升演示制作效率,具备明确商业价值
亮点
- 触发词覆盖全面,包含多种用户常见表达(如“录制演示”、“Screen Studio 风格”等),边界清晰
待提升项
-
引用文件完整性 原报告严重程度:轻微
文档中引用了 examples/tidy-demo.mjs 和 reference.md,需确保这些文件实际存在且内容完整
改进建议:请确认所有引用文件已完整上传,避免用户执行时因文件缺失导致失败
亮点
- 文档结构清晰,步骤划分明确,包含完整示例和 pacing 规则,frontmatter 完整
亮点
- 依赖工具明确(Playwright、ffmpeg),有预览机制、失败截图保存、错误命名等完善的异常处理
- 支持 --keep 和 --compose-only 实现非捕获阶段的重用,提升执行灵活性
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
安装或获取外部依赖
使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。
主文档提及 · 第 10 行 -
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 14, 68 行 -
截图或屏幕采集
只采集明确选择的窗口或区域,避开密码、客户资料等敏感信息,分享前再次检查。
主文档提及 · 第 3 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- localhost
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。