xlsx

Automate spreadsheet data processing and cleanup for XLSX, CSV, and TSV workbooks.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/Phife726/ds_agent --skill xlsx-phife726
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/Phife726/ds_agent/tree/main/xlsx
Command: npx skills add https://github.com/Phife726/ds_agent --skill xlsx-phife726

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates repetitive spreadsheet tasks, data cleansing, and formatting to convert messy tabular data into clean, ready-to-use spreadsheets.

Core Features & Use Cases

  • Open, read, edit, format, and fix .xlsx, .xlsm, .csv, and .tsv files (e.g., cleaning messy data and standardizing headers).
  • Compute formulas, apply formatting, create charts, and convert between tabular formats to deliver polished spreadsheet deliverables.
  • Real-world scenario: take a downloaded CSV with inconsistent headers and missing values and automatically produce a clean Excel workbook with consistent headers and computed fields.

Quick Start

Open a sample spreadsheet and apply a sequence of edits to produce a clean, formatted workbook.

Frequently Asked Questions about xlsx

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

FAQPage Schema
How do I automate spreadsheet data cleaning for inconsistent headers and missing values?

Automating spreadsheet data cleaning involves opening messy XLSX or CSV workbooks to standardize headers, compute formulas, and fill missing values, ultimately producing a formatted and ready-to-use Excel file.

Can I convert CSV files to formatted XLSX workbooks with computed fields?

Yes, you can convert CSV files to formatted XLSX workbooks by parsing the tabular data, applying formulas, standardizing headers, and adding structural formatting to deliver a polished spreadsheet deliverable.

Does openpyxl support creating charts and applying formatting to Excel workbooks?

Yes, openpyxl supports creating charts and applying formatting to Excel workbooks by allowing users to programmatically edit cells, compute formulas, and generate visual chart elements within the spreadsheet.

What is the best way to fix corrupted or malformed XML in XLSX files?

Fixing malformed XML in XLSX files utilizes defusedxml and lxml for safe XML validation, parsing, and structural repairs, ensuring the spreadsheet data is securely extracted and restructured without errors.

How do I format messy TSV files into a clean Excel workbook?

Formatting messy TSV files into a clean Excel workbook requires parsing the tab-separated values, standardizing headers, applying formulas, and exporting the restructured data into a formatted XLSX file.

What are the limitations of using openpyxl for spreadsheet automation?

Limitations of using openpyxl for spreadsheet automation include potential restrictions on parsing heavily corrupted files, though defusedxml and lxml are leveraged for safe XML validation and structural repairs.