xlsx

Create, edit, convert, and validate xlsx, xlsm, csv, and tsv files with formula recalculation.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/GenEducation/GenedUIProject --skill xlsx-geneducation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/GenEducation/GenedUIProject/tree/main/.gemini/skills/xlsx
Command: npx skills add https://github.com/GenEducation/GenedUIProject --skill xlsx-geneducation

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill removes the manual overhead of creating, editing, cleaning, converting, and validating spreadsheet files, especially when accuracy and repeatability matter.

Core Features & Use Cases

  • Spreadsheet Creation and Editing: Build new workbooks or update existing xlsx, xlsm, csv, and tsv files while preserving formulas and formatting.
  • Data Cleaning and Restructuring: Repair malformed tabular data, normalize headers, add columns, and turn messy extracts into usable spreadsheets.
  • Formula and File Integrity: Recalculate formulas, check for Excel errors, and validate Office document structure to keep deliverables reliable.
  • Use Case: A finance or operations team can convert raw exports into a polished workbook with formulas, styling, and error checks ready for sharing.

Quick Start

Use this skill to create or fix the attached spreadsheet file and return a clean, validated workbook with preserved formatting and recalculated formulas.

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 workbook with formulas and formatting using Python?

To create an Excel workbook with formulas and formatting, use pandas and openpyxl to build the model, validate the XML structure, and recalculate formulas to avoid errors. This returns a polished, validated file ready for delivery.

How do I clean and convert raw CSV exports into a formatted xlsx file?

Cleaning and converting raw CSV exports into an xlsx file involves parsing the tabular data, normalizing headers, and restructuring messy extracts. The process yields a usable spreadsheet with preserved formatting and recalculated formulas.

Does pandas preserve Excel formulas when editing existing xlsx files?

Pandas combined with openpyxl supports formula-aware workbook handling to preserve Excel formulas when editing existing xlsx files. It validates the Office document structure and triggers recalculation to prevent formula errors.

What is the best way to repair malformed spreadsheet data and fix Excel errors?

The best way to repair malformed spreadsheet data and fix Excel errors is to validate the Office document XML structure, restructure the tabular data, and recalculate formulas to ensure reliable file integrity and accurate delivery.

Can I use openpyxl to validate Office document structure and check for Excel errors?

Yes, you can use openpyxl to validate Office document structure and check for Excel errors. It supports formula-aware workbook handling and XML validation to recalculate formulas, ensuring your spreadsheets remain reliable and error-free.

Why do my spreadsheet formulas break after converting CSV data to xlsx?

Spreadsheet formulas often break after converting CSV data to xlsx due to lost formatting or invalid XML structure. Applying formula-aware workbook handling and recalculating formulas during the conversion ensures reliable, error-free files.