Xlsx

Create, edit, and validate Excel workbooks with openpyxl, pandas, and recalc.py.

1|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/verrio1/vaughn-pai --skill xlsx-verrio1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Xlsx
Source: https://github.com/verrio1/vaughn-pai/tree/main/skills/Documents/Xlsx
Command: npx skills add https://github.com/verrio1/vaughn-pai --skill xlsx-verrio1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the mundane, error-prone handling of Excel workbooks by enabling programmatic creation, editing, and validation of spreadsheets (including formulas) to ensure consistency and accuracy across templates and reports.

Core Features & Use Cases

  • Automated workbook creation, sheet management, and formula insertion using openpyxl.
  • Data analysis and transformations with pandas, preserving formulas and formatting when updating templates.
  • Formula recalculation and validation using recalc.py (LibreOffice) to surface errors across all sheets.

Quick Start

Open a workbook with the skill, add a simple SUM formula, save, and run recalc.py to refresh results across all sheets.

Frequently Asked Questions about Xlsx

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

FAQPage Schema
How do I automate Excel file creation while preserving formulas and formatting?

Automate Excel file creation using openpyxl to programmatically manipulate workbooks, sheets, and formulas. This approach preserves existing formulas and formatting while inserting new data, ensuring consistency across templates and reports.

How do I recalculate formulas across all sheets in an Excel workbook programmatically?

Recalculate formulas across all sheets using the recalc.py LibreOffice-based tool. This process refreshes formula results and surfaces zero formula errors, ensuring data validation and accuracy throughout the entire workbook.

Does openpyxl work with pandas for updating Excel templates without losing formulas?

openpyxl works with pandas to handle data analysis and transformations while updating Excel templates. This combination allows you to manipulate workbook data while preserving formulas and formatting during template updates.

What's the best way to validate data and surface errors in financial Excel models?

Validate data in financial Excel models by programmatically manipulating formulas and running recalc.py to recalculate results. This process includes safeguards for zero formula errors and preserves template formatting across all sheets.

Can I build financial models programmatically by inserting formulas into Excel workbooks?

Build financial models programmatically by using openpyxl to insert formulas into Excel workbooks. This enables automated model creation, sheet management, and formula insertion while maintaining template preservation and formatting consistency.

Do I need LibreOffice to recalculate Excel formulas when using openpyxl and pandas?

LibreOffice is required to recalculate Excel formulas via the recalc.py tool. While openpyxl handles workbook manipulation and pandas manages data, LibreOffice provides the engine to refresh formula results across all sheets.