← 返回 Skills 市场
kyro-ma

Excel XLSX Formula Cleanup

作者 Kyro · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
45
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install excel-xlsx-formula-cleanup-helper-180322
功能描述
Diagnose and fix Microsoft Excel XLSX workbook issues involving formulas, named ranges, Power Query refreshes, pivot tables, VBA/macro preservation, workbook...
使用说明 (SKILL.md)

Excel XLSX Formula Cleanup

Use this skill for spreadsheet repair and automation tasks where correctness matters more than simply rewriting cells. Treat an .xlsx workbook as a structured package with formulas, styles, relationships, cached values, tables, queries, pivots, and sometimes macros.

Workflow

  1. Clarify the workbook goal: fix broken formulas, clean imported data, preserve macros, refresh reporting logic, repair corruption, or generate a reusable workflow.
  2. Protect the workbook. Work on a copy and avoid destructive recalculation or macro removal unless requested.
  3. Choose the right inspection path:
    • Use openpyxl for formulas, worksheets, styles, dimensions, tables, data validation, conditional formatting, and charts it supports.
    • Treat .xlsm files carefully; preserve the VBA project with library support or package-level copying.
    • Inspect ZIP/OOXML parts for workbook relationships, external links, pivot caches, slicers, Power Query metadata, and unsupported structures.
  4. Map each problem to a workbook layer: formula text, named range, table reference, external link, query connection, pivot cache, style, merged cell, or hidden sheet.
  5. Make minimal repairs and keep formulas as formulas. Do not replace formulas with stale cached values unless the user asks for a static export.
  6. Validate formulas and shape:
    • Confirm worksheet names, table names, named ranges, and formulas still point to valid ranges.
    • Check row/column counts, date and number formats, hidden sheets, filters, and merged cells.
    • Note when a desktop Excel recalculation or Power Query refresh is still required.

Common Fix Patterns

  • Broken formulas: trace sheet names, structured references, named ranges, separators, and external workbook links before editing formula strings.
  • Power Query refresh issues: inspect connection definitions and query metadata; explain which parts require Excel desktop or Power BI tooling.
  • Pivot table drift: preserve pivot caches where possible and warn when Python libraries cannot safely rebuild them.
  • VBA preservation: keep .xlsm package parts intact; never save through a path that drops macros unless producing a macro-free copy is the goal.
  • Data cleanup: normalize values in staging sheets or tables, then keep reporting formulas and dashboards stable.

Outputs

Provide:

  • A workbook diagnosis tied to specific sheets, ranges, formulas, or package parts.
  • A safe repair or automation plan, plus code changes when requested.
  • A validation checklist covering formulas, ranges, tables, pivots, macros, and expected recalculation.

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

安全使用建议
Install only if you want Codex help with Excel workbook repair or automation. Because spreadsheets can contain sensitive business data, use it on copies of workbooks, review proposed edits before applying them, and invoke it explicitly for workbook-specific tasks rather than general spreadsheet questions.
能力评估
Purpose & Capability
The skill's stated purpose and runtime instructions align around diagnosing and safely repairing Excel XLSX/XLSM workbook issues involving formulas, Power Query, pivots, named ranges, and macro preservation.
Instruction Scope
Some trigger examples and keywords are broad or awkward, and implicit invocation is enabled, but the operative instructions are Excel-workbook scoped and include safeguards like working on a copy and avoiding destructive changes unless requested.
Install Mechanism
The artifact contains markdown and YAML instructions only; no install script, executable payload, package dependency, or post-install behavior is present.
Credentials
Suggested tooling such as openpyxl and OOXML inspection is proportionate to the Excel repair purpose; there is no request for credentials, broad local indexing, network access, or unrelated system access.
Persistence & Privilege
No background process, persistence mechanism, privilege escalation, credential store access, or automatic long-running agent behavior is described.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install excel-xlsx-formula-cleanup-helper-180322
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /excel-xlsx-formula-cleanup-helper-180322 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of Excel XLSX Formula Cleanup Helper skill: - Diagnose and repair Excel workbook issues related to formulas, named ranges, Power Query, pivots, and VBA/macro preservation. - Emphasizes minimally invasive fixes that retain formulas, workbook structure, formatting, and business logic. - Provides clear workflow steps for safe inspection, problem mapping, repair, and validation. - Outlines typical fix patterns for common issues like broken formulas, Power Query refresh failures, pivot table drift, and macro handling. - Supplies actionable outputs: specific diagnoses, safe repair plans, code samples, and validation checklists.
元数据
Slug excel-xlsx-formula-cleanup-helper-180322
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Excel XLSX Formula Cleanup 是什么?

Diagnose and fix Microsoft Excel XLSX workbook issues involving formulas, named ranges, Power Query refreshes, pivot tables, VBA/macro preservation, workbook... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 45 次。

如何安装 Excel XLSX Formula Cleanup?

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

Excel XLSX Formula Cleanup 是免费的吗?

是的,Excel XLSX Formula Cleanup 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Excel XLSX Formula Cleanup 支持哪些平台?

Excel XLSX Formula Cleanup 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Excel XLSX Formula Cleanup?

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

💬 留言讨论