xlsx

Create and edit Excel .xlsx files with pandas and openpyxl.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/marcusfelix/barney --skill xlsx-marcusfelix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/marcusfelix/barney/tree/main/src/prompts/skills/xlsx
Command: npx skills add https://github.com/marcusfelix/barney --skill xlsx-marcusfelix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openpyxl, pandas, pandas-stubs, python-docx, python-pptx, lxml, defusedxml, PyYAML, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines complex spreadsheet tasks, from data cleaning and formula creation to advanced financial modeling, ensuring accuracy and efficiency.

Core Features & Use Cases

  • Formula Generation: Creates dynamic Excel formulas to replace hardcoded values, ensuring spreadsheet integrity.
  • Data Cleaning & Transformation: Restructures messy tabular data into clean, usable spreadsheet formats.
  • Financial Modeling: Builds robust financial models adhering to industry-standard color-coding and formatting rules.
  • Use Case: Automatically convert a messy CSV file with inconsistent formatting into a well-structured Excel sheet with correct formulas and professional styling.

Quick Start

Use the xlsx skill to create a new Excel file named 'sales_report.xlsx' with columns 'Date', 'Revenue', and 'Profit'.

Frequently Asked Questions about xlsx

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

FAQPage Schema
How do I automate Excel formula generation and data formatting in Python?

Automate Excel formula generation and data formatting by using Python libraries like pandas and openpyxl to manipulate data and apply professional styling. This approach replaces hardcoded values with dynamic formulas while enforcing industry-standard color-coding and number formatting.

Can I convert a messy CSV file into a structured Excel sheet with correct formulas?

Yes, you can convert a messy CSV file into a structured Excel sheet by cleaning and transforming the tabular data using pandas. The process restructures inconsistent formats into clean spreadsheets and generates correct dynamic Excel formulas.

Does Python work for building financial models with professional formatting standards?

Python works for building financial models by using openpyxl to apply specific professional font, color-coding, and number formatting standards. This ensures robust models adhere to industry-standard formatting rules while maintaining spreadsheet integrity.

How do I ensure zero formula errors when creating Excel files with Python?

Ensure zero formula errors when creating Excel files by using automated recalculation scripts like recalc.py with LibreOffice. This validates dynamic formula generation and guarantees spreadsheet integrity without manual checking.

What's the best way to clean and restructure messy tabular data for Excel spreadsheets?

The best way to clean and restructure messy tabular data for Excel spreadsheets is using pandas for data manipulation. This transformation process converts inconsistent formatting into clean, usable spreadsheet formats ready for analysis.