minimax-xlsx

Edit and validate Excel XML workbooks while preserving formulas and references without openpyxl.

13.3k|1.1k|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/MiniMax-AI/skills --skill minimax-xlsx-minimax-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minimax-xlsx
Source: https://github.com/MiniMax-AI/skills/tree/main/skills/minimax-xlsx
Command: npx skills add https://github.com/MiniMax-AI/skills --skill minimax-xlsx-minimax-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Open, edit, and validate Excel workbooks programmatically using a robust XML-based workflow.

Core Features & Use Cases

  • XML-based editing of xlsx files without openpyxl; preserves formulas, references, and structure.
  • Unpack/pack workflow using xlsx_unpack.py, xlsx_pack.py, and formula_check.py to maintain integrity and enable deterministic edits.
  • Validate and troubleshoot cross-sheet references, shared formulas, and pivot-table interactions with a built-in safety net before delivering a final file.

Quick Start

Unpack a workbook with xlsx_unpack.py, edit the XML directly, then pack with xlsx_pack.py and validate with formula_check.py.

Frequently Asked Questions about minimax-xlsx

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

FAQPage Schema
How do I edit Excel xlsx files programmatically without openpyxl?

You can edit Excel xlsx files without openpyxl by unpacking the workbook into its underlying XML components, modifying the XML directly, and packing it back into a valid file. This approach preserves formulas, references, and formatting safely.

What is the best way to validate cross-sheet references and formulas in an Excel workbook?

Validating cross-sheet references and formulas in an Excel workbook is best handled by running a final validation pass using a dedicated formula checking script. This confirms zero static errors and ensures shared formulas and pivot-table interactions are correct.

How does XML-based Excel workbook editing maintain formulas and formatting?

XML-based Excel workbook editing maintains formulas and formatting by directly manipulating the unpacked XML structure inside the xlsx file. This deterministic method ensures that derived values and cross-sheet references remain intact during the unpack, edit, and pack workflow.

Can I use pandas to calculate and validate financial models in xlsx files?

You can use pandas alongside XML-based editing to analyze and validate financial models in xlsx files. The workflow ensures every derived value uses Excel formulas, and a final validation pass confirms that cross-sheet references and pivots contain zero static errors.

Does editing xlsx XML directly work for complex files with pivots and shared formulas?

Editing xlsx XML directly works for complex files containing pivots and shared formulas by unpacking the archive, modifying the specific XML elements, and packing the file. A built-in safety net validates the interactions before delivering the final workbook.