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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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_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:
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.
Độ 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
Bình luận
- …
Thêm skill từ kho mã này
sn-code-video
6.0kDạy agent của bạn làm video chạy bằng code với Canvas, SVG, Three.js hoặc Remotion, kiểm tra từng khung hình và xuất ra MP4.
sn-image-base
6.0kCung cấp cho các skill khác những công cụ cấp thấp để tạo ảnh, nhận diện nội dung hình ảnh và tối ưu văn bản bằng dịch vụ SenseNova.
sn-image-doctor
6.0kKiểm tra cài đặt SenseNova-Skills đã được cài, có các gói Python và khóa API cần thiết hay chưa, rồi lưu các khóa còn thiếu vào một file.
sn-image-imitate
6.0kGiúp agent của bạn tạo một ảnh mới sao chép phong cách của ảnh tham khảo, trong khi đổi nội dung cho khớp với yêu cầu của bạn.
Skill tương tự
feishu-doc
394kGiúp agent của bạn đọc, tạo và sửa tài liệu đám mây Feishu, gồm văn bản, hình ảnh và bảng, bằng công cụ tài liệu.
feishu-drive
394kCho phép agent của bạn duyệt, sắp xếp và bình luận các file trong một thư mục đám mây Feishu đã được chia sẻ với bot.
feishu-perm
394kGiúp agent của bạn kiểm tra và thay đổi ai có quyền truy cập một file Feishu, chọn quyền nhỏ nhất đáp ứng yêu cầu của bạn.