360 Secure SkillHub
360 安全技能中心

Ppt Task Orchestrator

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

dhrxy
dhrxy
热度 45.66
最近更新 2026-05-11 17:36:23
分类:自动化依赖:代码执行 / 读写文件应用场景:工作流 / 文件转换 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add 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.