首页龙虾技能列表 › Batch Processor 1.0.0 — 批量文档处理器

Batch Processor 1.0.0 — 批量文档处理器

v1.0.0

批量文档处理器(Batch Processor)允许您使用并行执行处理多个文档,支持文档转换、提取、转换和分析等任务,具有进度跟踪和检查点恢复功能,确保大规模文件操作的高效率和可靠性。

0· 392·0 当前·0 累计
by @leowing (Leo Wing)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/11
安全扫描
VirusTotal
可疑
查看报告
OpenClaw
安全
high confidence
该技能的要求和指令与批量文档处理助手一致,没有不合理或与其声明目的无关的请求。
评估建议
此技能看起来适合批量文档处理。安装或运行前:(1)在虚拟环境中运行 pip 安装并添加 tqdm 以显示进度条;(2)确保赋予该技能的代理/进程仅具有必要的文件系统访问权限(它将读取输入文件并在工作目录中创建 checkpoint.json);(3)验证或扫描输入文件(恶意文档可以利用处理器);(4)如果计划自动运行,限制代理的文件路径范围以防止意外文件访问。如果需要更强的保证,请要求作者提供明确的输入验证和最小依赖项列表。...
详细分析 ▾
用途与能力
The name/description (bulk document processing) matches the SKILL.md contents: design patterns, Python code examples using concurrent.futures, checkpointing, and suggested document libraries. The listed pip packages (python-docx, openpyxl, python-pptx, reportlab, jinja2) are relevant for converting and manipulating office files and PDFs.
指令范围
Instructions stick to processing user-provided files, progress tracking, and checkpointing. The examples read and write files within the working directory (e.g., checkpoint.json) which is expected for a batch processor. There are no instructions to exfiltrate data, call unrelated external services, or access system credentials. A minor note: the prose allows the agent discretion ('I'll execute the appropriate operations')—this is normal for instruction skills but means the agent will need permission to run file operations and code execution.
安装机制
This is an instruction-only skill (no install spec). The SKILL.md suggests installing Python packages via pip, which is proportionate. Minor inconsistency: the examples use tqdm for progress bars but tqdm is not included in the pip install command—add it if you expect CLI progress bars. No downloads from unknown hosts or archive extraction are present.
凭证需求
The skill requests no environment variables, credentials, or config paths. The only file artifact is a local checkpoint (checkpoint.json) created in the working directory — this is appropriate for resume-safe batch jobs.
持久化与权限
always is false and the skill does not request permanent presence or elevated privileges. It writes/reads its own checkpoint file but does not modify other skills or system-wide settings.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/3/3

批量处理器技能的初始版本发布:- 启用具有并行执行的文档批量处理,适用于转换、提取和转换等任务;- 支持进度跟踪和检查点恢复,实现易于错误恢复和安全恢复操作;- 提供示例 Python 实现,包括可靠性和高效性的最佳实践;- 与 Claude Sonnet 4 和 Opus 4 模型兼容,使用文件、代码执行和基本计算机工具;- 包括安装指南和资源链接。

● 可疑

安装命令 点击复制

官方npx clawhub@latest install batch-processor-1-0-0
镜像加速npx clawhub@latest install batch-processor-1-0-0 --registry https://cn.clawhub-mirror.com

技能文档

批量处理器技能

概述

此技能使您能够高效地批量处理文档 - 转换、转换、提取或分析数百个文件,使用并行执行和进度跟踪。

使用方法

  • 描述您想要完成的任务
  • 提供任何所需的输入数据或文件
  • 我将执行适当的操作
示例提示:
  • "将 100 个 PDF 转换为 Word 文档"
  • "从文件夹中的所有图像中提取文本"
  • "批量重命名和组织文件"
  • "大规模更新文档头部/脚部"

域知识

批量处理模式

``输入:[文件1, 文件2, ..., 文件N]│ ▼ ┌─────────────┐│ 并行 │ ← 并发处理多个文件│ 工作器 │ └─────────────┘│ ▼ 输出:[结果1, 结果2, ..., 结果N]
### Python 实现
python # ... (保持原代码不变)
### 错误处理与恢复
python # ... (保持原代码不变)
## 最佳实践
  • 使用进度条(tqdm)提供用户反馈
  • 实现检查点恢复以处理长时间任务
  • 设置合理的工作线程数(CPU 核)
  • 记录失败以便后续审查

安装

bash # 安装所需依赖项 pip install python-docx openpyxl python-pptx reportlab jinja2
``

资源

数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务