Xlsx

Create and edit Excel workbooks with formulas using openpyxl and pandas.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Excel file processing is time-consuming and error-prone; this Skill automates creation, editing, analysis, and formula management of Excel workbooks to streamline spreadsheet workflows.

Core Features & Use Cases

  • Create new workbooks with formulas and formatting using openpyxl, preserving templates and styles.
  • Edit existing workbooks while preserving formulas, data, and consistency, with robust data analysis using pandas.
  • Recalculate and validate formulas automatically via the recalc.py script to ensure zero errors in outputs.

Quick Start

Create a new workbook titled output.xlsx with an assumptions sheet and projection, apply formulas, and run recalc.py on the file.

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 processing while preserving existing formulas and formatting?

You can automate Excel file processing by editing existing workbooks with openpyxl, which preserves formulas, data, and template styles while maintaining consistency. This approach streamlines spreadsheet workflows without destroying template structures.

What is the best way to create new Excel workbooks with formulas and automated recalculation?

The best way to create new Excel workbooks with formulas is using openpyxl to apply formulas and formatting, then running the recalc.py script to automatically recalculate and validate outputs, ensuring zero errors in the generated files.

Can I use pandas for data analysis on existing xlsx files without breaking formulas?

Yes, you can use pandas for robust data analysis on xlsx files. The workflow edits existing workbooks while preserving formulas and data consistency, combining pandas analysis with template preservation for reliable spreadsheet workflows.

Does openpyxl support recalculation and validation of formulas in generated Excel files?

Openpyxl supports creating and editing formulas, and automated recalculation and validation are handled by the recalc.py script. This enforces best practices for formula usage and ensures zero errors in the final Excel outputs.

Why does editing existing Excel files with Python often result in lost formulas and broken templates?

Editing existing Excel files often loses formulas because standard methods overwrite template structures. Using openpyxl within an automated workflow preserves formulas, data, and formatting consistency, preventing template destruction during spreadsheet modifications.