
sn-ppt-workbench
Use when the user asks to open, preview, inspect, or visually edit an existing SenseNova HTML presentation in the PPT Workbench, using an explicit deckdir or the latest deck in the current workspace.
- Installs
- 48
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/opensensenova/sensenova-skills --skill sn-ppt-workbench- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads sn-ppt-workbench automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
sn-ppt-workbench
Start or reuse the AI PPT editing WebUI for an existing HTML slide deck. The
helper prefers Hermes/canvas/port-forward URLs when available. Without a
forwarded URL, native hosts bind to localhost by default, while Docker/WSL bind
to 0.0.0.0 so remote users can reach the WebUI through the host network.
Use Cases
- The user already generated a deck and asks to open the WebUI/editor/workbench.
- The user provides a
deck_dircontainingtask_pack.json,slides/slide_NN.html,pages/page_NNN.html, or a root-level HTML deck. - The user says to inspect or edit previously generated slides without regenerating them.
Hard Rules
- Do not run
sn-ppt-entry,sn-ppt-standard,page-html,batch-page-html, orexport. - Do not edit slide files directly. The WebUI handles user-visible editing.
- If
deck_diris missing, auto-detect only under$(pwd)/ppt_decks. Other roots are considered only when the caller explicitly passes--search-root; never scan home folders by default. - If no usable deck is found, ask the user for the absolute
deck_dir. - Workbench startup is best-effort. If it skips or fails, report the reason and do not attempt generation as a fallback.
- Prefer a forwarded/canvas URL over localhost when the user may be on SSH, IM, or another remote device.
- When launched from the unified PPT flow, use the exact absolute
task_pack.deck_dir; opening the Workbench must not create or switch tasks. - Treat
task_pack.jsonas progress/resume state andoutline.mdas the user-editable Story. Existing runtime builds may expose only part of these artifacts; report compatibility gaps instead of regenerating the deck.
Invocation
Use the helper directly:
python3 $SKILL_DIR/scripts/open_workbench.py --deck-dir "<deck_dir>" --agent-session-id "${HERMES_SESSION_KEY:-}"
On native Windows where python3 is unavailable:
python $SKILL_DIR/scripts/open_workbench.py --deck-dir "<deck_dir>" --agent-session-id "%HERMES_SESSION_KEY%"
If the user did not provide a deck path, let the helper auto-detect:
python3 $SKILL_DIR/scripts/open_workbench.py --agent-session-id "${HERMES_SESSION_KEY:-}"
Pass same-session bridge details when available:
python3 $SKILL_DIR/scripts/open_workbench.py \
--deck-dir "<deck_dir>" \
--agent-session-id "${HERMES_SESSION_KEY:-}" \
--agent-managed 1 \
--agent-provider hermes \
--agent-transport gateway \
--webui-base-url "${HERMES_WEBUI_BASE_URL:-}" \
--gateway-base-url "${HERMES_GATEWAY_BASE_URL:-}"
--agent-transport may be omitted: the helper auto-selects gateway when the
Hermes Gateway endpoint and key resolve (environment or Hermes .env files),
then webui / acp / rest when only those details exist. Explicit flags and
WORKBENCH_AGENT_TRANSPORT always win. With no resolvable bridge the bottom
chat stays read-only by design.
For non-Hermes interactive providers, pass structured bridge details instead of scraping CLI/TUI output:
python3 $SKILL_DIR/scripts/open_workbench.py \
--deck-dir "<deck_dir>" \
--agent-managed 1 \
--agent-provider openclaw \
--agent-transport rest \
--agent-base-url "${WORKBENCH_AGENT_BASE_URL:-}" \
--agent-api-key "${WORKBENCH_AGENT_API_KEY:-}"
python3 $SKILL_DIR/scripts/open_workbench.py \
--deck-dir "<deck_dir>" \
--agent-managed 1 \
--agent-provider codex \
--agent-transport acp \
--acp-command "${WORKBENCH_ACP_COMMAND:-codex-acp}"
python3 $SKILL_DIR/scripts/open_workbench.py \
--deck-dir "<deck_dir>" \
--agent-managed 1 \
--agent-provider box-agent \
--agent-transport acp \
--acp-command "${WORKBENCH_ACP_COMMAND:-${BOX_AGENT_ACP_COMMAND:-box-agent-acp}}"
When this helper runs inside Box Agent, the exported BOX_AGENT_PYTHON or
BOX_AGENT_SKILL_TOOLS_ROOT environment automatically selects box-agent,
acp, and the installed box-agent-acp command. Explicit
WORKBENCH_AGENT_* flags or environment variables still take precedence.
For WorkBuddy, pass --agent-provider workbuddy only as provider identity. Tell
the user clearly that WorkBuddy currently has no supported API or ACP interface
for the interactive workbench bridge, so the WebUI can show WorkBuddy status but
cannot send bottom-chat modification turns back to WorkBuddy.
CLI Subcommands (direct launch fallback)
When bypassing open_workbench.py and invoking the workbench launcher directly, use subcommands:
node <launcher> start --deck-dir "<path>" [--port 0] [--agent-managed]
node <launcher> status --deck-dir "<path>"
node <launcher> stop --deck-dir "<path>"
The old argument-only form (no subcommand) is deprecated — it will print a usage error.
Restart pitfall: start silently reuses an existing server instance for the same deck-dir (response contains "reused": true). If you updated the workbench code, you MUST run stop first, then start — otherwise the old process keeps serving stale code:
node <launcher> stop --deck-dir "<path>"
node <launcher> start --deck-dir "<path>" --port 0
Bind Host
The workbench resolves its bind address from --host CLI flag → WORKBENCH_HOST env var → default 127.0.0.1. When the user needs remote/LAN access, set WORKBENCH_HOST=0.0.0.0:
export WORKBENCH_HOST=0.0.0.0
node <launcher> start --deck-dir "<path>" --port 0
The response url field will then show the LAN IP instead of 127.0.0.1.
Output Handling
Parse the single JSON line from stdout.
When status == "ok", echo the returned editor_url, public_url, or workbench.editorUrl for existing-deck editing requests. The helper may also return generation_url; that URL is the generation progress page at /progress, while the editor is /editor.
PPT 编辑工作台已启动:<editor_url>
If workbench.reused == true, say it reused the existing server.
If bind_host is 0.0.0.0, the URL is a Docker/WSL LAN fallback. Tell the user it must be reachable from their device/network; if not, ask them to provide a Hermes/canvas/port-forward URL and rerun with --public-url, or an explicit bind host with --host.
When status == "skipped" or status == "failed", echo the reason field. If reason == "nodejs_missing", ask whether the user wants NodeJS/dependencies installed; if they decline, do not open the WebUI. Ask for a valid deck_dir only if the reason says no deck was found.
Environment
The helper locates the editor launcher in this order:
SENSENOVA_PPT_WORKBENCH_CLIPPT_WORKBENCH_CLI- The runtime packaged beside this Skill
- The nearest
src/ppt-editorsource checkout or packaged release in the current worktree - Common
~/Repository/ppt-editorfallbacks
The helper does not build the editor during an end-user launch. Packaged Skills
must include workbench-runtime; source checkouts must build src/ppt-editor
explicitly before using its launcher. The repository-level webui/ directory
is a separate product and is not a launcher fallback for this Skill.
Remote URL discovery order:
- Explicit
--public-url WORKBENCH_PUBLIC_URL,HERMES_WORKBENCH_PUBLIC_URL- Hermes/canvas/forwarding env vars such as
HERMES_CANVAS_URL,HERMES_PORT_FORWARD_URL,CANVAS_URL,PORT_FORWARD_URL,TUNNEL_URL - Codespaces/Gitpod URL patterns
- Localhost on native hosts, or LAN fallback from the machine's non-loopback IPv4 address on Docker/WSL
Gateway Auth Setup
For writable interactive agent bridging (chat panel in workbench), Hermes keeps
using the existing WebUI/Gateway protocol. OpenClaw should be exposed through a
Gateway/REST-compatible HTTP endpoint. Codex, Claude Code, and Box Agent should
use ACP JSON-RPC adapters, configured with --acp-command or
WORKBENCH_ACP_COMMAND. Box Agent defaults to its installed box-agent-acp
entry point.
Never parse provider CLI/TUI output for chat synchronization.
For writable Hermes Gateway bridging, the Gateway API server and workbench must authenticate with matching API keys.
Key env vars:
| Variable | Set By | Value |
|---|---|---|
API_SERVER_KEY | Gateway (.env) | Shared secret |
WORKBENCH_GATEWAY_API_KEY | Workbench env | Same as API_SERVER_KEY; preferred explicit bridge key |
HERMES_GATEWAY_BASE_URL | Workbench env | http://127.0.0.1:8642 |
WORKBENCH_AGENT_PROVIDER | Workbench env | hermes, openclaw, codex, claude-code, box-agent, or workbuddy |
WORKBENCH_AGENT_TRANSPORT | Workbench env | webui, gateway, rest, or acp |
WORKBENCH_AGENT_BASE_URL | Workbench env | OpenClaw/Gateway REST endpoint |
WORKBENCH_AGENT_API_KEY | Workbench env | REST provider bearer token |
WORKBENCH_ACP_COMMAND | Workbench env | ACP adapter command, e.g. codex-acp |
BOX_AGENT_ACP_COMMAND | Box Agent / Workbench env | Optional override for the default box-agent-acp adapter command |
Quick steps:
- Gateway: set
API_SERVER_KEYin.env, restart gateway - Workbench: set
WORKBENCH_GATEWAY_API_KEYto same value, setHERMES_GATEWAY_BASE_URL=http://127.0.0.1:8642 - If no explicit bridge key is set, the Node relay falls back to
API_SERVER_KEY,HERMES_GATEWAY_API_KEY, then backend-onlyAI_GATEWAY_API_KEY(ppt-editor-devby default). Prefer the explicit bridge key for custom/shared gateways.
Progress Echo
Always send a short progress message before and after the helper:
| When | Example |
|---|---|
| Before helper | 正在启动 PPT 预览工作台,不会重新生成幻灯片... |
| Success | PPT 编辑工作台已启动:http://127.0.0.1:18087 |
| Generation progress URL available | 生成进度工作台:http://127.0.0.1:18087/progress |
| Skip/failure | PPT 工作台未启动:<reason> |
FAQ
What does the sn-ppt-workbench skill do?
Use when the user asks to open, preview, inspect, or visually edit an existing SenseNova HTML presentation in the PPT Workbench, using an explicit deckdir or the latest deck in the current workspace.
How do I install sn-ppt-workbench?
Run npx skills add https://github.com/opensensenova/sensenova-skills --skill sn-ppt-workbench in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/sn-ppt-workbench/ (personal) or .claude/skills/sn-ppt-workbench/ (project).
Which AI agents can use sn-ppt-workbench?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is sn-ppt-workbench safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains sn-ppt-workbench?
It is published by opensensenova in opensensenova/sensenova-skills. It has 48 recorded installs.
More from opensensenova/sensenova-skills
sn-image-base
opensensenova/sensenova-skills
Base-layer skill for the SenseNova-Skills project, providing low-level APIs for image generation, recognition (VLM), and text optimization (LLM). This skill does not preprocess inputs; it only calls backend services and returns results. This skill is not user-facing and is intended for upper-layer skills only.
sn-infographic
opensensenova/sensenova-skills
Generates professional infographics with various layout types and visual styles. Analyzes content, recommends layout and style, and generates publication-ready infographics. Use when user asks to create "infographic", "信息图", "visual summary", or "可视化".
sn-ppt-standard
opensensenova/sensenova-skills
仅在 sn-ppt-entry 与 sn-ppt-story 已准备绝对 DECKDIR 和 outline.md 后使用;生成每页独立 HTML(1600×900)、渲染 PNG、逐页讲稿、present.html,并按 staticpostprocess 选择生成由 Standard 自有 exporter 转换的 PPTX。present.html 始终是必交付产物,缺失即技术故障,不得交付;staticpostprocess 含 pptx 时 PPTX 同为必交付产物(缺一即技术故障),且只能由 Standard 自有 exporter 生成;仅当用户明确要求只要 HTML(staticpostprocess 为 [])时,PPTX 才可不交付。
sn-ppt-entry
opensensenova/sensenova-skills
Use when a user asks to create a presentation, slide deck, PPT, or PPTX from a query and optional files, or to resume an existing SenseNova presentation task.
sn-md-to-html-report
opensensenova/sensenova-skills
将 Markdown 报告、研究笔记、行业分析、战略备忘录、技术白皮书、复盘、周报等长文档,重组并创作为有编辑判断、网页美感和证据秩序的自包含 HTML 专题页。用户要求“转成 HTML”“网页化报告”“美化报告”“做成专题页”“便于分享”“提升可读性/设计感”“把报告做成网页”时使用。必须先写 plan.md 再写 HTML,保留原文事实断言和结论强度,不套模板,不做机械 Markdown 转换。
sn-image-doctor
opensensenova/sensenova-skills
Environment diagnostic skill for SenseNova-Skills project. Checks that sn-image-base is properly installed and configured, validates dependencies and environment variables. Prompts user to configure missing required variables and saves them to .env file. After configuration, reloads environment and suggests agent restart if needed.
Popular frontend & design skills
setup-matt-pocock-skills
mattpocock/skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
frontend-design
anthropics/skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
prototype
mattpocock/skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
ui-taste
uizze.sh
Give your coding agent better UI taste. Build and polish web and iOS interfaces with Uizze's anti-ui-slop playbooks and optional real-product references. Use for UI design, implementation, redesign, critique, or a final visual review in Claude Code, Codex, Cursor, or Copilot.
hyperframes-animation
heygen-com/hyperframes
All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.
hyperframes-core
heygen-com/hyperframes
The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.