bento-slides
安装方式
先用 Prompt 核对来源与依赖。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "bento-slides":https://skillpi.com/zh/skills/deepskill-1a87d3b877f75b0d4087a9cabad240e75368aab6d695a49c94e5f2e191cf8ee5。安装前核对上游来源和版本:https://skillhub.cn/skills/user_5ee3f67c/bento-slides。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
当前版本的下载许可尚未确认或受限。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
创建与编辑 Bento 演示文稿(单文件 .bento.html),其文档内容以“#bento-doc”脚本块形式存储为普通 JSON。当用户需要幻灯片或演示文稿时,可从零开始(自动从 bento.page 获取最新版 Bento 应用)、基于原始素材或改进现有 .bento.html 文件,并将内容映射到适用的功能(图表、变形过渡、状态幻灯片、平移缩放、运动路径),然后直接写入文档 JSON。完整模式及示例见 https://bento.page/agents.md。
介绍来源: third_party · user_5ee3f67c · 1.0.0 参考来源
SkillPi 解读
- 实测状态
- 未测试
文件浏览
本站暂无可核验的版本文件清单。
在原站浏览文件 ↗Frontmatter
name: bento-slides
description: >-
Create and edit Bento presentations — single-file .bento.html decks whose
document is plain JSON in a "#bento-doc" script block. Use whenever the user
wants a slide deck or presentation: starting from NOTHING (it downloads the
latest Bento app from bento.page automatically), from source material, or by
improving an existing .bento.html. Maps content to the right feature
(charts, morph transitions, state slides, ken-burns, motion paths) instead
of static text slides, then writes the document JSON in place. Full schema +
recipes at https://bento.page/agents.md.
agent_created: true
source: https://github.com/nyblnet/bento (plugins/bento-slides/skills/bento-slides/SKILL.md)Authoring Bento decks
A Bento deck is one self-contained .bento.html file. The document is plain
JSON in a single block:
<script type="application/bento+json" id="bento-doc"> { "format":"bento/slides", ... } </script>
You edit that block only, in place. Escape every < in the JSON as
\u003c so it can never contain a literal </script>. Leave the rest of the
file (the compressed runtime) untouched. In a chat context instead, the user
copies the JSON out (Save ▾ → Copy document JSON) and pastes your
replacement back (Save ▾ → Replace from JSON…); window.bento.loadDoc(json)
does it from the console.
Starting from nothing
The user does NOT need Bento installed — the app ships inside every deck.
When there is no .bento.html to edit, get a clean shell copy and author
into it. Prefer fetching fresh over the network first — fall back to the
local cache only if the network is unavailable:
# 1. Preferred: fetch the latest signed shell from the network, and refresh
# the local cache at the same time so it stays current for offline use:
curl -fsSL https://bento.page/releases/slides/Bento_Slides.bento.html -o "<Topic>.bento.html" \
&& cp "<Topic>.bento.html" ~/.workbuddy/skills/bento-slides/assets/Bento_Slides.bento.html
# 2. Fallback: if the curl above fails (no network / bento.page unreachable),
# use the bundled offline cache instead:
cp ~/.workbuddy/skills/bento-slides/assets/Bento_Slides.bento.html "<Topic>.bento.html"
(Windows without curl: iwr https://bento.page/releases/slides/Bento_Slides.bento.html -OutFile <Topic>.bento.html.)
The shell is a generic runtime container — it carries no user content, so fetching fresh each time is cheap and keeps you on the latest engine build. The cached copy exists purely as a fallback for when the network is down; it is not a blocker either way — one path or the other always produces a usable shell.
Then verify the file contains id="bento-doc", and replace that
block's JSON (it ships with a showcase deck — discard it) with your document.
Rules for a fresh document:
- Read the schema BEFORE authoring: prefer fetching
https://bento.page/agents.md live (it may have newer recipes/gotchas than
the cache). If the fetch fails or network is unavailable, fall back to the
offline mirror at
~/.workbuddy/skills/bento-slides/assets/agents-schema-reference.md— it is sufficient for normal authoring. Either way, start from its "Minimal valid document" skeleton.sizeandtheme(includingtheme.fontFamily) are required — the app will not boot without them. - Fully specify element fields as the skeleton shows (shapes need
stroke/strokeWidth; text needsfontFamily/align/valign) — missing fields render wrong or not at all. - Omit
docIdandcollabentirely: the app mints a fresh identity and dormant collaboration credentials on first open.
When done, offer to open it (open / xdg-open / start) — the file boots
straight into the editor with the finished deck. Aim for one pass from
request to opened deck.
Workflow
- Find the document. Locate the
#bento-docblock; parse its JSON. Notedoc.size(canonical 1280×720),doc.theme, existing elementids, and whetherdoc.template/doc.readonlyare set. - Read the source material the user gave you and classify each piece — is it a stat? a table? a process? a definition to expand? a photo?
- Map material → feature (do NOT default to bullet text). This is the
step that makes it a Bento deck rather than a slideshow of paragraphs:
- numbers to compare visually (trend, magnitude, share) → a chart element
- a comparison / spec / pricing / feature grid → a table element
(
columnsweights +rowsofcells+ astyleobject) - consecutive slides about the same thing changing → morph: give
shared elements the same
idon both slides +transition:"morph"on the later one (Bento's signature move — reach for it liberally) - a point to drill into → a state slide (
stateOf+ elementlink) - a hero / full-slide image → full-bleed image + scrim rect + text, with ken-burns drift
- a sequence / flow / timeline → a line/
pathwith adash-marchloop, or morph a highlight through the steps - a headline number → big text +
fx:{countUp:true} - every cover / divider → at least one ambient motion
- repeated chrome / logo → keep its
idstable across slides so it morphs in place - a demo clip / recording / soundbite → a media element
(
kind: video|audio); embed short clips as a data URI, link big ones by URL to keep the file small
- Author using the schema. Keep the full schema and copy-paste recipes
open: fetch https://bento.page/agents.md if network is available, else
read
~/.workbuddy/skills/bento-slides/assets/agents-schema-reference.md(it has the element shapes, the morph/chart/state/ken-burns snippets, and the gotchas). Respect one accent colour, ≤2 typefaces, 96px side margins (right-most x ≤ 1184), and write speaker notes on each slide. - Self-audit before finishing:
- [ ] any numbers rendered as text that should be a chart?
- [ ] do consecutive slides on one subject share ids +
transition:"morph"? - [ ] at least one motion moment (ken-burns / loop / count-up), esp. the cover?
- [ ] a drill-down that would work better as a state slide?
- [ ] one accent colour, ≤2 typefaces, 96px margins?
- [ ] speaker notes on every slide?
- Write back the edited
#bento-docblock (escaping<), or return the replacement JSON. Never regenerate the whole HTML file.
Critical gotchas
- Charts: bar/line series
datamust be plain numbers ({value,…}item objects coerce to 0 — only pie takes{name,value}); colour by series, not per bar;optionis pure JSON, template formatters only ({b}/{c}/{d}), never functions. - Morph needs deterministic, stable ids shared across the slides that should animate together. Different ids = no morph (elements just cut).
- Images/fonts must be embedded as data URIs in
doc.assetsand referenced by"asset:<key>"— the file stays self-contained. - Media: a
mediaelement (kind: video|audio) embeds short clips as a data URI insrc(self-contained) or references a URL for big files (keeps the deck small).autoplayruns only in present mode and needsmuted:truefor video. Don't embed large videos — they bloat the file. - Never regenerate
docIdwhen editing an existing deck; it is the document's identity. (Fresh decks omit it — the app mints one.) template:true→ every open mints a fresh deck;readonly:true→ the file boots straight into the show with no editor.
Working examples of every technique: open any template at
https://bento.page and read its #bento-doc block.
WorkBuddy-specific notes
-
Network-first, cache as fallback: always try the network first for both the shell and the schema (freshest engine + freshest recipes). Only drop to the bundled cache when the network call fails or is unavailable:
assets/Bento_Slides.bento.html— clean runtime shell (~640KB, no user content), used as the starting-point fallback forcurl.assets/agents-schema-reference.md— offline mirror of https://bento.page/agents.md, used as the fallback for the live fetch.- A quick pattern for "try network, fall back to cache" in Bash:
curl -fsSL https://bento.page/releases/slides/Bento_Slides.bento.html -o "<Topic>.bento.html" \ && cp "<Topic>.bento.html" ~/.workbuddy/skills/bento-slides/assets/Bento_Slides.bento.html \ || cp ~/.workbuddy/skills/bento-slides/assets/Bento_Slides.bento.html "<Topic>.bento.html"
-
Refreshing the local cache (also do this any time a successful network fetch produced a newer shell/schema than the cache — keeps the fallback from going stale):
# Refresh the cached shell: curl -fsSL https://bento.page/releases/slides/Bento_Slides.bento.html \ -o ~/.workbuddy/skills/bento-slides/assets/Bento_Slides.bento.html # Refresh the cached schema reference (fetch agents.md and save it, # or re-derive the reference file manually from the fetched content — # WebFetch cannot write files directly, so pull the markdown via curl): curl -fsSL https://bento.page/agents.md \ -o ~/.workbuddy/skills/bento-slides/assets/agents-schema-reference.mdRun this opportunistically (e.g. once network is confirmed available at the start of a Bento task) so the offline fallback stays reasonably current.
-
Use
Read/Edit/Writetools (or a small Python one-liner) to splice the escaped JSON into the empty#bento-docscript tag of the copied shell. -
To visually verify rendering before handing off to the user, local
file://navigation is blocked by the browser-skill extension's CDP guard ("Navigating to local URL is not allowed"). Spin up a throwaway local HTTP server (python3 -m http.server <port>in the deck's directory) and navigate tohttp://localhost:<port>/<Topic>.bento.htmlinstead, then kill the server once the screenshot is captured. -
Always end by handing the finished
.bento.htmlfile to the user viapresent_files— it is a fully self-contained deliverable they can open, edit, and present with just a browser.
当前收录版本
1.0.0
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供创建和编辑 Bento 演示文稿的完整能力,支持从零开始、基于素材或改进现有文件
- 映射内容到图表、动画等高级特性,解决用户制作高质量演示文稿的明确需求
- 属于高价值/高频刚需场景
亮点
- description 详细描述了 Skill 的用途、适用场景和核心能力
- 触发词精准完整,覆盖多种变体,边界清晰
亮点
- 结构清晰,包含多个详细章节,步骤划分明确
- 提供了详细的端到端示例和关键注意事项
- frontmatter 完整,文档长度适中
亮点
- 提供了详细的执行流程,包括网络优先获取最新资源、缓存回退机制
- 工具来源明确,参数正确,覆盖了主要异常情况
- 强调了不可逆操作的注意事项
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 74 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- bento.page
- github.com
- localhost
安全评级与访问范围
risk · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。