xlsx

Read, clean, and convert spreadsheet data to XLSX using openpyxl.

1|Updated Sep 21, 2022
One-click install
npx skills add https://github.com/mohamedhabibwork/mohamedhabibwork --skill xlsx-mohamedhabibwork
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/mohamedhabibwork/mohamedhabibwork/tree/main/habib-app/.opencode/skills/xlsx
Command: npx skills add https://github.com/mohamedhabibwork/mohamedhabibwork --skill xlsx-mohamedhabibwork

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps automate repetitive spreadsheet tasks by enabling automated reading, cleaning, editing, and conversion of Excel-like files (.xlsx, .xlsm, .csv, .tsv), reducing manual data work.

Core Features & Use Cases

  • Read and audit data from spreadsheets, including header normalization and basic transformations.
  • Edit and format cells, compute simple formulas, and convert between tabular formats (xlsx, csv, tsv).
  • Use Case: When you have numerous vendor CSV exports, automatically clean headers, merge rows, and export a consolidated XLSX ready for analysis.

Quick Start

Convert a messy spreadsheet into a clean, polished XLSX file 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 converting CSV to XLSX while cleaning messy data rows?

To automate Excel formatting for data cleaning, you read raw tabular inputs, normalize headers, drop messy rows, and export a polished XLSX file. This handles vendor exports automatically to produce analysis-ready spreadsheets.

Does openpyxl support reading and editing XLSM files with basic formulas?

Yes, openpyxl supports reading and editing .xlsx and .xlsm files, allowing you to apply basic formatting and compute simple formulas. It handles workbook manipulation while preserving data integrity during real-world data-cleaning workflows.

Can I merge multiple vendor CSV exports into a single consolidated XLSX file?

Yes, you can merge multiple vendor CSV exports into a single XLSX file. The process reads each input, cleans and normalizes headers, merges the rows, and exports a consolidated spreadsheet ready for downstream analysis.

Do I need to install lxml and defusedxml to convert TSV files to XLSX?

Yes, you need to install lxml and defusedxml alongside openpyxl to reliably convert TSV files to XLSX. These libraries handle XML parsing and workbook manipulation, ensuring data integrity during format conversion.

What is the best way to normalize spreadsheet headers before exporting to XLSX?

The best way to normalize spreadsheet headers before exporting to XLSX is to read the raw input, apply header normalization transformations, clean messy rows, and write the structured data to a new workbook using openpyxl.