xlsx

Create and edit .xlsx/.xlsm workbooks with pandas and openpyxl.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/michaelkd01/dic-skills --skill xlsx-michaelkd01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/michaelkd01/dic-skills/tree/main/_public/xlsx
Command: npx skills add https://github.com/michaelkd01/dic-skills --skill xlsx-michaelkd01

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill identifies every spreadsheet-centric task and ensures deliverables remain Excel files with professional fonts, matching templates, and zero formula errors before handing results back to the user.

Core Features & Use Cases

  • Template Preservation: When editing existing workbooks, the skill mirrors fonts, styles, and layout conventions so templates stay unchanged.
  • Formula-First Workflows: Combines pandas/openpyxl operations with scripts/recalc.py and LibreOffice recalculation so all calculations stay dynamic, validated, and color-coded per the finance guidance.
  • Use Case: Clean messy tabular exports, add scenario-driven calculations, and convert the cleaned data into a polished financial model or analytical report inside an .xlsx workbook.

Quick Start

Ask the xlsx skill to clean the uploaded messy CSV, build the Excel workbook with referenced formulas, and deliver the recalculated .xlsx file.

Frequently Asked Questions about xlsx

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

FAQPage Schema
How do I clean a messy CSV export and convert it into a formatted Excel workbook?

Automating spreadsheet creation cleans messy CSV imports, applies scenario-driven calculations, and converts cleaned data into a polished .xlsx workbook. It uses pandas and openpyxl to preserve existing templates, formatting, and user styling assumptions.

Can I preserve existing Excel template styling and fonts when editing an .xlsx file with openpyxl?

Yes, you can preserve existing Excel template styling and fonts when editing an .xlsx file. The workflow mirrors original layouts, fonts, and style conventions using openpyxl so that templates remain completely unchanged during data manipulation and formula insertion.

How do Excel formulas stay dynamic and error-free when building financial models programmatically?

Excel formulas stay dynamic and error-free during financial modeling by combining openpyxl operations with LibreOffice-backed recalculation. This validates all calculations, color-codes outputs, and ensures zero formula errors before delivering the final .xlsx workbook.

Does this spreadsheet automation approach support .xlsm macro-enabled workbooks?

Yes, this spreadsheet automation approach supports building financial models and analytical reports inside both .xlsx and .xlsm macro-enabled workbooks. It ensures consistent fonts and validated formulas across these file formats while keeping calculations dynamic.

What is the best way to validate formula errors in generated Excel files?

The best way to validate formula errors in generated Excel files is through LibreOffice-backed recalculation. This mechanism ensures zero formula errors by checking all dynamic calculations and color-coding outputs before returning the final spreadsheet deliverable.