xlsx

Create and edit Excel spreadsheets with formulas and formatting using Python.

16|Updated Dec 28, 2025
One-click install
npx skills add https://github.com/Hongyu-yu/matsci-ai-skills --skill xlsx-hongyu-yu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/Hongyu-yu/matsci-ai-skills/tree/main/skills/xlsx
Command: npx skills add https://github.com/Hongyu-yu/matsci-ai-skills --skill xlsx-hongyu-yu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation, editing, and analysis of Excel workbooks, reducing manual, error-prone spreadsheet tasks.

Core Features & Use Cases

  • Create, edit, and format Excel files (.xlsx) with formulas and styles using Python libraries such as openpyxl, while preserving templates and documenting hard-coded values.
  • Recalculate formulas across workbooks with LibreOffice via the provided recalc.py script to ensure up-to-date results, supports validation and error reporting.
  • Use cases include financial modeling, data analysis workflows, and reproducible reporting templates for publication-quality outputs.

Quick Start

Create or update an Excel workbook with formulas and formatting to support data analysis.

Frequently Asked Questions about xlsx

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

FAQPage Schema
How do I automate Excel spreadsheet editing and formula recalculation in Python?

You can automate Excel spreadsheet editing and formula recalculation in Python by using openpyxl for formatting and formulas, then running the recalc.py script with LibreOffice to update calculated values.

What is the best way to preserve Excel templates while adding new data and formulas?

The best way to preserve Excel templates while adding formulas and styles is to use an automation approach that enforces template preservation, validates errors, and documents any hard-coded values during the editing process.

Can I use openpyxl and pandas together for financial modeling and data analysis?

Yes, you can use openpyxl and pandas together for financial modeling and data analysis, combining pandas for data-heavy workflows with openpyxl for formatting, formulas, and publication-quality report generation.

Does LibreOffice support Excel formula recalculation for automated reporting workflows?

Yes, LibreOffice supports Excel formula recalculation for automated reporting workflows through the provided recalc.py script, which ensures formula results are up-to-date and includes validation and error reporting.

How do I create reproducible Excel reports with validation checks for errors?

You create reproducible Excel reports with validation checks by automating workbook creation with openpyxl, enforcing documentation of hard-coded values, and running validation checks to detect and report errors before publication.