xlsx

Create and edit Excel workbooks while preserving formulas with pandas and openpyxl.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/PaulCrossland1/claude-code-skills --skill xlsx-paulcrossland1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/PaulCrossland1/claude-code-skills/tree/main/xlsx
Command: npx skills add https://github.com/PaulCrossland1/claude-code-skills --skill xlsx-paulcrossland1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation, editing, and analysis of spreadsheets, reducing manual data handling and ensuring formula integrity across workbooks.

Core Features & Use Cases

  • Workbook creation: Generate new Excel workbooks with proper formatting, headers, and formulas.
  • Editing & preservation: Update existing workbooks while preserving embedded formulas and structure.
  • Data analysis & reporting: Leverage pandas for data extraction and analysis, and openpyxl for advanced formatting and formula control; produce clean reports and visualizations.
  • Recalculation workflow: Recalculate formulas using the recalc.py script in combination with LibreOffice to validate results.

Quick Start

Create a new workbook named "sales.xlsx" with a sheet "Overview", include a header row, and a formula in cell B2 that sums B3:B12, then run the recalc script to verify all formulas.

Frequently Asked Questions about xlsx

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

FAQPage Schema
How do I automate Excel workflows and preserve formulas when editing xlsx files?

Excel workflow automation preserves embedded formulas during edits by using pandas for data extraction and openpyxl for formatting control. This ensures formula integrity across workbooks while updating existing spreadsheets.

Can pandas and openpyxl be used together for spreadsheet data analysis and reporting?

Pandas and openpyxl work together for spreadsheet data analysis by leveraging pandas for extraction and openpyxl for advanced formatting. This combination produces clean reports and visualizations from Excel data.

Do I need LibreOffice to recalculate formulas in an Excel workbook?

LibreOffice is required for formula recalculation in Excel workbooks. The recalc.py script runs in combination with LibreOffice to validate and recalculate formulas, ensuring accurate results across the workbook.

What's the best way to generate a new Excel workbook with headers and formulas?

The best way to generate a new Excel workbook is through automated creation that applies proper formatting, headers, and formulas. This approach ensures consistent structure and formula integrity for finance and reporting workflows.

Does editing an existing spreadsheet with openpyxl remove embedded formulas?

Editing an existing spreadsheet with openpyxl preserves embedded formulas and structure. The workflow maintains formula integrity during updates, ensuring calculations remain intact while data is modified.

When should I use automated spreadsheet workflows for data analysis?

Automated spreadsheet workflows should be used for finance, analytics, and reporting tasks involving data import and formula maintenance. They reduce manual data handling and ensure consistent formula recalculation and result visualization.