Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
davila7 avatar

Xlsx

  • 864 installs
  • 29.9k repo stars
  • Updated July 27, 2026
  • davila7/claude-code-templates

xlsx is an Anthropic-origin Claude Code skill that reads, creates, and updates Excel spreadsheets from natural language instructions for developers who need agent-driven spreadsheet editing and reporting workflows.

About

xlsx from davila7/claude-code-templates is an Anthropic-origin Claude Code skill (© 2025 Anthropic, PBC) that lets a coding agent read, create, and update Excel spreadsheets directly from natural language instructions. The template packages Anthropic's official xlsx skill materials under Anthropic Consumer or Commercial Terms of Service with additional usage restrictions documented in the license header. Developers invoke xlsx when spreadsheet files are primary inputs or outputs—financial models, operational reports, data exports, or bulk tabular updates—without switching to manual Excel editing mid-session. The skill fits agent workflows where .xlsx deliverables must be produced or modified programmatically from chat instructions. With 749 catalog installs, developers reach for xlsx when tabular files are the main artifact—not when the task is PDF generation, plain CSV one-liners without Excel features, or database schema design without spreadsheet deliverables.

  • Agent can read existing .xlsx files and return structured data
  • Agent can generate new Excel workbooks with multiple sheets and formatting
  • Agent can modify cells, add formulas, charts, and pivot tables via conversation
  • Works with pandas and openpyxl under the hood for reliable file handling
  • Preserves complex Excel features like conditional formatting and data validation

Xlsx by the numbers

  • 864 all-time installs (skills.sh)
  • +25 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #543 of 3,301 Productivity & Planning skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/davila7/claude-code-templates --skill xlsx

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs864
repo stars29.9k
Security audit3 / 3 scanners passed
Last updatedJuly 27, 2026
Repositorydavila7/claude-code-templates

How do agents edit Excel spreadsheets programmatically?

Let their coding agent read, create, and update Excel spreadsheets directly from natural language instructions.

Who is it for?

Developers using Claude Code who need agents to read, create, or update Excel spreadsheets as primary workflow deliverables.

Skip if: PDF document workflows, pure database ETL without spreadsheet outputs, or teams blocked by Anthropic skill license restrictions on material extraction.

When should I use this skill?

User references an xlsx file, asks to edit a spreadsheet, create an Excel report, or update tabular data in a workbook from natural language.

What you get

Updated or newly created .xlsx spreadsheet files with edited cells, formulas, and tabular data from agent instructions.

  • .xlsx spreadsheet files
  • Updated workbook data

By the numbers

  • © 2025 Anthropic, PBC licensed skill materials
  • 749 catalog installs in davila7/claude-code-templates

Files

SKILL.mdMarkdownGitHub ↗

© 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() ==

Related skills

How it compares

Pick xlsx for agent-native Excel read/write in Claude Code; use Python openpyxl scripts directly when spreadsheet automation runs outside agent skill workflows.

FAQ

What file operations does the xlsx skill support?

xlsx from davila7/claude-code-templates enables a coding agent to read, create, and update Excel spreadsheets from natural language instructions when tabular files are the primary workflow input or output.

Who licenses the xlsx skill materials?

xlsx materials are © 2025 Anthropic, PBC, governed by Anthropic Consumer or Commercial Terms of Service with additional restrictions noted in the skill license header.

When should developers invoke the xlsx skill?

xlsx fits Claude Code sessions where users reference .xlsx files or ask to create, edit, or update Excel workbook data as the main deliverable rather than unrelated code-only tasks.

Is Xlsx safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Productivity & Planningagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.