Xlsx

by v1.0.0 Verified Security Reviewed

The XLSX skill is designed for robust interaction with spreadsheet files, serving as the primary tool for any task involving opening, reading, editing, or generating `.xlsx`, `.xlsm`, `.xltx`, `.csv`, or `.tsv` files. It handles a wide array of operations, from adding columns and computing formulas to advanced formatting, charting, and cleaning messy data. This skill is particularly adept at creating new spreadsheets from scratch or diverse data sources, and converting between various tabular file formats.

It should be triggered whenever a user explicitly references a spreadsheet file by name or path, even casually, and desires an action to be performed on it or a spreadsheet to be produced. Additionally, it excels at cleaning and restructuring malformed tabular data, transforming it into proper, well-structured spreadsheets. The core deliverable for any task utilizing this skill must always be a spreadsheet file.

Crucially, this skill enforces strict quality standards for all outputs, including professional fonts, zero formula errors, the use of formulas over hardcoded values, literal adherence to user specifications, and thorough documentation of assumptions. It also provides specific guidance for financial models, covering formatting, numbering conventions, and structural best practices.

What It Does

This skill provides comprehensive tools for interacting with spreadsheet files, including .xlsx, .xlsm, .xltx, .csv, and .tsv formats. It allows you to open, read, edit, and generate spreadsheets, performing operations like adding columns, computing formulas, advanced formatting, charting, and cleaning messy data. You can also create new spreadsheets from various data sources or convert between different tabular file formats.

When To Use

- You need to add new columns or compute formulas within an existing .xlsx spreadsheet.
- You want to create a new spreadsheet from scratch or by combining data from different sources.
- You have a .csv or .tsv file and need to convert it into an .xlsx format.
- You need to clean and restructure messy tabular data, such as malformed rows or misplaced headers, into a proper spreadsheet.
- You are working on a financial model and need to apply specific formatting, numbering conventions, and structural best practices.
- You need to perform advanced formatting or charting on spreadsheet data.

Inputs

- spreadsheet_file: This is the existing spreadsheet file that the skill will open, read, edit, or fix.
- user_specifications: These are the literal instructions from the user regarding tab names, column headers, formulas, and formatting for the desired output.

Outputs

- spreadsheet_file: This is the resulting spreadsheet file, which can be a new creation, an edited version of an existing file, or a converted tabular data file.: .xlsx, .xlsm, .xltx, .csv, or .tsv file

Limitations

- Formulas written by openpyxl do not have cached values and will read as None until the file is explicitly recalculated.
- Workbooks containing links to external files will lose those links if re-saved with openpyxl and then recalculated.
- The skill's LibreOffice runtime supports a limited set of Excel functions, and unsupported functions will result in #NAME? errors in the output.
- Saving a workbook loaded with data_only=True will permanently remove all formulas, replacing them with their literal values.
- When working with merged cells, only the top-left anchor cell can be written to, as other cells in the range are read-only MergedCell objects.
- Sheet names containing spaces must be quoted in cross-sheet references to avoid #VALUE! errors.

Installation

Copy to ~/.claude/skills/

View Claude (Anthropic) documentation

Configure in API settings

View OpenAI Codex documentation

Add to ~/.gemini/skills/

View Gemini CLI documentation

Register as MCP tool

View MCP Server documentation

What people say, and where to get help

No ratings yet. If you have used this skill, yours would be the first.

No reviews yet

This skill has not been rated. If you have run it, a short note about what you used it for helps the next person more than any description can.

Related Skills You May Like

Discover more AI agent skills in the same category to enhance your workflow automation.

Have a Skill to Share?

Join the community and help AI agents learn new capabilities. Submit your skill and reach thousands of developers.