xlsx

Create, edit, validate, and recalculate Excel workbooks with pandas and openpyxl.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/XinyuYao98/engineering-playbook --skill xlsx-xinyuyao98
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/XinyuYao98/engineering-playbook/tree/main/skill/xlsx
Command: npx skills add https://github.com/XinyuYao98/engineering-playbook --skill xlsx-xinyuyao98

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the heavy lifting involved in working with spreadsheets by enabling automated creation, modification, validation, and formatting of Excel workbooks (.xlsx/.xlsm) and related CSV/TSV inputs/outputs.

Core Features & Use Cases

  • Open, read, edit, and fix existing spreadsheets (xlsx/xlsm/csv/tsv) and deliver a finalized spreadsheet.
  • Preserve templates, apply formulas, perform data cleaning and restructuring.
  • Real-world example: turn messy tabular data into a clean, formula-driven spreadsheet ready for analysis, with automatic recalculation.

Quick Start

Create or modify an Excel workbook and then run the recalculation script to ensure all formulas compute correctly.

Frequently Asked Questions about xlsx

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

FAQPage Schema
How do I automate Excel spreadsheet workflows with formulas and data cleaning?

Automate spreadsheet workflows by using openpyxl and pandas to create, edit, validate, and recalculate Excel workbooks, ensuring zero formula errors and clean tabular data outputs.

Can I convert CSV or TSV files into a formatted Excel workbook?

Convert CSV and TSV inputs into formatted Excel workbook outputs by restructuring the tabular data, applying formulas, and preserving existing templates during the automated conversion process.

How do I fix Excel formula errors when editing existing xlsx files programmatically?

Fix Excel formula errors by running a deterministic recalculation script that enforces zero formula errors, preserving existing templates while recalculating and validating modified workbook contents.

Does openpyxl support preserving existing Excel templates during automated data processing?

Openpyxl supports preserving existing Excel templates during automated data processing, allowing you to apply formulas and perform data cleaning while maintaining the original workbook structure.

What's the best way to recalculate formulas in an Excel workbook after modifying data?

Recalculate formulas in an Excel workbook after modifying data by executing a dedicated recalculation script that integrates openpyxl and pandas to enforce deterministic, error-free formula computation.

Can pandas handle complex spreadsheet formatting and formula-driven modeling for xlsx files?

Pandas handles complex spreadsheet formatting and formula-driven modeling for xlsx files by integrating with openpyxl to restructure data, apply formulas, and deliver finalized, validated spreadsheets.