Excel Automation

Builds formatted Excel reports, reads complex financial models that other tools fail on, and rebuilds scanned paper forms as editable sheets.

Office & Documentsexcelspreadsheetsreportsformsby daymade1.5kGitHub

What it is

Excel Automation helps an AI agent work with Excel files in three ways: creating formatted reports, reading large or complex workbooks, and controlling the Excel window on a Mac. It can also rebuild a photo or scan of a paper form as an editable, printable spreadsheet. It suits analysts and office workers, anyone who receives heavy financial models from banks or brokers, and anyone who needs a typed version of a paper application form.

For reports it supplies a template script and the investment-banking colour convention: blue for inputs, black for calculations, green for links to other sheets, plus number formats and red-to-green colour scales for sensitivity tables. When the usual openpyxl library fails on a macro-enabled .xlsm model, it reads the file's internal XML directly and can strip corrupted named ranges. For paper forms it follows a careful checklist: list every field, keep ID numbers as text so leading zeros survive, leave unknown answers blank, and set a proper print area.

You get .xlsx files you can open and edit, or the sheet data from models that would not load. Window control, such as opening a file, zooming, scrolling and switching sheets, works only on macOS with Microsoft Excel installed. Comparing a rebuilt form with the original and checking its print layout is still up to the agent and you; no bundled tool does it. In Claude Code it starts only when you call it by name.

What it can do

  • Creates formatted Excel reports with headers, number formats, borders and colour-coded inputs and formulas.
  • Adds red-yellow-green colour scales to sensitivity tables.
  • Reads sheets from large or macro-enabled .xlsm financial models when standard libraries fail.
  • Repairs workbooks with corrupted named ranges so they open again.
  • Rebuilds a photo or scan of a paper form as editable cells with a print-ready layout.
  • Opens files, zooms, scrolls and switches sheets in Microsoft Excel on a Mac.

When to use it

  • A broker sent a 5 MB .xlsm valuation model that will not load in your tools, and you need the numbers from its DCF sheet.
  • You want this month's sales figures turned into a clean Excel report with proper currency and percentage formats.
  • You have a photo of a paper application form and need an editable Excel version that prints on one A4 page.
  • You are reviewing a model on a Mac and want the agent to take Excel to a specific sheet and row.

How it works

  1. 1It first checks what the file really is, since a file extension can be misleading.
  2. 2For new reports it adapts a bundled openpyxl template script and runs it with uv.
  3. 3For complex models it unzips the workbook and reads sheet names, text and cell values from its internal XML.
  4. 4For paper forms it lists every field, builds the grid with correctly typed cells and sets the print area.
  5. 5On a Mac it can send AppleScript commands, with a timeout, to move around the workbook in Microsoft Excel.

Try asking

“Create a formatted Excel report from this sales data with currency and percentage columns.”
“This .xlsm model won't open with openpyxl. Extract the DCF sheet for me.”
“Turn this photo of a paper registration form into an editable Excel file I can print.”
“Open model.xlsx in Excel and scroll to row 45 on the Summary sheet.”

How to install

Install with the skills CLI (recommended)

Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.

npm
npx skills add https://github.com/daymade/claude-code-skills/tree/main/daymade-docs/excel-automation
pnpm
pnpm dlx skills add https://github.com/daymade/claude-code-skills/tree/main/daymade-docs/excel-automation

Install as a Claude Code plugin

Run these inside Claude Code. The plugin may bundle related skills from the same author.

Claude Code
/plugin marketplace add daymade/claude-code-skills
/plugin install daymade-docs@daymade-skills

Install manually

Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the excel-automation folder and upload it in the Skills section of Settings.

Terminal
git clone --depth 1 https://github.com/daymade/claude-code-skills.git
mkdir -p ~/.claude/skills
cp -r claude-code-skills/daymade-docs/excel-automation ~/.claude/skills/excel-automation

Then just ask in plain language, for example: “Create a formatted Excel report from this sales data with currency and percentage columns.”