
Xlsx
Let your coding agent create, read, and edit Excel workbooks when you need structured spreadsheets, exports, or financial models without leaving the repo.
Overview
xlsx is an agent skill most often used in Build (also Grow, Operate) that gives coding agents procedural guidance for creating and editing Excel workbooks.
Install
npx skills add https://github.com/davila7/claude-code-templates --skill xlsxWhat is this skill?
- Python-oriented Excel workbook operations aligned with Anthropic skill packaging
- Supports agent-driven spreadsheet generation and mutation in coding workflows
- Fits solo builders who ship reports, pricing tables, or data handoffs as .xlsx
- Licensed Anthropic materials—use only within applicable Anthropic service terms
- Pairs with data pipelines and docs when outputs must stay in Excel-native format
Adoption & trust: 707 installs on skills.sh; 27.8k GitHub stars; 3/3 security scanners passed (skills.sh audits).
What problem does it solve?
You need real .xlsx files from an agent workflow but keep getting broken CSV exports or hand-edited sheets outside version control.
Who is it for?
Solo builders who routinely deliver Excel-native reports, importers, or ops templates from agent-assisted repos.
Skip if: Teams that need a collaborative cloud spreadsheet product, heavy macro/VBA legacy estates, or workflows forbidden by Anthropic skill license terms.
When should I use this skill?
You need the agent to create, parse, or modify .xlsx workbooks as part of implementation, reporting, or ops documentation.
What do I get? / Deliverables
After the skill runs, you have agent-guided Excel operations and workbook changes you can review, test-open in Excel, and commit like any other project artifact.
- Updated or new .xlsx workbook files
- Repeatable agent steps for spreadsheet read/write tasks
Recommended Skills
Journey fit
Spans multiple journey phases - primary shelf plus alternate fits below.
Spreadsheet automation sits in Build because it is invoked while shaping product data, ops exports, and reporting artifacts—not during pure ideation. Integrations is the canonical shelf for file-format and office-system bridges (xlsx read/write) rather than UI or pure backend API design.
Where it fits
Generate a multi-sheet export template wired to your app’s reporting fields before handoff to a bookkeeper.
Populate a pricing scenario workbook from assumptions the agent helped you structure.
Refresh weekly KPI tabs from pipeline output without manually copy-pasting from dashboards.
Patch an on-call checklist workbook when runbook steps change after an incident review.
How it compares
Use as an agent skill package for workbook manipulation—not as a hosted spreadsheet SaaS or generic CSV export snippet.
Common Questions / FAQ
Who is xlsx for?
Indie developers and solo founders using Claude Code-style agents who still ship or receive Excel as the system of record for numbers and checklists.
When should I use xlsx?
During Build when wiring exports or imports; in Grow when refreshing metric workbooks; in Operate when updating runbooks or incident trackers stored as .xlsx—whenever the deliverable must open cleanly in Excel.
Is xlsx safe to install?
Review the Security Audits panel on this Prism page and your org’s policy on Anthropic-licensed template skills before enabling repo-wide agent access to spreadsheet scripts.
SKILL.md
READMESKILL.md - Xlsx
© 2025 Anthropic, PBC. All rights reserved. LICENSE: Use of these materials (including all code, prompts, assets, files, and other components of this Skill) is governed by your agreement with Anthropic regarding use of Anthropic's services. If no separate agreement exists, use is governed by Anthropic's Consumer Terms of Service or Commercial Terms of Service, as applicable: https://www.anthropic.com/legal/consumer-terms https://www.anthropic.com/legal/commercial-terms Your applicable agreement is referred to as the "Agreement." "Services" are as defined in the Agreement. ADDITIONAL RESTRICTIONS: Notwithstanding anything in the Agreement to the contrary, users may not: - Extract these materials from the Services or retain copies of these materials outside the Services - Reproduce or copy these materials, except for temporary copies created automatically during authorized use of the Services - Create derivative works based on these materials - Distribute, sublicense, or transfer these materials to any third party - Make, offer to sell, sell, or import any inventions embodied in these materials - Reverse engineer, decompile, or disassemble these materials The receipt, viewing, or possession of these materials does not convey or imply any license or right beyond those expressly granted above. Anthropic retains all right, title, and interest in these materials, including all copyrights, patents, and other intellectual property rights. #!/usr/bin/env python3 """ Excel Formula Recalculation Script Recalculates all formulas in an Excel file using LibreOffice """ import json import sys import subprocess import os import platform from pathlib import Path from openpyxl import load_workbook def setup_libreoffice_macro(): """Setup LibreOffice macro for recalculation if not already configured""" if platform.system() == 'Darwin': macro_dir = os.path.expanduser('~/Library/Application Support/LibreOffice/4/user/basic/Standard') else: macro_dir = os.path.expanduser('~/.config/libreoffice/4/user/basic/Standard') macro_file = os.path.join(macro_dir, 'Module1.xba') if os.path.exists(macro_file): with open(macro_file, 'r') as f: if 'RecalculateAndSave' in f.read(): return True if not os.path.exists(macro_dir): subprocess.run(['soffice', '--headless', '--terminate_after_init'], capture_output=True, timeout=10) os.makedirs(macro_dir, exist_ok=True) macro_content = '''<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd"> <script:module xmlns:script="http://openoffice.org/2000/script" script:name="Module1" script:language="StarBasic"> Sub RecalculateAndSave() ThisComponent.calculateAll() ThisComponent.store() ThisComponent.close(True) End Sub </script:module>''' try: with open(macro_file, 'w') as f: f.write(macro_content) return True except Exception: return False def recalc(filename, timeout=30): """ Recalculate formulas in Excel file and report any errors Args: filename: Path to Excel file timeout: Maximum time to wait for recalculation (seconds) Returns: dict with error locations and counts """ if not Path(filename).exists(): return {'error': f'File {filename} does not exist'} abs_path = str(Path(filename).absolute()) if not setup_libreoffice_macro(): return {'error': 'Failed to setup LibreOffice macro'} cmd = [ 'soffice', '--headless', '--norestore', 'vnd.sun.star.script:Standard.Module1.RecalculateAndSave?language=Basic&location=application', abs_path ] # Handle timeout command differences between Linux and macOS if platform.system() != 'Windows': timeout_cmd = 'timeout' if platform.system() ==