全部付费技能 $9.99/月,随时取消。

立即升级
已验证免费上新

跨设备同步动效片段

v1.0.2

一条固定剧情的短片模板:手机上逐项完成三步,镜头拉远后,笔记本、发布日志、消息和手表同步变成完成态。

需要 Node.js 22+ 和 FFmpeg;首次运行最多下载约 220 MB。 全部运行要求

在终端运行(首次请先执行 npx skillloom-cli login):

npx skillloom-cli install sl-cross-device-sync-reveal-motion-clip
订阅 $9.99/月,解锁付费技能
可以改文案、配色、画幅(16:9 或 9:16)和节奏参数;剧情、五块屏的布局和三步结构是固定的,没有音频、照片和真实应用的界面。

适合谁用

更新于 2026年11月28日

相似技能

你会得到

  • 一条 7.9 秒的 MP4(1920x1080 或 1080x1920),单镜头,没有标题卡、尾卡和音轨
  • 手机特写里三步逐项完成,镜头拉远后露出笔记本、发布日志、消息和手表
  • 脉冲环从手机扩出,四块屏依次变成完成态,标语 One tick. Every screen. 落下并盖上打勾印章
  • 你自己的文案、三套配色(paper、clay、night)和五个节奏参数,全部用代码画成,没有照片

适合

  • 发布、更新或功能介绍短片:想说「做一次,每块屏都完成」
  • 同一条片子要出 16:9 和 9:16、并沿用系列配色的内容
  • 文字很短:一个三步任务、两个状态词和一句分两半的标语

不适合

  • 不是三步,或要换成别的剧情、别的屏幕:剧情和五块屏的布局是固定的
  • 配音、配乐或任何声音:片子没有音轨
  • 照片、实拍素材,或真实应用、真实人物的录屏;别家产品的画面、标志和品牌

试试这个提示词

你说

/sl-cross-device-sync-reveal-motion-clip 做一条 7.9 秒、16:9、paper 配色的片子:手机先把 Friday digest(Write the notes、Run the checks、Send it out)逐项打勾,镜头拉远,露出笔记本、Release log、Mara 问 Is the digest ready? 的消息和标签为 Digest 的手表。脉冲环扫过,Waiting 变成 Synced,回复 Out. Everything is synced. 出现,手表的环合上,标语 One tick. Every screen. 落下。

跨设备同步动效片段
示例成品

接着可以说

  • 改成 9:16、night 配色,所有文字保持不变。

  • 把任务改成 Launch checklist 和我自己的三步,日志、消息和手表的文字也跟着改。

  • 把镜头拉远放慢一点,各块屏幕依次完成的间隔拉大一点。

你需要提供

  • 任务名称和恰好三句简短的步骤
  • 前后两个状态词,以及落在屏幕下方的标语
  • 日志标题、消息的提问和回复、手表的标签,要与任务一致
  • 可选:配色(paper、clay 或 night)、16:9 或 9:16、节奏参数

运行要求

  • Node.js 22+
  • FFmpeg with libvpx (ffmpeg and ffprobe on PATH)
  • npm packages pinned by package-lock.json (npm ci, about 120 MB): HyperFrames 0.8.164 and puppeteer-core
  • Chrome, or Chrome Headless Shell (one-time download of about 100 MB) when the doctor reports that desktop Chrome would crop the picture

运行成本

Free: renders on your machine with no API key; HyperFrames telemetry and update checks are switched off.

验证情况

4.0/ 5

渲染验证分

已验证

真实渲染检查已验证4.0 / 570s
我们怎么验证

常见问题

需要视频模型或 API key 吗?

不需要。片子用代码画成,用 HyperFrames 在你自己的电脑上渲染,没有 key,也不会上传任何东西。首次运行会安装约 120 MB 的依赖包;只有当你的 Chrome 会把画面裁掉时,才需要再下载约 100 MB 的浏览器。

哪些可以改?

每块屏幕和标语里的文字、配色(paper、clay、night)、16:9 或 9:16,以及五个节奏参数:第一步的时刻、步与步的间隔、镜头拉远的时长、脉冲环出发前的停顿、各块屏幕依次完成的间隔。

哪些是固定的?

剧情、五块屏的布局和三步结构。没有音频,没有照片,也没有真实应用的界面,每块屏都是为这条片子画的。想换剧情或布局,需要自己改效果文件。

几块屏幕上的文字要保持一致吗?

要,它们展示的是同一个任务。改了任务和步骤,也要同步改手表标签、日志标题,以及消息的提问和回复;运行时会列出需要同步的字段来提醒你。

SKILL.md

Cross-device sync reveal

