xlsx

Create, edit, and analyze Excel spreadsheets with formulas, formatting, and recalculation.

1|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/Emmanuel-R8/aikos --skill xlsx-emmanuel-r8
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/Emmanuel-R8/aikos/tree/main/.cursor/skills/xlsx
Command: npx skills add https://github.com/Emmanuel-R8/aikos --skill xlsx-emmanuel-r8

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Working with spreadsheets programmatically often leads to broken formulas, hardcoded values that can't update, and formatting that violates financial modeling conventions. This Skill ensures Excel files are built with live formulas, industry-standard formatting, and zero formula errors. ## Core Features & Use Cases - Spreadsheet Creation & Editing: Build new .xlsx files or modify existing ones using openpyxl while preserving formulas and formatting, with pandas support for data analysis. - Formula Recalculation & Error Detection: Use the included recalc.py script with LibreOffice to recalculate all formulas and scan every cell for errors like #REF!, #DIV/0!, and #VALUE!. - Financial Modeling Standards: Apply industry-standard color coding (blue inputs, black formulas, green cross-sheet links), number formatting, and assumption documentation conventions. - Use Case: Build a revenue projection model where growth rates live in assumption cells, all totals use SUM formulas, and the recalc script verifies zero errors before delivery. ## Quick Start Create an Excel financial model with formulas for revenue projections 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 create a workbook and assign formula strings like '=SUM(B2:B9)' directly to cells, then save the file. Always use Excel formulas instead of hardcoding Python-calculated values so the spreadsheet recalculates when source data changes.

Should I use pandas or openpyxl for Excel files?▼

Use pandas for data analysis, bulk operations, and simple exports with pd.read_excel and df.to_excel. Use openpyxl when you need formulas, cell formatting, styles, or to modify existing workbooks while preserving their structure.

How do I recalculate Excel formulas after editing with openpyxl?▼

openpyxl saves formulas as strings without computed values, so run the recalc.py script with LibreOffice to recalculate all formulas. It returns JSON reporting total formulas, error counts, and exact cell locations of any errors.

Why does my Excel file show #REF! or #DIV/0! errors?▼

#REF! occurs from invalid cell references and #DIV/0! from dividing by zero or empty cells. Run recalc.py to get exact error locations, verify cell references and denominators, fix the formulas, and recalculate again.

Can openpyxl read calculated formula values from Excel?▼

Yes, load the workbook with data_only=True to read cached calculated values. However, never save a workbook opened this way, because doing so permanently replaces all formulas with their static values.