MiniMax spreadsheet production system. Engage for any task that involves tabular data, numeric analysis, or spreadsheet generation. Supports XLSX/XLSM/CSV th...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install minimax-xlsx或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install minimax-xlsx⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/minimax-xlsx/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: minimax-xlsx description: "MiniMax spreadsheet production system. Engage for any task that involves tabular data, numeric analysis, or spreadsheet generation. Supports XLSX/XLSM/CSV through Python 3 (openpyxl + pandas) for workbook construction, formula recalculation via recalc.py (LibreOffice headless), and the MiniMaxXlsx CLI (C#/.NET) for structural validation, formula auditing, and pivot table synthesis." ---
Workbook construction — Python 3 via the ipython tool: openpyxl (creation, styling, formulas) + pandas (data wrangling).
Formula recalculation — recalc.py via the shell tool: invokes LibreOffice in headless mode to compute all formula values, then scans for error tokens and returns a JSON report. openpyxl writes formula text (e.g., =SUM(A1:A10)) but does NOT compute results — this script fills that gap.
python ./scripts/recalc.py output.xlsx [timeout_seconds]
wb.save() and BEFORE recalc, whenever the file has formulasClean output:
{"status": "success", "total_errors": 0, "total_formulas": 42, "error_summary": {}}
Error output:
{"status": "errors_found", "total_errors": 2, "total_formulas": 42, "error_summary": {"#REF!": {"count": 2, "locations": ["Sheet1!B5", "Sheet1!C10"]}}}
CLI diagnostics — MiniMaxXlsx binary via the shell tool, located at ./scripts/MiniMaxXlsx:
| Command | What it does | Typical invocation | |---|---|---| | recalc | Detects formula error tokens (#VALUE!, #REF!, etc.), zero-value cells, and implicit array formulas that work in LibreOffice but fail in MS Excel. Run after recalc.py. | ./scripts/MiniMaxXlsx recalc output.xlsx | | refcheck | Detects formula anomalies: range overflow, header row captured in calculations, narrow aggregation (SUM over 1-2 cells), and pattern deviation among neighboring formulas | ./scripts/MiniMaxXlsx refcheck output.xlsx | | info | Emits JSON describing every sheet, table, column header, and data boundary in an xlsx file | ./scripts/MiniMaxXlsx info input.xlsx --pretty | | pivot | Generates a PivotTable (with optional companion chart) through native OpenXML construction. Read ./pivot.md before use. Required flags: --source, --location, --values. Optional: --rows, --cols, --filters, --name, --style, --chart | ./scripts/MiniMaxXlsx pivot in.xlsx out.xlsx --source "Sheet!A1:F100" --rows "Col" --values "Val:sum" --location "Dest!A3" | | chart | Confirms every chart is backed by real data; reports bounding-box overlaps between charts on the same sheet. Exit 0 = OK; exit 1 = broken/empty charts that must be fixed. Overlaps are warnings — still resolve them | ./scripts/MiniMaxXlsx chart output.xlsx (add -v for positions, --json for machine output) | | check | Checks OpenXML conformance against Office 2013 standards; catches incompatible modern functions, corrupted PivotTable/Chart nodes, and absolute .rels paths. Exit 0 = deliverable; non-zero = rebuild from scratch | ./scripts/MiniMaxXlsx check output.xlsx |
Implicit array formula handling (detected by recalc):
MATCH(TRUE(), range>0, 0) require CSE (Ctrl+Shift+Enter) in MS Excel - Wrong: =MATCH(TRUE(), A1:A10>0, 0) → shows #N/A in Excel - Right: =SUMPRODUCT((A1:A10>0)*ROW(A1:A10))-ROW(A1)+1 → works everywhere - Right: Or use a helper column with explicit TRUE/FALSE values
Supplementary guides (loaded on demand — not preloaded):
./pivot.md — mandatory before any PivotTable work./charts.md — mandatory before creating chart objects./styling.md — mandatory before writing openpyxl styling codeEvery spreadsheet task moves through five phases in strict order. Do not skip or reorder phases.
Before writing any code:
External data provenance — if the deliverable incorporates data fetched via datasource, web_search, API calls, or any retrieval tool:
Provider | Reference Link| Data Content | Provider | Reference Link | |---|---|---| | Apple Revenue | Yahoo Finance | https://finance.yahoo.com/... | | China GDP | World Bank API | world_bank_open_data |
Create a sheet-level blueprint before writing any code. For each sheet, document:
Dynamic computation rule (non-negotiable):
Any value derivable from a formula must be expressed as a formula. Static values are only acceptable for external-fetch data, true constants, or circular-dependency avoidance.
# Live formulas — correct
ws['D3'] = '=B3*C3'
ws['E3'] = '=D3/SUM($D$3:$D$50)'
ws['F3'] = '=AVERAGE(B3:B50)'
# Frozen snapshots — wrong
result = price * qty
ws['D3'] = result # loses traceability
Cross-table lookups — step by step:
When two tables share a common key (signals: "based on", "from another table", "match against", or columns like ProductID / EmployeeID appear in both):
INDEX() + MATCH() instead```python ws['D3'] = '=IFERROR(VLOOKUP(B3,$E$2:$H$120,2,FALSE),"")' ```
Summary!$A$2:$D$80merge() for VLOOKUP is not allowed...
安装 Minimax Xlsx 后,可以对 AI 说这些话来触发它
Help me get started with Minimax Xlsx
Explains what Minimax Xlsx does, walks through the setup, and runs a quick demo based on your current project
Use Minimax Xlsx to miniMax spreadsheet production system
Invokes Minimax Xlsx with the right parameters and returns the result directly in the conversation
What can I do with Minimax Xlsx in my documents & notes workflow?
Lists the top use cases for Minimax Xlsx, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/minimax-xlsx/ 目录(个人级,所有项目可用),或 .claude/skills/minimax-xlsx/(项目级)。重启 AI 客户端后,用 /minimax-xlsx 主动调用,或让 AI 根据上下文自动发现并使用。
Minimax Xlsx 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Minimax Xlsx 可免费安装使用。请查阅仓库了解许可证信息。
MiniMax spreadsheet production system. Engage for any task that involves tabular data, numeric analysis, or spreadsheet generation. Supports XLSX/XLSM/CSV th...
Minimax Xlsx 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using Minimax Xlsx
Identifies repetitive steps in your workflow and sets up Minimax Xlsx to handle them automatically