# /minimax-xlsx: Edit Excel files without breaking formulas or formatting

Source: https://trendhub.net/skills/minimax-ai-skills/minimax-xlsx
Skill folder: https://github.com/MiniMax-AI/skills/tree/main/skills/minimax-xlsx
Pack: MiniMax Skills (https://trendhub.net/skills/minimax-ai-skills)
Works with: Claude Code, Cursor, Codex, OpenCode

minimax-xlsx routes every spreadsheet request into reading, creating, editing, fixing or validating, and handles each through scripts rather than a fresh workbook. Existing files are unpacked to XML, changed in place and repacked, so pivots, VBA and styles survive. Calculated cells stay as live Excel formulas, and a formula check runs before delivery.

## When to use it

- You need to add a column, insert a row or fill formulas in a workbook someone else built.
- You want a new financial model where every derived value is a real formula.
- You need to analyse an xlsx or csv file without risking changes to the source.

## How it works

1. **Route the task**: The agent decides whether the job is read, create, edit, fix or validate and opens the matching reference file.
2. **Read safely**: For analysis it maps the structure with the reader script, then uses pandas on the original file without modifying it.
3. **Edit through XML**: For changes it unpacks the workbook, uses helper scripts for rows and columns, locates rows by their label text and repacks.
4. **Keep formulas live**: Every computed cell is written as an Excel formula, with blue inputs, black formulas and green cross-sheet links.
5. **Validate and verify**: It runs the formula checker and confirms the output still has the original sheets and data before handing it over.

## What it steers the agent away from

- Rebuilding an existing workbook from scratch for an edit request.
- Round-tripping files through openpyxl, which can drop VBA, pivots or sparklines.
- Hardcoding computed numbers where a formula belongs.

## What it can touch

Reads and writes spreadsheet files in your working folder, unpacks them to a temporary directory and runs the bundled Python scripts, plus LibreOffice for recalculation when available.

## Pairs well with

- `/minimax-docx`
- `/minimax-pdf`

## Questions

### Which file types does it handle?

Excel .xlsx and .xlsm files and plain .csv or .tsv data.

### Does it spawn subagents?

No. The skill tells the agent to handle the request directly and always write the requested output file.
