360 Secure SkillHub
360 安全技能中心

Ppt Task Orchestrator

核心功能:解析PPT为单页任务,优先结构化提取,低置信度时自动OCR兜底;转换为批量图片处理任务,复用主图片编辑器与PSD自动化工具执行,支持事务回滚;完成后交付结果目录与图片压缩包。典型场景:客户PPT批量图片加工工作流。输入为含PPT路径等参数的JSON请求,支持命令行调用及干运行模式;失败时回滚所有操作,仅成功/干运行时生成交付物。

dhrxy
dhrxy
热度 45.67
最近更新 2026-05-11 17:36:23
分类:自动化依赖:MCP 服务 / 读写文件应用场景:工作流 / 文件转换

安装技能

复制下面的话术发给你的 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.