slideshow
它能做什么
这项技能构建在浏览器中运行的演示文稿,而不是渲染好的视频。适合希望在现场使用幻灯片、分段显示和演讲者备注的演示者。
适用场景
- ✓当你希望在浏览器中现场运行演示文稿时。
- ✓当你想要带有分段显示或可点击分支的幻灯片时。
- ✓当你希望在讲解时,在演讲者视图中显示备注时。
技能链接
https://github.com/heygen-com/hyperframes/blob/main/skills/slideshow/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为我们的投资人会议制作一套 10 页的幻灯片,带演讲者备注,并为定价细节设置一个分支。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体把每张幻灯片构建为普通 HyperFrames 文件中的一个场景,然后添加一段简短的设置,说明哪些场景是幻灯片、它们如何显示,以及可点击区域指向哪里。一个本地命令用于提供演示文稿。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Plugin installs: Before setup or freshness commands, follow plugin execution rules when this skill is inside a HyperFrames plugin.
HyperFrames slideshow
A slideshow is a normal composition (the /hyperframes contract applies) plus one JSON island that says which scenes are slides and how they connect. The deliverable is a running deck, not an MP4.
What changes from a video project
- Each slide is a top-level scene in the composition file:
data-composition-id,data-start,data-duration,data-label,data-width,data-height. There is no master root composition wrapping them. - One island per composition, near the top of
<body>, written in the HTML (never generated by script;presentreads the file statically):
<script type="application/hyperframes-slideshow+json">
{
"slides": [
{ "sceneId": "hook", "notes": "Pause on the number." },
{
"sceneId": "problem",
"fragments": [11.0, 15.0],
"hotspots": [
{
"id": "h1",
"label": "Where does $40B come from?",
"target": "market-detail",
"region": { "x": 55, "y": 60, "w": 40, "h": 20 }
}
]
}
],
"slideSequences": [
{ "id": "market-detail", "label": "Market sizing", "slides": [{ "sceneId": "mkt-math" }] }
]
}
</script>
sceneIdequals a scene'sdata-composition-id(or givestartTime/endTime).notesare presenter-only.ttsScript,ttsAudioUrlandttsDurationMsare reserved and not wired yet.- Fragments are absolute timeline times (the same clock as
data-start, not offsets inside the slide) within the slide's[start, end]. Navigation seeks, it never plays: each hold state must look right when the timeline is seeked straight to that time. A slide without fragments enters at a rest frame inside it. - Branch slides are ordinary scenes listed only in
slideSequences, never in the mainslidesarray. A hotspot'stargetis a sequenceid;regionis a percentage box (omit it for a full-slide button). Back returns to the slide that held the hotspot. - Text the audience must read is at least 40 px at 1920×1080. Before hand-building any named visual, search
npx hyperframes catalog --query "<the visual, in English>" --json: it ranks the whole registry with nothing installed.
Porting an existing page
- Keep the source's look, motion, interactions and media behaviour; port its widgets, players and visualizers rather than approximating them.
- Movement the page drove by scroll, wheel or a camera layer becomes a camera move from one focal point to the next on slide navigation, never a page visibly scrolling. Keep each move direct, without reversals the source doesn't make.
- Screenshots, posts, charts, code and any image with readable text are evidence: keep their aspect (
object-fit: contain) and check all four edges for crops. - Every copied
<video>/<audio>needsdata-startanddata-duration(data-has-audio="true"when its sound plays), and nopreload="none". Custom media chrome reads the native element's events andcurrentTime, never its own timer. - Hidden stacked slides need
opacity: 0,visibility: hiddenandpointer-events: nonetogether, or an invisible layer swallows clicks.
Present and hand off
- Never render a deck to MP4:
renderkeeps only the first scene and truncates silently. For stills,snapshot --ateach slide. - Run
npx hyperframes check --jsonuntil it is clean. The slideshow rule checks that everysceneIdresolves, every hotspottargetexists, fragments sit inside their slide, and main-line slides don't overlap. - Serve it with
npx hyperframes present <project-dir>and hand over the URL it prints: "Click Present, or press P, to open the audience tab." - The project's root
index.htmlshould open as a working deck:<hyperframes-slideshow>around<hyperframes-player src="…">, with the raw composition in a subfolder if needed. The component owns Present (P), Prev/Next, the counter, global mute, fullscreen, swipe, hotspots, presenter notes (editable, kept per deck) and stopping media on slide exit. Don't build your own versions of any of these. - Screen sharing: in Google Meet share the audience tab, which keeps rendering in the background. In Zoom drag the audience tab into its own window and share that; a fully covered window freezes.
- A deck opene
常见问题
输出的是视频文件吗?
不是。交付物是在浏览器中运行的演示文稿,你可以现场展示。
我能添加演讲者备注吗?
可以。每张幻灯片都可以有备注,演讲者模式会在你讲解时显示它们。
幻灯片能分段显示吗?
可以。幻灯片可以在设定的时间进行分段显示。
详情
作者的原始描述
Build a HyperFrames slideshow to present live - slides, fragment reveals, branching hotspots and presenter mode with speaker notes, served by `hyperframes present` - or turn an existing page into one. Use when the person wants a deck or presentation rather than a rendered video.
repo: heygen-com/hyperframes
热度
- GitHub 星标
- 78k
- 排名
- #1746
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
captions-overlay
78k指导你的智能体以叠加方式为视频添加字幕,决定哪些口播内容需要删除、放在字幕条上,或作为重点突出显示。
cut-the-curve
78k教你的智能体使用 HyperFrames 视频中的转场效果,例如流畅的场景切换、推进式穿越和错落的文字入场。
motion-doctrine
78k为你的智能体提供核心规则,使多场景视频像一个连续的镜头移动,而不是一张张分开的幻灯片。
oversized-cursor
78k教你的智能体在视频中加入一个大号的动画指针,引导观众的视线,并让点击看起来像是引发了下一步动作。