xlsx

Create, inspect, edit, and verify Excel XLSX workbooks with openpyxl.

55|41|Updated Aug 9, 2026
One-click install
npx skills add https://github.com/Rylaispirit/rylai-codex-hermes-skills --skill xlsx-rylaispirit
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/Rylaispirit/rylai-codex-hermes-skills/tree/main/skills/xlsx
Command: npx skills add https://github.com/Rylaispirit/rylai-codex-hermes-skills --skill xlsx-rylaispirit

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Working with Excel files programmatically often leads to overwritten sources, broken formulas, and undetected spreadsheet errors. This Skill provides a safe workflow for creating, editing, and verifying XLSX workbooks without corrupting the original data. ## Core Features & Use Cases - CSV/TSV to XLSX Conversion: Build styled workbooks from delimited files with frozen headers, filters, and auto-sized columns. - Non-Destructive Editing: Update cells and formulas while saving to a new output path, preserving the source workbook. - Inspection and Error Detection: Report sheet structure, formula counts, and visible errors like #REF! or #DIV/0! before delivery. - Use Case: Convert a raw sales CSV into a formatted Excel report, add a SUM formula for totals, then verify the saved workbook contains no formula errors. ## Quick Start Use the xlsx skill to convert my sales-data.csv file into a styled Excel workbook and check it for formula errors.

Frequently Asked Questions about xlsx

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

FAQPage Schema
How do I convert a CSV file to Excel XLSX in Python?▼

Use openpyxl to create a workbook and append rows parsed from the CSV with the csv module. The bundled xlsx_tool.py script handles this with automatic delimiter detection, header styling, frozen panes, and column width adjustment.

How do I update Excel cells without overwriting the original file?▼

Load the source workbook with openpyxl, apply cell changes, then save to a new output path instead of the source. The set command in xlsx_tool.py accepts Sheet!A1=value pairs and always writes to a separate output file.

Can openpyxl recalculate Excel formulas?▼

No, openpyxl writes formulas but does not compute their results. Use LibreOffice headless mode to open and re-save the workbook, which forces recalculation; the recalc command automates this when soffice is available.

How do I detect formula errors like #REF! in an Excel file?▼

Iterate through all cells with openpyxl and check string values against known error tokens such as #REF!, #DIV/0!, #VALUE!, #NAME?, #N/A, and #NUM!. The inspect command reports each error with its sheet and cell address.

What are the limitations of editing XLSX files with openpyxl?▼

openpyxl does not evaluate formulas, render charts visually, or preserve every advanced Excel feature such as pivot tables in all cases. For visual verification or recalculated values, a LibreOffice round trip is required.