Chuyển đến nội dung
Skillpedia
PDF, Word và slide6.0k · #14466

sn-ppt-workbench

Skill này làm gì

Skill này mở một bài thuyết trình HTML đã hoàn thành trong trình chỉnh sửa trực quan để bạn xem và thay đổi. Skill dành cho người đã có bộ slide và muốn chỉnh sửa mà không cần tạo lại.

Khi nào nên dùng

  • ✓Khi bạn có một bộ slide HTML và muốn xem trước hoặc chỉnh sửa trên trình duyệt.
  • ✓Khi bạn muốn mở bộ slide mới nhất trong không gian làm việc hiện tại.
  • ✓Khi bạn làm việc từ xa và cần một liên kết được chuyển tiếp đến trình chỉnh sửa.

Liên kết skill

https://github.com/OpenSenseNova/SenseNova-Skills/blob/main/skills/sn-ppt-workbench/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/OpenSenseNova/SenseNova-Skills/blob/main/skills/sn-ppt-workbench/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Mở bộ slide mới nhất trong không gian làm việc của tôi trong trình chỉnh sửa để tôi xem lại.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent tìm thư mục bộ slide, khởi động hoặc tái sử dụng ứng dụng web chỉnh sửa, rồi đưa cho bạn một liên kết. Agent không tạo lại slide hay chỉnh sửa file trực tiếp.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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 task_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

  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 only under $(pwd)/ppt_decks. Other roots are considered only when the caller explicitly passes --search-root; never scan home folders by default.
  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.
  7. When launched from the unified PPT flow, use the exact absolute task_pack.deck_dir; opening the Workbench must not create or switch tasks.
  8. Treat task_pack.json as progress/resume state and outline.md as 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:


Câu hỏi thường gặp

Skill có tạo lại slide của tôi không?

Không. Skill chỉ mở bộ slide để xem và chỉnh sửa trực quan.

Skill tìm bộ slide của tôi bằng cách nào?

Nếu không có thư mục nào được nêu, skill tìm trong thư mục ppt_decks của không gian làm việc hiện tại.

Nếu trình chỉnh sửa không khởi động được thì sao?

Skill báo lý do và không thử tạo một bộ slide mới thay thế.

Chi tiết

Mô tả gốc của tác giả

Use when the user asks to open, preview, inspect, or visually edit an existing SenseNova HTML presentation in the PPT Workbench, using an explicit deck_dir or the latest deck in the current workspace.

repo: OpenSenseNova/SenseNova-Skills

Độ phổ biến

Sao GitHub
6.0k
Vị trí xếp hạng
#14466
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự