Office Automation

v1.1.0

科特船长 - 办公自动化脚本,Excel/Word/文件批量处理

1· 1.5k·5 current·5 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Pending
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
Name/description (office automation: Excel/Word/PDF/rename/email) align with the included Python script which implements Excel merge, PDF merge, Word replace, and file rename. However SKILL.md advertises additional operations (email-send, excel-split, pdf-split, word-batch) and example CLI flags that do not clearly match the functions visible in the provided code excerpt — this mismatch should be verified (the file was truncated in the listing). No unrelated credentials or cloud services are requested.
Instruction Scope
Runtime instructions in SKILL.md direct the agent to operate on local files/folders and provide CLI examples; the Python code likewise scans local directories, reads/writes files, and writes local reports. There are no instructions or code paths shown that read unrelated system config, environment secrets, or send data to external endpoints. Note: SKILL.md includes an 'email-send' example that would imply network/email access; that functionality was not obvious in the visible code and should be confirmed before running.
Install Mechanism
No install spec is present (instruction-only at registry level). The skill requires only python3 on PATH; runtime optional Python packages (pandas, openpyxl, pypdf, python-docx) are imported if available and instructions tell users how to pip-install them. There are no downloads/archives or third‑party install URLs in the package.
Credentials
The skill declares no required environment variables, credentials, or config paths. SKILL.md and the script accept local config/file paths (e.g., --config for email) but do not demand secrets from the environment. This is proportionate to the stated file-processing purpose.
Persistence & Privilege
always is false and the skill is user-invocable with normal autonomous invocation allowed. The skill does not request persistent system-wide privileges or modify other skills. This level of persistence and privilege is appropriate for a local utility script.
Assessment
This package looks coherent for local office-file tasks, but before installing or running it: 1) Verify whether the email-send and other operations advertised in SKILL.md are actually implemented (the provided Python file listing was truncated and the examples don't exactly match visible function names). 2) Run it on sample/test directories first and back up real files before bulk rename/replace or merge operations. 3) Review the full office_automation.py for any network/email-sending code (if you intend to use email-send) and inspect any email-config files for secrets. 4) Install required Python packages in a virtualenv to avoid affecting system Python. If you want, I can scan the entire office_automation.py (complete file) for any hidden network calls or behavior not shown in the excerpt.

Like a lobster shell, security has layers — review code before you run it.

latestvk9737p441jacs6nyjgssq9fgps838v5a

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

🤖 Clawdis
Binspython3

SKILL.md

办公自动化脚本 - 科特船长版

功能说明

提供常用办公自动化脚本,包括:

  • Excel 自动汇总
  • Word 批量处理
  • 文件批量重命名
  • PDF 合并/拆分
  • 邮件自动发送

使用场景

财务/会计

  • 多表格自动汇总
  • 发票数据提取
  • 银行流水整理

HR/行政

  • 员工信息整理
  • 考勤数据汇总
  • 合同批量处理

销售/运营

  • 客户信息整理
  • 订单数据汇总
  • 报表自动生成

通用场景

  • 文件批量重命名
  • 文件夹整理
  • 数据格式转换

使用方法

# Excel 汇总
clawhub run ke-office-automation --action excel-merge --input ./data/ --output ./merged.xlsx

# Word 批量处理
clawhub run ke-office-automation --action word-batch --input ./docs/ --action-type replace --old "旧文本" --new "新文本"

# 文件批量重命名
clawhub run ke-office-automation --action rename --input ./files/ --pattern "{date}_{original}"

# PDF 合并
clawhub run ke-office-automation --action pdf-merge --input ./pdfs/ --output ./merged.pdf

# 邮件自动发送
clawhub run ke-office-automation --action email-send --config ./email-config.json --data ./recipients.xlsx

参数说明

参数说明必填
--action操作类型
--input输入文件/文件夹路径
--output输出文件路径条件必填
--pattern重命名模式条件必填
--config配置文件路径条件必填

可用操作

操作说明适用场景
excel-merge合并多个 Excel 文件多表格汇总
excel-split拆分 Excel 文件数据分发
word-batchWord 批量处理合同/通知批量修改
rename文件批量重命名文件整理
pdf-mergePDF 合并报告合并
pdf-splitPDF 拆分报告拆分
email-send邮件批量发送通知/营销

定制服务

需要定制自动化脚本?

服务类型

  • 简单脚本: ¥500-1000(单一功能)
  • 中等复杂: ¥1000-3000(多步骤)
  • 系统级: ¥3000+(完整流程)

典型案例

  • 财务日报自动生成:¥1500
  • 客户信息自动整理:¥1200
  • 合同批量处理:¥2000
  • 邮件营销自动化:¥1800

服务流程

  1. 需求沟通(免费)
  2. 方案确认
  3. 开发测试(1-3 天)
  4. 交付培训
  5. 售后支持(30 天免费)

联系:私信获取报价

免费资源

提供以下免费脚本模板:

  • Excel 汇总脚本
  • 文件重命名脚本
  • PDF 合并脚本

GitHub: 待开源

常见问题

Q: 需要编程基础吗? A: 不需要,按说明使用即可。

Q: 支持 Mac/Windows 吗? A: 都支持,需要安装 Python 3.8+

Q: 数据安全吗? A: 所有处理在本地完成,数据不会上传。


作者: 科特船长 更多技能: https://clawhub.ai/@xiaoheizp 定制咨询: 私信获取报价

Files

5 total
Select a file
Select a file to preview.

Comments

Loading comments…