xlsx

Create, read, and edit Excel workbooks with formulas, formatting, and recalculation.

1|Updated Jul 22, 2026
One-click install
npx skills add https://github.com/IceHeartGitH/Hermes-Agent-Android-Termux --skill xlsx-iceheartgith
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/IceHeartGitH/Hermes-Agent-Android-Termux/tree/main/custom-skills/productivity/xlsx
Command: npx skills add https://github.com/IceHeartGitH/Hermes-Agent-Android-Termux --skill xlsx-iceheartgith

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openpyxl, pandas, markitdown, and includes scripts (resource) components.

What problem does it solve? Spreadsheet work often breaks down on formula errors, lost cached values, and inconsistent formatting when files are generated programmatically. This Skill produces Excel workbooks whose formulas actually evaluate, whose conventions match professional standards, and whose outputs are verified before delivery. ## Core Features & Use Cases - Workbook creation and editing: Build or modify .xlsx, .xlsm, .xltx, .csv, and .tsv files using openpyxl and pandas, with formulas, formatting, and charts. - Mandatory formula recalculation: Run scripts/recalc.py to recalculate every formula via LibreOffice and receive a JSON report of any Excel errors with exact cell locations. - Financial modeling conventions: Apply standard color coding, number formats, and assumption-cell structure for finance-grade spreadsheets. - Use Case: A user asks for a revenue projection model. The Skill writes live SUMIFS and growth formulas, recalculates the file, confirms zero errors, and delivers a workbook that updates when inputs change. ## Quick Start Ask the assistant to create an Excel workbook with a monthly budget that uses formulas for totals and verify it has no formula errors.

Frequently Asked Questions about xlsx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an Excel file with formulas in Python?▼

Use openpyxl to write formula strings directly into cells, such as sheet['B10'] = '=SUM(B2:B9)'. Because openpyxl stores no cached values, recalculate the file with LibreOffice afterward so the formulas evaluate and other tools can read the results.

How to recalculate Excel formulas after writing with openpyxl?▼

Run the recalc.py script, which drives LibreOffice headlessly to compute every formula and rewrite the file in place. It returns JSON with a status, total formula count, and an error summary naming the exact cells containing errors like #VALUE! or #NAME?.

Why does openpyxl data_only return None for formula cells?▼

openpyxl writes formulas as strings without cached values, so data_only=True reads back None until the file is recalculated by a real spreadsheet engine. Run recalc.py first, then load the workbook with data_only=True to see computed values.

Which Excel functions work with LibreOffice recalculation?▼

Excel-2007-era functions like SUMIFS, INDEX, MATCH, IFERROR, and SUMPRODUCT work without prefixes. Six newer functions need an _xlfn. prefix, while XLOOKUP, XMATCH, SORT, FILTER, UNIQUE, and SEQUENCE should be avoided entirely because LibreOffice cannot reliably evaluate them.

Can openpyxl edit .xlsm files without losing macros?▼

Yes, but you must pass keep_vba=True to load_workbook, otherwise the macros are stripped on save. The markitdown tool can also read .xlsm files for a quick content preview.

What happens when recalculating a workbook with external links?▼

openpyxl strips cached values from cells referencing other files, so recalculation resolves them to #NAME? and deletes the links permanently. The recalc.py script detects this state and refuses to run unless you pass --force or copy the values out first.