xlsx

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

24|15|Updated Dec 8, 2025
One-click install
npx skills add https://github.com/ammosu/awesome-claude-skills-zh-TW --skill xlsx-ammosu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/ammosu/awesome-claude-skills-zh-TW/tree/main/document-skills/xlsx
Command: npx skills add https://github.com/ammosu/awesome-claude-skills-zh-TW --skill xlsx-ammosu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates repetitive spreadsheet tasks by enabling Claude to create, edit, and analyze Excel workbooks with preserved formulas and formatting.

Core Features & Use Cases

  • Workbook creation & formatting: Automate the creation of new workbooks with formulas, cell styles, and named ranges.
  • Data reading, analysis, and visualization: Import data from .xlsx, .csv, or .tsv, compute metrics, and generate summaries or charts.
  • Preserve formulas on edits: Modify existing workbooks while retaining existing formulas so recalculation stays dynamic.
  • Use Case: Finance or operations teams automatically build monthly dashboards from CSV inputs and export a ready-to-share Excel workbook.

Quick Start

Use the xlsx skill to create a new workbook named 'monthly_dashboard.xlsx' with a header row, sample data, and a formula that sums a numeric column.

Frequently Asked Questions about xlsx

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

FAQPage Schema
How do I automate Excel workbook creation with formulas and formatting?

Automate Excel workbook creation by generating new .xlsx files with cell styles, named ranges, and dynamic formulas using pandas and openpyxl. This enables building financial models and dashboards directly from data inputs without manual formatting.

Can I modify an existing xlsx file while preserving formulas?

Yes, you can edit existing Excel workbooks while retaining the original formulas so recalculation stays dynamic. This ensures that modifying data or structure in an .xlsx file does not break existing formula logic or formatting.

Do I need LibreOffice to recalculate Excel formulas when automating xlsx files?

Yes, a local LibreOffice installation is required to recalculate formulas within modified workbooks. While openpyxl handles file creation and editing, LibreOffice processes the actual formula computation to ensure accurate values in the output.

What is the best way to import and analyze CSV or TSV data for dashboard generation?

Import data from .csv or .tsv files using pandas to compute metrics and generate summaries. This approach supports dashboard generation by consolidating raw data into structured Excel workbooks with visualizations and calculated metrics.

Does this Excel automation approach work with xlsm files and macro-enabled workbooks?

Yes, this Excel automation approach supports .xlsm files alongside .xlsx, .csv, and .tsv formats. This allows you to manage macro-enabled workbooks, apply data analysis workflows, and maintain formulas across different spreadsheet file types.