minimax-xlsx

Edit Excel workbooks via direct OOXML XML manipulation with validation.

8|1|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/Tugoukezhang/workbuddy-skills --skill minimax-xlsx-tugoukezhang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minimax-xlsx
Source: https://github.com/Tugoukezhang/workbuddy-skills/tree/main/skills/Excel%20%E6%96%87%E4%BB%B6%E5%A4%84%E7%90%86
Command: npx skills add https://github.com/Tugoukezhang/workbuddy-skills --skill minimax-xlsx-tugoukezhang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables reliable editing and validation of complex Excel workbooks by performing direct OOXML (XML) manipulations instead of relying on higher-level libraries, preserving advanced features and data integrity.

Core Features & Use Cases

  • XML-based create/read/edit/validate workflows for Excel workbooks (.xlsx, .xlsm) and related formats.
  • Deterministic packing, validation, and safety checks to prevent data loss when applying structural changes such as formulas, cross-sheet references, merges, and charts.
  • Use Case: Large financial models or data pipelines where teams need reproducible edits without triggering macro loss or format corruption.

Quick Start

Unpack a workbook, edit the XML with the included scripts, then pack and validate the result.

Frequently Asked Questions about minimax-xlsx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I edit xlsx formulas and cross-sheet references without corrupting the workbook?

To edit xlsx formulas and cross-sheet references without corruption, use a pure-XML editing workflow that manipulates OOXML directly, ensuring deterministic packing and validation to preserve workbook integrity and prevent data loss.

What is OOXML XML editing for spreadsheet validation?

OOXML XML editing for spreadsheet validation is the process of directly manipulating the underlying XML structure of .xlsx files to enforce workbook constraints, ensuring formula accuracy, valid references, and safe file opening without relying on libraries that rewrite the entire file.

Can I use pandas to modify xlsx files and preserve existing charts and styling?

While pandas can read and write xlsx data, it often rewrites the entire file and can lose charts, styling, or macros. A pure-XML editing workflow preserves these advanced features by manipulating the OOXML structure directly.

How do I validate an Excel workbook to ensure formulas and references remain valid?

Validating an Excel workbook involves applying deterministic OOXML constraint checks after editing, ensuring every computed value uses formulas, cross-sheet references remain valid, and the final .xlsx file can be opened safely without data loss.

Does this approach support creating and editing xlsm files with macros?

Yes, the pure-XML editing workflow supports create, read, edit, and validate tasks for .xlsm files, applying deterministic safety checks to prevent macro loss or format corruption when applying structural changes.

When should I avoid using high-level libraries for Excel workbook manipulation?

You should avoid high-level libraries for Excel workbook manipulation when working with large financial models or data pipelines that require reproducible edits, as these libraries often rewrite the entire file and trigger macro loss, format corruption, or broken cross-sheet references.