← 返回 Skills 市场
kyro-ma

Office Open XML Automation Helper

作者 Kyro · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
44
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install excel-xlsx-formula-cleanup-helper-2-180322
功能描述
Build and troubleshoot cross-Office automation pipelines that move content between Word, Excel, and PowerPoint using Open XML, VBA, python-docx, openpyxl, py...
使用说明 (SKILL.md)

Office Open XML Automation Helper

Use this skill when the task crosses Office file types: extract Word tables into Excel, turn Excel results into PowerPoint slides, populate Word reports from spreadsheets, batch-convert Office files, or coordinate DOCX/XLSX/PPTX templates.

Workflow

  1. Define the pipeline: source files, destination files, templates, generated artifacts, batch size, and success criteria.
  2. Classify each operation:
    • DOCX text, tables, styles, comments, headers, content controls.
    • XLSX worksheets, tables, formulas, named ranges, charts, pivots, macros.
    • PPTX slide masters, layouts, placeholders, charts, media, speaker notes.
  3. Preserve source packages. Work on copies and keep an audit trail of inputs, outputs, and record IDs.
  4. Choose the safest layer for each step:
    • python-docx for supported Word document content.
    • openpyxl for supported Excel workbook structure.
    • python-pptx for supported slide content and basic charts.
    • Direct Open XML edits for relationships, unsupported features, and preserving package parts.
    • VBA or Office desktop automation only when live Office behavior is required, such as field updates, Power Query refresh, PDF export, or chart rendering fidelity.
  5. Keep data transformations separate from document rendering. Normalize data first, then populate templates.
  6. Validate each artifact independently, then validate the whole chain.

Design Rules

  • Do not use plain string replacement inside zipped Office XML unless escaping, run boundaries, relationships, and namespaces are understood.
  • Preserve relationship IDs and content types when copying media, charts, embedded workbooks, or custom XML parts.
  • Avoid saving .xlsm or macro-enabled packages through a library path that strips macros.
  • Prefer named ranges, content controls, placeholders, and template fields over positional guesses.
  • Log generated filenames, input records, warnings, skipped records, and validation totals.

Validation

Check:

  • DOCX page structure, styles, headers/footers, tables, fields, comments, and tracked changes.
  • XLSX formulas, named ranges, tables, charts, macros, hidden sheets, and recalculation requirements.
  • PPTX slide count, layout assignment, placeholders, charts, media, theme fonts/colors, and notes.
  • Batch totals and file-open sanity for every generated output.

Output

Provide a pipeline design, implementation steps or scripts, validation checklist, and any Office desktop steps that cannot be performed locally.

Read references/requirement-plan.md only when the original discovery evidence is needed.

安全使用建议
This skill is reasonable to install if you want help designing Office document automation workflows. Review generated scripts before running them on real Office files, keep backups, and be careful with macro-enabled workbooks or desktop Office automation because those actions can modify local documents.
能力评估
Purpose & Capability
The skill provides guidance for DOCX, XLSX, and PPTX workflows, including library selection, preservation of Office package relationships, validation, and working on copies; it contains no executable automation itself.
Instruction Scope
The agent policy enables implicit invocation, but the skill text and default prompt scope use to cross-Office automation tasks, so this is a routing caution rather than a material security concern.
Install Mechanism
Artifacts are limited to Markdown and YAML files; there are no scripts, binaries, package installs, hooks, or runtime setup steps.
Credentials
The guidance may involve local Office documents, macros, VBA, or desktop Office automation when a user task requires them, and those capabilities are disclosed and purpose-aligned.
Persistence & Privilege
No background workers, persistence mechanisms, credential access, privilege escalation, network calls, or broad indexing behavior are present.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install excel-xlsx-formula-cleanup-helper-2-180322
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /excel-xlsx-formula-cleanup-helper-2-180322 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release with focus on cross-Office document automation: - Enables coordinated workflows moving content between Word (DOCX), Excel (XLSX), and PowerPoint (PPTX), using Open XML, VBA, and popular Python libraries. - Provides step-by-step pipeline and validation guidance for batch conversions, template-based workflows, and automation tasks. - Emphasizes safe handling of Office file internals, maintaining relationships and formatting. - Includes best practices for data transformation, document rendering, and audit trails. - Outlines validation criteria for each Office file type to ensure quality and accuracy.
元数据
Slug excel-xlsx-formula-cleanup-helper-2-180322
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Office Open XML Automation Helper 是什么?

Build and troubleshoot cross-Office automation pipelines that move content between Word, Excel, and PowerPoint using Open XML, VBA, python-docx, openpyxl, py... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 44 次。

如何安装 Office Open XML Automation Helper?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install excel-xlsx-formula-cleanup-helper-2-180322」即可一键安装,无需额外配置。

Office Open XML Automation Helper 是免费的吗?

是的,Office Open XML Automation Helper 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Office Open XML Automation Helper 支持哪些平台?

Office Open XML Automation Helper 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Office Open XML Automation Helper?

由 Kyro(@kyro-ma)开发并维护,当前版本 v0.1.0。

💬 留言讨论