360 Secure SkillHub
360 安全技能中心

Ppt Task Orchestrator

面向客户 PPT 工作流的编排层:优先按结构化字段把 pptx 解析为逐页任务,字段缺失时回退 OCR;再将页面任务转换为批量图像处理任务执行,单点失败按回滚策略恢复,最终汇总结果目录与图片压缩包作为交付产物。

分类:自动化
dhrxy
dhrxy
热度 20.11
最近更新 2026-05-11 17:36:23

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add dhrxy/ppt-task-orchestrator
兼容性
通用兼容
联网要求
联网要求未确认
数据出网
数据出网未确认
Metadata
name
ppt-task-orchestrator
description
Production orchestration for pptx page task extraction and batch image delivery by reusing main-image-editor + psd-automator.
command-dispatch
tool
command-tool
ppt_task_orchestrator
command-arg-mode
raw
metadata
{"openclaw":{"userInvocable":true,"commandDispatch":"tool","commandTool":"ppt_task_orchestrator","commandArgMode":"raw"}}

ppt-task-orchestrator

Orchestration layer for customer PPT workflows:

  1. Parse pptx into per-page tasks (structured fields first).
  2. Fallback to OCR for pages missing required fields.
  3. Convert page tasks into main-image-editor batch tasks.
  4. Execute with transaction rollback by reusing main-image-editor and psd-automator.
  5. Aggregate delivery artifacts: result directory + all-images.zip.

Usage

node skills/ppt-task-orchestrator/scripts/run-ppt-task-orchestrator.js \
  --request skills/ppt-task-orchestrator/examples/request.sample.json \
  --index ~/.openclaw/psd-index.json

Dry-run:

node skills/ppt-task-orchestrator/scripts/run-ppt-task-orchestrator.js \
  --request skills/ppt-task-orchestrator/examples/request.sample.json \
  --dry-run

Request payload

request JSON supports:

  • pptPath: absolute or ~/ path to .pptx file (required)
  • requestId: optional tracking id
  • confidenceThreshold: low-confidence gate threshold (default 0.8)
  • fallbackPolicy: structured_only or structured_first_with_ocr (default)
  • execution: dryRun, force, indexPath, bundleZip
  • delivery: outputDir, zipName, copySelectedOnly

Failure policy

  • Default policy is rollback_all inherited from main-image-editor.
  • Any single PSD failure restores all touched PSD files from transaction backups.
  • Delivery artifacts are produced only for success/dry-run outputs.