xlsx

Automate spreadsheet tasks across XLSX, XLSM, CSV, and TSV files.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/handsomelong922/my-codex-skills --skill xlsx-handsomelong922
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/handsomelong922/my-codex-skills/tree/main/skills/xlsx
Command: npx skills add https://github.com/handsomelong922/my-codex-skills --skill xlsx-handsomelong922

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openpyxl, defusedxml, lxml.

What problem does it solve?

This skill automates everyday spreadsheet tasks such as opening, cleaning, formatting, and converting data across .xlsx, .xlsm, .csv, and .tsv files, reducing manual effort.

Core Features & Use Cases

  • Open and read spreadsheet data, apply formatting, and update formulas.
  • Clean messy datasets, restructure columns and rows, and convert between common tabular formats.
  • Use Case: Given a messy CSV, transform it into a clean XLSX with standardized headers and computed columns.

Quick Start

Process the attached dataset to produce a clean, formatted workbook ready for analysis.

Frequently Asked Questions about xlsx

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

FAQPage Schema
How do I automate cleaning messy spreadsheet data and converting CSV to XLSX?

Automating spreadsheet data cleaning involves reading the CSV, restructuring columns, standardizing headers, and writing a valid XLSX file. This workflow transforms messy inputs into formatted workbooks with computed columns, ensuring deterministic processing and data integrity.

Can I update formulas and apply formatting to XLSX and XLSM files programmatically?

Yes, you can update formulas and apply formatting to XLSX and XLSM files programmatically. The process opens the workbook, modifies formula cells and visual styles, then outputs a valid spreadsheet while preserving data integrity throughout the conversion.

Does openpyxl support converting between XLSX, XLSM, CSV, and TSV formats?

Yes, openpyxl supports converting between XLSX, XLSM, CSV, and TSV formats. It reads the source tabular data, restructures rows and columns, and writes the output in the target format, ensuring deterministic processing and a valid spreadsheet deliverable.

What is the best way to restructure columns and standardize headers in a raw dataset?

The best way to restructure columns and standardize headers is to open the dataset, apply data cleaning rules to normalize text, restructure the tabular layout, and export a clean XLSX file. This ensures deterministic processing and preserves data integrity.

Why does my spreadsheet conversion drop formatting or corrupt data during automation?

Spreadsheet conversion drops formatting or corrupts data when non-deterministic parsers mishandle XML structures. Using defusedxml and lxml ensures safe, deterministic reading and writing of XLSX files, preserving data integrity and outputting a valid spreadsheet deliverable.