Skip to content

Create, parse, and control Excel files on macOS, including financial models openpyxl cannot read.

CCM score
66 of 100
skills.sh installs
1.6K
GitHub stars
1.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers three workflows: formatted report creation with openpyxl, stdlib XML parsing of complex xlsm models, and Excel window control via AppleScript
  • Includes investment-banking color conventions (blue inputs, black calculations, green cross-sheet links) and number format codes for currency, percentages, and multiples
  • Provides scripts/create_formatted_excel.py and scripts/parse_complex_excel.py with a --fix option that repairs corrupted DefinedNames
  • Enforces a foreground check before any command brings Excel forward, stopping input when the surface is in use
  • Designed for analysts working with financial models over 1MB, VBA workbooks, or Excel reports on macOS

Install

$ npx -y skills add daymade/claude-code-skills --skill excel-automation -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Excel Automation

Create professional Excel files, parse complex financial models, and control Excel on macOS.

For an image or scan of a paper form that needs editable cells and a printable layout, load Printable forms before creating the workbook. Follow the host's designated spreadsheet authoring tool; use the openpyxl examples below only when that tool is permitted.

Quick Start

Before a command brings Excel forward or changes its visible window, check user activity and other agents' occupancy. Use only foreground operations covered by the current task's authorization. If the surface is in use, occupancy is unknown, or unexpected input occurs, stop input and continue independent background work.

# Create a formatted Excel report
uv run --with openpyxl scripts/create_formatted_excel.py output.xlsx

# Parse a complex xlsm that openpyxl can't handle
uv run scripts/parse_complex_excel.py model.xlsm              # List sheets
uv run scripts/parse_complex_excel.py model.xlsm "DCF"        # Extract a sheet
uv run scripts/parse_complex_excel.py model.xlsm --fix        # Fix corrupted names

Details

Repository
github.com/daymade/claude-code-skills
Categories
Office Files & Slides, Workflow Automation, Finance & Trading
First seen
Jun 3, 2026

Questions

What does the excel-automation skill do?

excel-automation creates formatted Excel reports with openpyxl, parses complex xlsm financial models with stdlib zipfile and xml when openpyxl fails, and controls Excel windows on macOS via AppleScript. It can also reconstruct images or scans of paper forms as editable XLSX files with printable layouts.

How do I install the excel-automation skill?

Run npx -y skills add daymade/claude-code-skills --skill excel-automation -y in a project to install excel-automation. Once installed, excel-automation lets the agent parse investment bank xlsm models that openpyxl cannot read.

Does excel-automation work with complex financial models?

Yes, excel-automation parses complex xlsm files, such as investment bank financial models, using only the Python standard library. It can list sheets, extract a named sheet, and fix corrupted defined names in those workbooks.

Which tools does excel-automation need?

excel-automation uses openpyxl through uv for creating formatted workbooks, and osascript for controlling the Excel app on macOS. Its AppleScript controls therefore only apply on macOS.

More from daymade/claude-code-skills

All 50

Similar to Excel Automation

More Office Files & Slides