xlsx

Read, edit, and create spreadsheet files using Python libraries.

2|Updated May 13, 2026
One-click install
npx skills add https://github.com/danger-English/claude-code-intro --skill xlsx-danger-english
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/danger-English/claude-code-intro/tree/main/skills/xlsx
Command: npx skills add https://github.com/danger-English/claude-code-intro --skill xlsx-danger-english

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill enables automated handling of spreadsheet files that are the primary input or output, allowing you to read, edit, create, or convert .xlsx, .xlsm, .csv, and .tsv formats while ensuring the deliverable remains a structured spreadsheet file.

Core Features & Use Cases

  • Open existing workbooks, modify cell data, add formulas, apply formatting, and create new sheets.
  • Convert between common tabular formats (xlsx, csv, tsv) and generate clean, publication-ready spreadsheets.
  • Use Case: In a data-cleaning workflow, ingest a messy CSV, convert to xlsx, normalize columns, and generate a final workbook for reporting.

Quick Start

Load a workbook, add a column and a simple formula, and save the result as a new .xlsx file.

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 edits and data cleanup?

Automating spreadsheet edits and data cleanup is achieved by using Python libraries like openpyxl to programmatically read, modify, and format cell data within xlsx files. This approach enables reproducible transformations for data cleaning workflows.

Can I convert CSV files to xlsx format for reporting?

Yes, you can convert CSV files to xlsx format for reporting by ingesting the raw tabular data and generating a clean, structured workbook. This conversion allows you to normalize columns and apply publication-ready formatting.

How do I add formulas and formatting to an existing workbook?

Adding formulas and formatting to an existing workbook involves loading the file with openpyxl, targeting specific cells to apply calculations, and modifying style attributes. The modified workbook is then saved as a new spreadsheet file.

Does openpyxl support data validation and charting in xlsx files?

Yes, openpyxl supports data validation and charting in xlsx files. The library provides workbook manipulation capabilities that allow you to apply validation rules and generate charts alongside standard data transformation tasks.

What is the best way to handle messy CSV data for spreadsheet reporting?

The best way to handle messy CSV data for spreadsheet reporting is to automate the cleaning pipeline by converting the CSV to xlsx, normalizing columns, and generating a final formatted workbook. This ensures safe and reproducible data transformations.

Are there limitations when converting between tsv and xlsx formats?

Limitations when converting between tsv and xlsx formats generally relate to handling complex spreadsheet features like formulas or charts during the transformation process. Conversions focus on structured tabular data to ensure the deliverable remains a valid spreadsheet file.