bento-slides

Create and edit Bento presentations (single-file .bento.html) whose document content is stored as ordinary JSON in a "#bento-doc" script block. When a user needs slides or presentations, it can start from scratch (automatically fetching the latest Bento app from bento.page), base on original materials, or improve an existing .bento.html, mapping content to appropriate features (charts, morph transitions, state slides, pan/zoom effects, motion paths) and writing directly to the document JSON. Full modes and examples: https://bento.page/agents.md.

Installation

Review the source and dependencies with a prompt.

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 "bento-slides" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-1a87d3b877f75b0d4087a9cabad240e75368aab6d695a49c94e5f2e191cf8ee5. Verify the upstream source and version against https://skillhub.cn/skills/user_5ee3f67c/bento-slides before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Download permission for this version is unverified or restricted.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Create and edit Bento presentations (single-file .bento.html) whose document content is stored as ordinary JSON in a "#bento-doc" script block. When a user needs slides or presentations, it can start from scratch (automatically fetching the latest Bento app from bento.page), base on original materials, or improve an existing .bento.html, mapping content to appropriate features (charts, morph transitions, state slides, pan/zoom effects, motion paths) and writing directly to the document JSON. Full modes and examples: https://bento.page/agents.md.

0 Downloads

Introduction source: third_party · user_5ee3f67c · 1.0.0 Reference

SkillPi interpretation

Testing
Not tested

Browse files

A verified file list is not available on Skillπ yet.

Browse files at the source ↗

Original SKILL.md

Open original ↗
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. size and theme (including theme.fontFamily) are required — the app will not boot without them.
  • Fully specify element fields as the skeleton shows (shapes need stroke/strokeWidth; text needs fontFamily/align/valign) — missing fields render wrong or not at all.
  • Omit docId and collab entirely: 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

  1. Find the document. Locate the #bento-doc block; parse its JSON. Note doc.size (canonical 1280×720), doc.theme, existing element ids, and whether doc.template/doc.readonly are set.
  2. 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?
  3. 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 (columns weights + rows of cells + a style object)
    • consecutive slides about the same thing changing → morph: give shared elements the same id on 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 + element link)
    • a hero / full-slide image → full-bleed image + scrim rect + text, with ken-burns drift
    • a sequence / flow / timeline → a line/path with a dash-march loop, 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 id stable 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
  4. 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.
  5. 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?
  6. Write back the edited #bento-doc block (escaping <), or return the replacement JSON. Never regenerate the whole HTML file.

Critical gotchas

  • Charts: bar/line series data must be plain numbers ({value,…} item objects coerce to 0 — only pie takes {name,value}); colour by series, not per bar; option is 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.assets and referenced by "asset:<key>" — the file stays self-contained.
  • Media: a media element (kind: video|audio) embeds short clips as a data URI in src (self-contained) or references a URL for big files (keeps the deck small). autoplay runs only in present mode and needs muted:true for video. Don't embed large videos — they bloat the file.
  • Never regenerate docId when 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 for curl.
    • 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.md

    Run 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/Write tools (or a small Python one-liner) to splice the escaped JSON into the empty #bento-doc script 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 to http://localhost:<port>/<Topic>.bento.html instead, then kill the server once the screenshot is captured.

  • Always end by handing the finished .bento.html file to the user via present_files — it is a fully self-contained deliverable they can open, edit, and present with just a browser.

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value95/100

Highlights

  • 提供创建和编辑 Bento 演示文稿的完整能力,支持从零开始、基于素材或改进现有文件
  • 映射内容到图表、动画等高级特性,解决用户制作高质量演示文稿的明确需求
  • 属于高价值/高频刚需场景
Trigger Precision95/100

Highlights

  • description 详细描述了 Skill 的用途、适用场景和核心能力
  • 触发词精准完整,覆盖多种变体,边界清晰
Structure and Standards95/100

Highlights

  • 结构清晰,包含多个详细章节,步骤划分明确
  • 提供了详细的端到端示例和关键注意事项
  • frontmatter 完整,文档长度适中
Execution Reliability95/100

Highlights

  • 提供了详细的执行流程,包括网络优先获取最新资源、缓存回退机制
  • 工具来源明确,参数正确,覆盖了主要异常情况
  • 强调了不可逆操作的注意事项
Evidence Verifiability (mean of the first four)95/100

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.

  • 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 74
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.

  • bento.page
  • github.com
  • localhost

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

risk · 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.