xlsx

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

Updated Aug 21, 2026
One-click install
npx skills add https://github.com/TylerSimons1127/vibe --skill xlsx-tylersimons1127
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/TylerSimons1127/vibe/tree/main/skills/productivity/xlsx
Command: npx skills add https://github.com/TylerSimons1127/vibe --skill xlsx-tylersimons1127

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 the original file, and whose numbers can be verified before delivery. ## Core Features & Use Cases - Create and edit workbooks: Build .xlsx, .xlsm, .xltx, .csv, and .tsv files with openpyxl and pandas, applying professional fonts, number formats, and financial-modeling color conventions. - Mandatory formula recalculation: Run scripts/recalc.py to recalculate every formula through LibreOffice, returning JSON with error counts and cell locations for #VALUE!, #REF!, #NAME?, and other failures. - Safe handling of edge cases: Detects external workbook links that recalculation would destroy, preserves VBA macros with keep_vba, and avoids functions LibreOffice cannot evaluate. - Use Case: A user asks for a revenue projection model. The Skill writes SUMIFS and INDEX/MATCH formulas, recalculates the file, confirms zero errors, and spot-checks computed cells before delivering the workbook. ## Quick Start Use the xlsx skill to create a quarterly budget spreadsheet with formulas for totals and then verify it recalculates without 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 formulas as strings, such as sheet['B10'] = '=SUM(B2:B9)', rather than hardcoded Python-computed values. After saving, recalculate the file with LibreOffice so formula cells contain cached values that pandas and previewers can read.

openpyxl vs pandas for reading Excel files?▼

pandas read_excel is best for bulk data in and out, while openpyxl is required for formulas, formatting, and cell-level edits. Reading a model with openpyxl takes two loads: data_only=True for cached values and the default mode for formula strings.

Why do openpyxl formulas show None when read back?▼

openpyxl writes formulas as strings with no cached values, so data_only=True returns None until the file is recalculated. Run a LibreOffice-based recalculation script to compute every formula and rewrite the file in place.

Which Excel functions work with LibreOffice recalculation?▼

Excel-2007-era functions like SUMIFS, INDEX, MATCH, IFERROR, and SUMPRODUCT work without a prefix. Six newer functions need an _xlfn. prefix, while XLOOKUP, XMATCH, SORT, FILTER, UNIQUE, and SEQUENCE should never be used.

Does openpyxl preserve macros in xlsm files?▼

Macros are lost unless you pass keep_vba=True to load_workbook. Without that flag, saving an .xlsm file strips its VBA project permanently.

Why does recalculation fail on workbooks with external links?▼

openpyxl strips cached values from cells referencing other files, so LibreOffice cannot resolve them and writes #NAME? while deleting the links. Copy those cell values from the original before saving, or use --force to accept the loss.