The clip opens on a phone, close up: one task, "Friday digest", with three steps. For each step the phone shows the tap first (a ripple on the box), 0.12 s later the box ticks, the label is struck through with a thin line and dimmed, and the progress bar grows. Then the share button is pressed and the camera pulls back. Four more screens come into view, all holding the same task and all still waiting: a laptop board, a release log, a message thread with an unanswered question, and a watch with an empty ring. A pulse ring leaves the phone and passes behind the screens, and one after the other the screens answer: an edge light, a narrow band of light across the face (behind its words), then the screen itself turns to its finished state (the laptop ticks its three rows and says Synced, the log's three lines turn Synced, the thread gets its reply, the watch's ring closes) and the edge light fades, so a finished screen is told by its own content. One beat hands over to the next without a stop. The line lands underneath, a marker sweeps behind its second half, a tick stamp pops (with your own product's name coming up above the line, if you give a brand), and the picture holds still. It is one shot: no title card, no end card, no photo, nothing generated. Everything is drawn in code, in the three series palettes.

Use this skill when

  • You need a short clip that says "do it once and it is done everywhere": a product, a feature or a habit that follows

the user across devices, shown as one task finishing on every screen.

  • You want one held shot with a real camera move and a clear cause and effect, in 16:9 or 9:16, with your own words.
  • The words are short: a task of three steps, a few status words and one line of two halves.

Do not use

  • For a clip that needs a real product screen, a real person, a photo, footage or sound: everything on these screens is

drawn for this skill and the clip has no audio track.

  • For more or fewer than three steps, or for a different set of screens: the screens and the beat are fixed; only the words,

the palette, the aspect and the timing change (change the layout in effect/index.mjs, see Motion and layout).

  • For a clip that needs a logo or any picture of a brand: brand is one line of text, nothing more. Your own product's name

goes there and is yours to use. The name of another company, product or model may appear in the words only if you have the right to use it. The bundled default clip names no real company, product or model.

Inputs (clip.json)

aspect (16:9 or 9:16), palette (paper, clay or night), copy and an optional timing. Every copy field has a default, so a clip can set only some of them; the examples write them all out so you can see every field. The one exception is brand: it has no default and the examples leave it out, so a clip without it names nobody.

| Field | What it says | Where it shows | Fit | |---|---|---|---| | tagline | the first half of the line, for example One tick. | under the screens, comes up first | one line with the second half | | taglineEm | the second half, on the marker, for example Every screen. | next to the first half (16:9) or under it (9:16) | shrinks to 64 units, then warns | | task | the name of the task | the phone's title bar, the laptop's title | shrinks, then warns | | steps | exactly three steps | the phone's rows, the laptop's rows, the log's lines | shrinks to 21 units, then warns | | pending | the status word before the answer | the laptop's badge, the log's values | one word | | done | the status word after the answer | the laptop's badge, the log's values | one word | | phone.time | the clock | the phone's status bar | a short time | | phone.counter | the progress text; write {n} where the finished count goes | the phone and the laptop | for example {n} of 3 done | | phone.notes | the label of the placeholder note | the phone's lower part | one word | | log.title | the log's title | the log's top | shrinks, then warns | | message.sender | the sender's name; its first letter is the avatar | the thread's top | one name | | message.time | the time stamp | the thread's top right | one word | | message.question | the unanswered message | the thread, from the start | shrinks, then warns | | message.reply | the reply that appears when the thread answers | the thread, at 4.80 s | shrinks, then warns | | watch.label | the label under the ring | the watch | one word | | brand | your own product's name (optional, text only, no logo) | one line above the line, left-aligned with it, in the line's typeface; it comes up with the stamp at 5.80 s | shrinks to 28 units, then warns |

Text is sized from the bundled fonts: a line that does not fit even at its smallest size is a warning that names the field, and --production refuses it. All type on the screens is 21 units or more (14 px in a 720p preview).

Keep the screens in step

The screens show one task, so its words have to agree. If you rewrite the task and the steps and leave the other fields at the defaults, the clip is valid but the log, the thread and the watch still talk about the Friday digest: the run prints an advice that names the fields (it does not stop --production; act on it before you deliver). Change these together:

| You change | Then also set | Because | |---|---|---| | task, steps | watch.label, log.title, message.question, message.reply | the watch, the log and the thread are about the task | | pending, done | message.reply | the reply says the word done stands for | | tagline, taglineEm, brand | nothing | the line and the name are free |

Aspects and palettes

  • 16:9 (1920 x 1080): the phone on the left, the laptop and the watch in the middle, the log and the thread on the right,

the line underneath; the outer 96 units stay free. 9:16 (1080 x 1920): the phone and the laptop on top, the watch beside them, the log and the thread below, the line last; every screen lies between 230 and 1260 px and the line between 1370 and 1560 px, inside the platforms' safe area (nothing to be read within 200 px of the top or 340 px of the bottom). The group is centred sideways (37 px from each edge to the phone, the log and the laptop's base). Only the top and the bottom are kept clear: the column of buttons that the platforms put along the right-hand edge can cover the cards that lie on the right (the laptop and the thread), and the clip leaves no room for it. The first frame is the phone filling the picture in both.

  • paper (light, the default), clay and night (dark apps, so the accent reads). The marker's words, the ticks and the

