xlsx

Create and modify Excel workbooks with pandas and openpyxl.

18|1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/dachent/skills --skill xlsx-dachent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/dachent/skills/tree/main/.upstream/anthropic-skills/57546260929473d4e0d1c1bb75297be2fdfa1949/skills/xlsx
Command: npx skills add https://github.com/dachent/skills --skill xlsx-dachent

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill solves the challenge of programmatically creating, editing, and analyzing complex Excel spreadsheets while ensuring formula integrity and professional formatting standards.

Core Features & Use Cases

  • Dynamic Modeling: Automates the creation of financial models using Excel formulas instead of hardcoded values, ensuring spreadsheets remain updateable.
  • Data Cleaning: Restructures messy tabular data into clean, professional-grade workbooks.
  • Formula Verification: Automatically recalculates formulas and identifies errors like #REF! or #DIV/0! using LibreOffice integration.

Quick Start

Use the xlsx skill to load the provided sales data, apply the required financial formatting, and recalculate all formulas to ensure there are no errors.

Frequently Asked Questions about xlsx

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

FAQPage Schema
How do I automate Excel workbook creation and formula calculation without hardcoding values?

Automate Excel workbook creation by using pandas and openpyxl to generate dynamic financial models with live formulas. This approach ensures spreadsheets remain updateable and recalculates them via LibreOffice to verify professional deliverables.

Does openpyxl support automatic formula recalculation and error checking for Excel files?

openpyxl handles formula insertion, but automatic formula recalculation and error checking require LibreOffice. This integration runs headless recalculation across all sheets to identify errors like #REF! or #DIV/0! in your Excel workbooks.

What's the best way to clean messy tabular data and format it into professional Excel spreadsheets?

The best way to clean messy tabular data is restructuring it into clean, professional-grade workbooks using pandas and openpyxl. This process validates formatting standards and applies formula-based calculations for financial modeling deliverables.

Can I use pandas to modify existing Excel spreadsheets while preserving their formulas?

Yes, you can modify existing Excel spreadsheets using pandas and openpyxl while preserving formulas. The Skill automates workbook modifications, applies financial formatting, and uses LibreOffice to recalculate formulas and verify no errors are introduced.

Do I need LibreOffice installed to verify Excel formulas and identify calculation errors?

Yes, LibreOffice is required for headless formula recalculation and error verification across all sheets. While pandas and openpyxl handle data restructuring and formatting, LibreOffice specifically validates formula integrity by identifying errors like #DIV/0!.

Why do my Excel formulas show #REF! or #DIV/0! errors after programmatic data restructuring?

Excel formulas show #REF! or #DIV/0! errors after data restructuring due to broken references or invalid calculations. Automating formula verification with LibreOffice headless recalculation identifies and reports these exact errors across all sheets for validation.