Source profileQuality 91/100Review permissions

OpenSenseNova/SenseNova-Skills/skills/sn-ppt-workbench/SKILL.md

sn-ppt-workbench

Open the AI PPT editing WebUI for previously generated SenseNova HTML slides. Use when the user asks to preview, inspect, edit, or open an existing/generated PPT deck in the WebUI/workbench without regenerating slides. Accepts an explicit deck_dir or auto-detects the newest local ppt_decks entry containing HTML pages. Does not run style/outline/page-html/export generation.

Source repository stars
4,855
Declared platforms
0
Static risk flags
1
Last source update
2026-07-28
Source checked
2026-08-04

Decision brief

What it does—and where it fits

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 th…

Best for

  • The user already generated a deck and asks to open the WebUI/editor/workbench.
  • The user provides a deckdir containing pages/pageNNN.html or root-level .html slides.
  • The user says to inspect or edit previously generated slides without regenerating them.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/OpenSenseNova/SenseNova-Skills --skill "skills/sn-ppt-workbench"
Safe inspection promptEditorial

Inspect the Agent Skill "sn-ppt-workbench" from https://github.com/OpenSenseNova/SenseNova-Skills/blob/24abfbb1eb5168027be74ecc18f2e5ac55890f5d/skills/sn-ppt-workbench/SKILL.md at commit 24abfbb1eb5168027be74ecc18f2e5ac55890f5d. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    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 and Claude Code should use ACP JSON-RPC adapters, configured with --acp-co…

    Gateway: set APISERVERKEY in .env, restart gatewayWorkbench: set WORKBENCHGATEWAYAPIKEY to same value, set HERMESGATEWAYBASEURL=http://127.0.0.1:8642If no explicit bridge key is set, the Node relay falls back to APISERVERKEY, HERMESGATEWAYAPIKEY, then backend-only AIGATEWAYAPIKEY (ppt-editor-dev by default). Prefer the explicit bridge key for custom/shared gateways.
  2. 02

    Use Cases

    The user already generated a deck and asks to open the WebUI/editor/workbench.

    The user already generated a deck and asks to open the WebUI/editor/workbench.The user provides a deckdir containing pages/pageNNN.html or root-level .html slides.The user says to inspect or edit previously generated slides without regenerating them.
  3. 03

    Hard Rules

    1. Do not run sn-ppt-entry, sn-ppt-standard, page-html, batch-page-html, or export. 2. Do not edit slide files directly. The WebUI handles user-visible editing. 3. If deckdir is missing, auto-detect the newest usable deck under: - $(pwd)/pptdecks - /Downloads/pptdecks - /Reposit…

    Do not run sn-ppt-entry, sn-ppt-standard, page-html, batch-page-html, or export.Do not edit slide files directly. The WebUI handles user-visible editing.If deckdir is missing, auto-detect the newest usable deck under:
  4. 04

    Invocation

    Use the helper directly:

    Use the helper directly:On native Windows where python3 is unavailable:If the user did not provide a deck path, let the helper auto-detect:
  5. 05

    CLI Subcommands (direct launch fallback)

    When bypassing openworkbench.py and invoking the workbench launcher directly, use subcommands:

    When bypassing openworkbench.py and invoking the workbench launcher directly, use subcommands: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 pro…

Permission review

Static risk signals and limitations

Runs scripts

medium · line 32

The documentation asks the agent to run terminal commands or scripts.

python3 $SKILL_DIR/scripts/open_workbench.py --deck-dir "<deck_dir>" --agent-session-id "${HERMES_SESSION_KEY:-}"

Runs scripts

medium · line 38

The documentation asks the agent to run terminal commands or scripts.

python $SKILL_DIR/scripts/open_workbench.py --deck-dir "<deck_dir>" --agent-session-id "%HERMES_SESSION_KEY%"

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score91/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars4,855SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
OpenSenseNova/SenseNova-Skills
Skill path
skills/sn-ppt-workbench/SKILL.md
Commit
24abfbb1eb5168027be74ecc18f2e5ac55890f5d
License
MIT
Collected
2026-08-04
Default branch
main
View the original SKILL.md

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_dir containing pages/page_NNN.html or root-level .html slides.
  • The user says to inspect or edit previously generated slides without regenerating them.

Hard Rules

  1. Do not run sn-ppt-entry, sn-ppt-standard, page-html, batch-page-html, or export.
  2. Do not edit slide files directly. The WebUI handles user-visible editing.
  3. If deck_dir is missing, auto-detect the newest usable deck under:
    • $(pwd)/ppt_decks
    • ~/Downloads/ppt_decks
    • ~/Repository/ppt_decks
  4. If no usable deck is found, ask the user for the absolute deck_dir.
  5. Workbench startup is best-effort. If it skips or fails, report the reason and do not attempt generation as a fallback.
  6. Prefer a forwarded/canvas URL over localhost when the user may be on SSH, IM, or another remote device.

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:-}"

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}"

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:

  1. SENSENOVA_PPT_WORKBENCH_CLI
  2. PPT_WORKBENCH_CLI
  3. ~/Repository/ppt-editor/src/ppt-editor/bin/sensenova-ppt-workbench.mjs
  4. ~/Repository/ppt-editor/tools/ppt-editor/bin/sensenova-ppt-workbench.mjs
  5. Legacy ~/Repository/ppt-editor/bin/sensenova-ppt-workbench.mjs
  6. Common sibling repo layouts

If the editor is not built, the helper runs npm run build in the ppt-editor repo unless --no-build is provided.

Remote URL discovery order:

  1. Explicit --public-url
  2. WORKBENCH_PUBLIC_URL, HERMES_WORKBENCH_PUBLIC_URL
  3. Hermes/canvas/forwarding env vars such as HERMES_CANVAS_URL, HERMES_PORT_FORWARD_URL, CANVAS_URL, PORT_FORWARD_URL, TUNNEL_URL
  4. Codespaces/Gitpod URL patterns
  5. 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 and Claude Code should use ACP JSON-RPC adapters, configured with --acp-command or WORKBENCH_ACP_COMMAND. 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:

VariableSet ByValue
API_SERVER_KEYGateway (.env)Shared secret
WORKBENCH_GATEWAY_API_KEYWorkbench envSame as API_SERVER_KEY; preferred explicit bridge key
HERMES_GATEWAY_BASE_URLWorkbench envhttp://127.0.0.1:8642
WORKBENCH_AGENT_PROVIDERWorkbench envhermes, openclaw, codex, claude-code, or workbuddy
WORKBENCH_AGENT_TRANSPORTWorkbench envwebui, gateway, rest, or acp
WORKBENCH_AGENT_BASE_URLWorkbench envOpenClaw/Gateway REST endpoint
WORKBENCH_AGENT_API_KEYWorkbench envREST provider bearer token
WORKBENCH_ACP_COMMANDWorkbench envACP adapter command, e.g. codex-acp

Quick steps:

  • Gateway: set API_SERVER_KEY in .env, restart gateway
  • Workbench: set WORKBENCH_GATEWAY_API_KEY to same value, set HERMES_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-only AI_GATEWAY_API_KEY (ppt-editor-dev by default). Prefer the explicit bridge key for custom/shared gateways.

Progress Echo

Always send a short progress message before and after the helper:

WhenExample
Before helper正在启动 PPT 预览工作台,不会重新生成幻灯片...
SuccessPPT 编辑工作台已启动:http://127.0.0.1:18087
Generation progress URL available生成进度工作台:http://127.0.0.1:18087/progress
Skip/failurePPT 工作台未启动:<reason>