Agent skill · bighardperson

minimax-xlsx

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.

What it needs

About 5k tokens when loaded.

What this skill does

MiniMax XLSX Skill Handle the request directly. Do NOT spawn sub-agents. Always write the output file the user requests. Task Routing Task Method Guide ------ -------- ------- READ — analyze existing data xlsxreader.py + pandas references/read-analyze.md CREATE — new xlsx from scratch XML template references/create.md + references/format.md EDIT — modify existing xlsx XML unpack→edit→pack references/edit.md (+ format.md if styling needed) FIX — repair broken formulas in existing xlsx XML unpack→fix <f> nodes→pack references/fix.md VALIDATE — check formulas formulacheck.py references/validate.md READ — Analyze data (read references/read-analyze.md first) Start with xlsxreader.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/minimalxlsx/ → edit XML directly → pack with xlsxpack.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) CRITICAL — EDIT INTEGRITY RULES: 1. NEVER create a new Workbook() for edit tasks. Always load the original file. 2. The output MUST contain the same sheets as the input (same names, same data). 3. Only modify the specific cells the task asks for — everything else must be untouched. 4. After saving output.xlsx, verify it: open with xlsxreader.py or pandas and confirm the original sheet names and a sample of original data are present. If verification fails, you wrote the wrong file — fix it before delivering. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills bighardperson/Excel 文件处理

View the source on GitHub

Browse the @skills marketplace