Skills

Minimax XLSX

Open, create, read, analyze, edit, or validate Excel/spreadsheet files (.xlsx, .xlsm...

Install

npx skills add MiniMax-AI/skills --skill minimax-xlsx -g -a claude-code -y
Repository
MiniMax-AI/skills13.8k
Category
Documents
Updated
7mo ago
License
MIT
Context cost
Mediumabout 1,875 tokens
Runs scripts
Yes, review before use

What it does

Open, create, read, analyze, edit, or validate Excel/spreadsheet files (.xlsx, .xlsm, .csv, .tsv). Use when the user asks to create, build, modify, analyze, read, validate, or format any Excel spreadsheet, financial model, pivot table, or tabular data file. Covers: creating new xlsx from scratch, reading and analyzing existing files, editing existing xlsx with zero format loss, formula recalculation and validation, and applying professional financial formatting standards. Triggers on 'spreadsheet', 'Excel', '.xlsx', '.csv', 'pivot table', 'financial model', 'formula', or any request to produce tabular data in Excel format.

MiniMax XLSX Skill

Handle the request directly. Do NOT spawn sub-agents. Always write the output file the user requests.

Task Routing

TaskMethodGuide
READ, analyze existing dataxlsx_reader.py + pandasreferences/read-analyze.md
CREATE, new xlsx from scratchXML templatereferences/create.md + references/format.md
EDIT, modify existing xlsxXML unpack→edit→packreferences/edit.md (+ format.md if styling needed)
FIX, repair broken formulas in existing xlsxXML unpack→fix <f> nodes→packreferences/fix.md
VALIDATE, check formulasformula_check.pyreferences/validate.md

READ, Analyze data (read references/read-analyze.md first)

Start with xlsx_reader.py for structure discovery, then pandas for custom analysis. Never modify the source file.

Formatting rule: When the user specifies decimal places (e.g. "2 decimal places"), apply that format to ALL numeric values, use f'{v:.2f}' on every number. Never output 12875 when 12875.00 is required.

Aggregation rule: Always compute sums/means/counts directly from the DataFrame column, e.g. df['Revenue'].sum(). Never re-derive column values before aggregation.

CREATE, XML template (read references/create.md + references/format.md)

Copy templates/minimal_xlsx/ → edit XML directly → pack with xlsx_pack.py. Every derived value MUST be an Excel formula (<f>SUM(B2:B9)</f>), never a hardcoded number. Apply font colors per format.md.

EDIT, XML direct-edit (read references/edit.md first)

Read the whole SKILL.md on GitHub

More in Documents