excel-xlsx

Create, inspect, and edit Excel workbooks while preserving formulas and formatting.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/Glour/ai-office-v2 --skill excel-xlsx-glour
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: excel-xlsx
Source: https://github.com/Glour/ai-office-v2/tree/main/skills/excel-xlsx
Command: npx skills add https://github.com/Glour/ai-office-v2 --skill excel-xlsx-glour

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps users manage Microsoft Excel workbooks (.xlsx, .xlsm, .xls), and related formats like CSV or TSV, with reliable formulas, dates, types, formatting, recalculation, and template preservation. It addresses the challenge of maintaining data integrity and workbook structure across edits and different environments.

Core Features & Use Cases

  • Workbook integrity: preserve formulas, formats, sheets, and templates during edits and updates.
  • Workflow guidance: recommend appropriate libraries (openpyxl for formulas and styling; pandas for analysis) and distinguish when to use CSV as data exchange.
  • Real-world scenarios: financial models, dashboards, data pipelines where cross-platform consistency and accurate date handling matter.

Quick Start

Open your workbook and apply the recommended workflow to update cells while preserving formulas, styles, and templates.

Frequently Asked Questions about excel-xlsx

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

FAQPage Schema
How do I edit an Excel workbook and preserve formulas and formatting?

To edit an Excel workbook while preserving formulas, formats, and structure, apply an openpyxl-based workflow that updates cells without overwriting existing template logic. This ensures formula integrity and cross-platform consistency during modifications.

Can I use pandas to analyze XLSX data without losing workbook templates?

Yes, you can use pandas for data analysis while relying on openpyxl to maintain workbook structure. This separation ensures formulas, styles, and templates are preserved during analytical processing of XLSX files.

What is the best way to handle dates and data types in Excel automation?

The best way to handle dates and data types in Excel automation is using openpyxl for correct type enforcement and recalculation. This ensures accurate date handling and consistent data typing across financial models.

Does openpyxl support updating financial models and dashboards in XLSX?

Yes, openpyxl supports updating financial models and dashboards in XLSX by preserving formulas, styles, and workbook structure. It ensures cross-platform consistency and accurate recalculation for complex templates.

When should I use CSV instead of XLSX for data exchange in pipelines?

You should use CSV for data exchange in pipelines when you need lightweight, cross-platform data transfer without formulas or formatting. XLSX is recommended when preserving formulas, styles, and template structure is required.

Why does my Excel template lose formatting when updated programmatically?

Excel templates lose formatting when updated programmatically if the library overwrites workbook structure. Using openpyxl with template preservation ensures formulas, styles, and formats remain intact during cell updates.