Skip to content

Headless .xlsx file generator with Python and openpyxl, for sessions without a live Office app.

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

Own this skill? Claim it

What it does

  • Writes a finished workbook to ./out/<name>.xlsx and returns the relative path for the orchestration layer to collect
  • Covers the build pattern: a short Python script run via Bash, with blue inputs, black formulas, and green cross-sheet links
  • Enforces no hardcodes in calculation cells, named ranges for values referenced elsewhere, and a Checks tab with TRUE/FALSE balance ties
  • Designed for managed-agent runs; defers to mcp__office__excel_* tools when they are available in plugin mode

Install

$ npx -y skills add anthropics/financial-services --skill xlsx-author -y

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

Files

xlsx-author

Use this skill when running headless (managed-agent / CMA mode) and you need to deliver an Excel workbook as a file artifact rather than editing a live workbook via mcp__office__excel_*.

Output contract

  • Write to ./out/<name>.xlsx. Create ./out/ if it does not exist.
  • Return the relative path in your final message so the orchestration layer can collect it.

How to build the workbook

Write a short Python script and run it with Bash. Use openpyxl:

from openpyxl import Workbook
from openpyxl.styles import Font, PatternFill

wb = Workbook()
ws = wb.active; ws.title = "Inputs"
ws["B2"] = "Revenue"; ws["C2"] = 1_250_000_000
ws["C2"].font = Font(color="0000FF")           # blue = hardcoded input
calc = wb.create_sheet("DCF")
calc["C5"] = "=Inputs!C2*(1+Inputs!C3)"        # black = formula
wb.save("./out/model.xlsx")

Conventions (mirror audit-xls)

Details

Repository
github.com/anthropics/financial-services
Category
Office Files & Slides
First seen
Jun 3, 2026

Questions

What does the xlsx-author skill do?

The xlsx-author skill produces a .xlsx Excel file on disk without driving a live workbook. It writes a short Python script using openpyxl, with blue inputs, black formulas, a Checks tab, and named ranges, and saves the file to ./out/.

Who is the xlsx-author skill for?

It is for headless, managed-agent sessions that need to deliver an Excel workbook as a file artifact when no Office app is open. When Excel tools like mcp__office__excel_* are available, the skill says to use those instead.

How do I install the xlsx-author skill?

Run npx -y skills add anthropics/financial-services --skill xlsx-author -y in a project to install it. After that, the agent can build financial models as .xlsx files on disk in headless runs.

Which skills lead the Office Files & Slides category, and where does xlsx-author stand?

Other top skills in Office Files & Slides include slideshow and several lark skills such as lark-doc and lark-sheets. Where xlsx-author sets itself apart is that it writes the workbook file headlessly rather than editing a live Excel workbook.

More from anthropics/financial-services

All 35

Similar to Xlsx Author

More Office Files & Slides