stamp take the palette's ink-on-accent colour.

Timing

timing is optional; every value is in seconds and a value outside its range stops the run with the field name.

| Field | Default | Range | Moves | |---|---|---|---| | first | 0.30 | 0.3 to 1 | the first step, and everything after it | | gap | 0.70 | 0.6 to 1.1 | the time between steps | | pull | 1.05 | 0.8 to 1.5 | how long the camera takes to pull back | | pause | 0 | 0 to 0.5 | the wait between the camera landing and the pulse ring (0: the ring leaves on the frame the camera lands) | | spread | 0.30 | 0.25 to 0.5 | the time between one screen answering and the next |

The clip is 7.9 s and must end with at least 1.2 s of stillness: a combination that pushes the stamp too close to the end stops the run with the field name. The default is 1.75 s. The moments where one beat hands over to the next (the taps, the press, the camera's landing and the ring) are rounded to 0.1 s (3 frames) so that the picture is settled on whole frames there: first: 0.35 and first: 0.4 give the same clip, and the other values are moved by at most 0.05 s.

First run: what gets downloaded

  1. npm ci in this folder installs HyperFrames 0.8.164 and puppeteer-core (about 120 MB, usually under a minute on a normal link).
  2. node scripts/doctor.mjs. On a machine that has never rendered with HyperFrames it fails at render page 1920×1080

("ok": false, exit code 1). That is expected: a desktop Chrome gives HyperFrames a smaller page than the frame (1920 x 993 for a 1080 p frame in Chrome 156), and every rendered frame would end in a black band. Fix it once with the browser HyperFrames brings itself, Chrome Headless Shell: a download of about 93 MB (193 MB unpacked, into ~/.cache/hyperframes/chrome; about 20 seconds on a fast link, several minutes on a slow one). Run it with its output sent to a file:

HYPERFRAMES_NO_TELEMETRY=1 DO_NOT_TRACK=1 node_modules/.bin/hyperframes browser ensure > browser-ensure.log 2>&1

The redirect matters: when the output is not a terminal (an agent's shell, a CI log) the progress spinner writes tens of thousands of characters (82 KB in one measured run) instead of a few lines, and the command has no quiet switch. Do not print the file. The exit code (0 means done) and the next node scripts/doctor.mjs, which must now say "ok": true and exit 0, are what to check.

  1. Nothing else is downloaded, and telemetry and update checks are switched off in every command the scripts run.

There is no photo, no background removal and no footage in this clip, so nothing else needs installing.

Workflow

  1. In this folder run npm ci, then node scripts/doctor.mjs. It prints JSON and exits 0 when "ok": true, 1 when it is

not. Fix any required item it marks as failing ("required": true and "ok": false) before going on (on a new machine the browser is the first: see First run). One item is always listed and is not required: background removal (only for footage with a background) says "ok": false until its runtime and model have been downloaded, and you can ignore it, because this clip has no footage to cut out.

  1. Make a project folder and copy examples/default/clip.json (or examples/vertical/clip.json) into it. Edit the

copy, the palette and the aspect, keeping the screens in step.

  1. Render: node scripts/run.mjs <projectFolder> --production. The film is <projectFolder>/clip-16x9.mp4 (or

clip-9x16.mp4), 30 fps H.264. --aspect and --palette override the file; --production stops on any warning (copy that does not fit), which is what you want for anything you deliver.

  1. Look at the six held moments (the phone and nothing done; step 1; step 2; all three steps and the share button ready;

pulled back with four screens waiting; every screen answered with the line and the stamp). <projectFolder>/qa/holds.jpg is a small overview: use it for the sequence and the layout. The type on the laptop, the log and the thread is small in the overview, so also look at single frames of the film at full size (for example ffmpeg -ss 7.3 -i <film> -frames:v 1 final.png). Check every word on every screen and in the line against clip.json and that the screens agree with each other.

  1. Check the file: node scripts/validate-video.mjs <projectFolder>/clip-16x9.mp4 (use clip-9x16.mp4 for 9:16; exit 0

means it passes: H.264, yuv420p, 30 fps, a supported canvas, no blank frame).

  1. Write the hand-off note from the template under Output contract and save it as <projectFolder>/handoff.txt.

Output contract

  • clip-<aspect>.mp4: H.264, yuv420p, 30 fps, no audio track, 7.9 s (237 frames). 16:9 is 1920 x 1080 and 9:16 is

1080 x 1920.

  • One shot. Frame 0 shows a whole picture: the phone close up with its status bar, the title bar and the share button, the

counter, the progress bar, the three empty boxes and the note below them. Nothing enters or leaves; there is no title card, summary card or end card.

  • The beat, with the default timing: a tap (ripple, 0.3 s) at 0.30, 1.00 and 1.70 s; each box ticks 0.12 s later, and the

label is struck, dimmed and the bar grows from 0.3 s after the tap until the next tap (0.4 s, at a steady pace), so a step runs straight into the next with no slow end. The share button wakes from 1.90 s and is pressed at 2.40 s (0.3 s). The camera pulls back from 2.55 to 3.60 s (eased in and out), starting while the press settles. The pulse ring leaves the phone as the camera lands, at 3.60 s (a second, thinner one 0.22 s later), behind the screens. The screens answer 0.30 s apart: the laptop at 3.90 s, the watch at 4.20 s, the log at 4.50 s and the thread at 4.80 s; each lights its edge, sweeps a narrow band of light across its face (0.5 s), 0.18 s after its edge lit changes to its finished state, and its edge light fades over 0.4 s once the band has passed. The first half of the line comes up at 4.90 s, the second at 5.20 s, the marker sweeps behind it from 5.50 s (0.4 s) and the stamp pops at 5.80 s, its tick drawn by 6.15 s. Nothing moves after 6.15 s: 1.75 s of stillness to the last frame. With brand set, that line rises 16 units and fades in from 5.80 to 6.15 s, with the stamp; nothing else changes.

  • Six held moments in this order: (1) the phone, nothing done; (2) step 1 done; (3) steps 1 and 2 done; (4) all three steps

done, the share button ready; (5) pulled back, the four screens waiting; (6) every screen answered, the line and the stamp.

  • The words are the ones in clip.json; no other text and no logo appears. The only name on screen is the one you put in

brand: without it the clip names nobody. Text stays out of the outer 96 units of the 16:9 frame; in 9:16 nothing to be read lies within 200 px of the top or 340 px of the bottom; no frame is blank.

  • Also: build/ (the editable HyperFrames project), qa/report.json and qa/holds.jpg, and the hand-off note handoff.txt.

Hand-off note

Save it as <projectFolder>/handoff.txt, next to clip.json, and give the user its text with the film's path. Six lines:

Film: <path>/clip-<aspect>.mp4 (H.264, <width> x <height>, 30 fps, 7.9 s, no audio) Words: task "<task>"; steps "<1>" / "<2>" / "<3>"; status "<pending>" -> "<done>"; thread "<question>" -> "<reply>"; log "<title>"; watch "<label>"; line "<tagline> <taglineEm>"; brand "<brand | none>" Look: <aspect>, palette <palette>, timing <defaults | the values you changed> Pictures: none (everything is drawn in code) Checks: run.mjs --production <passed | the warnings>; validate-video.mjs <its output line>; screens agree <yes | what you changed> Open: <what the user still has to decide or supply, or "none">

Motion and layout

  • references/motion-spec.md: every time, frame and curve; the sections and held moments; what to keep when you change

the effect.

  • references/layouts.md: canvases, boxes and type of the five screens and the line in both aspects, fit rules, palettes.

Content changes in clip.json; motion changes in effect/index.mjs.

Failure rules

  • If the run or the validator fails, do not deliver the film. Fix the cause and render again.
  • Copy that does not fit is a warning, and --production refuses it: shorten the line named in the message.
  • The advice that the other screens still show the demo task (see "Keep the screens in step") does not stop

--production; act on it before you deliver. A run that has any warning or advice ends with QA passed with N warning(s) and lists them again as its last lines: that is not a clean pass.

  • A timing out of range or a stamp too close to the end stops the run with the field name.
  • When the run reports a browser that crops the page, follow its advice (doctor.mjs) before rendering.
  • Use words you may use: your own product's name (in brand) is yours; another company's, product's or model's name only if

you have the right to it. Never someone else's logo, screen, footage or identity.

Reference demo

The marketplace preview is rendered from examples/default: the phone's task Friday digest with the steps Write the notes, Run the checks and Send it out; the laptop, the log (Release log), the thread (Mara asks "Is the digest ready?" and gets "Out. Everything is synced.") and the watch (Digest, 0/3 to 3/3); and the line One tick. Every screen., in the paper palette. The screens and their words are made up for this skill and name no real company, product or model; brand is not set.