xlsx (MIT)

Create, edit, analyse and recalculate Excel: live formulas, formatting, charts.

xlsx (MIT) works on Excel locally: live formulas, formatting, charts and analysis. Downloadable.

Office documentsagents 2MIT downloadable Scan upstream repo ↗

What it is

Creates, edits, analyses and recalculates Excel workbooks (.xlsx, .xlsm) with live formulas, formatting and charts. For anyone delivering a workbook that others will keep working in. It never writes a derived value as a constant and never uses pandas’ writer on a workbook someone else will maintain.

Core workflow

StageContent
TriggerA task produces or modifies a workbook, turns CSV or TSV data into one, or reads values, formulas or formatting out of one
InputThe workbook, data sources, assumption cells, the existing template and formatting
StepsChoose the tool (openpyxl for delivery, pandas for analysis, keep_vba=True for .xlsm), write derived items as formulas with assumptions in their own cells, run scripts/recalc.py after saving, fix the JSON’s four problem classes, deliver
OutputA recalculated workbook with values; recalc’s JSON report with exit 0 when clean, 1 on problems, 2 when it cannot run
BoundaryNeeds LibreOffice; links to other workbooks stop recalc unless --force; openpyxl cannot write spilling dynamic-array formulas

Getting started: Run recalc after any save that touched formulas, and copy the fix from missing_prefix straight back into the sheet.

Traits

  • Formulas first: =SUM(B2:B9), =(C4-C2)/C2, =B3*(1+$B$1), with assumptions in their own cells
  • recalc reports by field: errors, missing_prefix, circular_references, uncalculated
  • Newer functions need their prefix: _xlfn.XLOOKUP, _xlfn.TEXTJOIN, _xlfn._xlws.FILTER
  • Financial-model conventions: blue inputs, black formulas, green cross-sheet links, red cross-file links, yellow key assumptions

Who it is for and who it is not for

Good fitPoor fit
Financial models, budgets, expenses and inventoryOne-off value exports, where pandas is faster
Deliverables that keep charts, validation and commentsEnvironments without LibreOffice
Workbooks that must recalculate as inputs changeFiles with slicers or form controls that must survive

How it differs

NeedUse
Build or edit a workbook locally with a recalc checkappautomaton’s xlsx (this page)
Get analysis conclusions and chart reports directly, accepting remote workskywork-excel
Generate a document reportappautomaton’s docx
Build a presentationappautomaton’s pptx

Source-level risks

RiskSourceImpact
Delivering before recalculationopenpyxl writes formulas without values and only recalc.py fills themA file that skipped recalc shows blanks in some viewers
Silent damageInserting or deleting rows and columns rewrites no formula; saving after opening with data_only=True replaces formulas with last valuesReferences drift and formulas are lost permanently, with no error
Content lossopenpyxl drops shapes, text boxes, slicers and form controls it does not model, and .xlsm loses macros without keep_vbaParts of the original file vanish after opening
Version differencesLibreOffice below 24.8 lacks XLOOKUP, FILTER, SORT and othersrecalc reports cells as uncalculated although Excel would compute them

Example: input and output

Input

Merge two sheets by store and recalc formulas.

Output

Outputs a merged workbook with live formulas.

本地脚本。

FAQ

Vs official xlsx?

MIT and downloadable.

Supports xlsm?

Yes.

CategoryOffice documents
Version2026-11-28
Agent supportClaude Code, Generic (reads SKILL.md)
OSmacOS / Linux / Windows
DependenciesLibreOffice / poppler / pandoc(渲染与读取)、Node.js(npm install 依赖)、Python(uv 运行)、Python(xlsx 脚本)
Environmentnone
Scriptsreviewed: local files only, no network calls
LicenseMIT
Sourceappautomaton/document-SKILLs ↗
Verification✓ verified
Get itDownload zip
SHA256: d1263de25b22a26b47af5824d8d56b72fc3c13c78561a36ea8a127486b32c1be · 0.0 MB

"Generic (agents that read SKILL.md)" means any agent that discovers and loads SKILL.md; support level (auto-discovery, manual config, script execution) varies by agent.

Install
unzip appautomaton-document-skills-xlsx-2026-11-28.zip -d ~/.claude/skills/

Skills directory example: ~/.claude/skills/ for Claude Code; other agents use wherever SKILL.md is discovered.