
Xlsx
- 235 installs
- 404 repo stars
- Updated August 5, 2026
- aiskillstore/marketplace
This is a copy of xlsx by tfriedel - installs and ranking accrue to the original listing.
xlsx is an agent skill that opens, edits, and creates Excel workbooks and CSV-style tables with formulas, formatting, and charts for developers whose deliverables must be spreadsheet files.
About
xlsx is an aiskillstore/marketplace agent skill for spreadsheet-first tasks where the deliverable must be a workbook file, not a script or HTML report. The SKILL.md supports .xlsx, .xlsm, .csv, and .tsv inputs and outputs, mandating Excel formulas instead of hardcoded Python calculations so models stay recalculable. Developers reach for xlsx when cleaning messy tabular exports, building financial models with industry color conventions, or generating charts and formatted tables via pandas and openpyxl. A required scripts/recalc.py step recalculates formulas through LibreOffice, scans for #REF!, #DIV/0!, #VALUE!, and related errors, and returns JSON error summaries. The workflow distinguishes pandas for bulk analysis from openpyxl for formulas, formatting, and template preservation, with explicit rules for financial model typography, assumption placement, and zero-formula-error delivery.
- Read and write xlsx with correct cell types
- Apply formulas, formats, and sheet layout
- Clean messy CSV into proper workbooks
- Add charts or summary tabs when needed
- Preserve compatibility for Excel users
Xlsx by the numbers
- 235 all-time installs (skills.sh)
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/aiskillstore/marketplace --skill xlsxAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 235 |
|---|---|
| repo stars | ★ 404 |
| Last updated | August 5, 2026 |
| Repository | aiskillstore/marketplace ↗ |
How do you build Excel models with working formulas?
Open, edit, and create Excel workbooks and CSV-style tables—formulas, formatting, charts—when deliverables or analyses must be spreadsheet files.
Who is it for?
Developers or analysts using coding agents when the final artifact must be an Excel workbook with live formulas, formatting, or financial-model conventions.
Skip if: Tasks whose primary deliverable is a Word doc, HTML dashboard, database pipeline, or Google Sheets API integration without a local spreadsheet file.
When should I use this skill?
A user references a spreadsheet file by path or asks to create, edit, clean, or convert .xlsx, .xlsm, .csv, or .tsv tabular deliverables.
What you get
Formatted .xlsx or .xlsm workbooks with Excel formulas, recalculated values, error-free formula scans, and preserved template conventions.
- .xlsx workbooks
- formula recalculation reports
By the numbers
- Supports 4 tabular formats: .xlsx, .xlsm, .csv, and .tsv
- Includes scripts/recalc.py for LibreOffice formula recalculation and error scanning
Files
Requirements for Outputs
All Excel files
Zero Formula Errors
- Every Excel model MUST be delivered with ZERO formula errors (#REF!, #DIV/0!, #VALUE!, #N/A, #NAME?)
Preserve Existing Templates (when updating templates)
- Study and EXACTLY match existing format, style, and conventions when modifying files
- Never impose standardized formatting on files with established patterns
- Existing template conventions ALWAYS override these guidelines
Financial models
Color Coding Standards
Unless otherwise stated by the user or existing template
Industry-Standard Color Conventions
- Blue text (RGB: 0,0,255): Hardcoded inputs, and numbers users will change for scenarios
- Black text (RGB: 0,0,0): ALL formulas and calculations
- Green text (RGB: 0,128,0): Links pulling from other worksheets within same workbook
- Red text (RGB: 255,0,0): External links to other files
- Yellow background (RGB: 255,255,0): Key assumptions needing attention or cells that need to be updated
Number Formatting Standards
Required Format Rules
- Years: Format as text strings (e.g., "2024" not "2,024")
- Currency: Use $#,##0 format; ALWAYS specify units in headers ("Revenue ($mm)")
- Zeros: Use number formatting to make all zeros "-", including percentages (e.g., "$#,##0;($#,##0);-")
- Percentages: Default to 0.0% format (one decimal)
- Multiples: Format as 0.0x for valuation multiples (EV/EBITDA, P/E)
- Negative numbers: Use parentheses (123) not minus -123
Formula Construction Rules
Assumptions Placement
- Place ALL assumptions (growth rates, margins, multiples, etc.) in separate assumption cells
- Use cell references instead of hardcoded values in formulas
- Example: Use =B5(1+$B$6) instead of =B51.05
Formula Error Prevention
- Verify all cell references are correct
- Check for off-by-one errors in ranges
- Ensure consistent formulas across all projection periods
- Test with edge cases (zero values, negative numbers)
- Verify no unintended circular references
Documentation Requirements for Hardcodes
- Comment or in cells beside (if end of table). Format: "Source: [System/Document], [Date], [Specific Reference], [URL if applicable]"
- Examples:
- "Source: Company 10-K, FY2024, Page 45, Revenue Note, [SEC EDGAR URL]"
- "Source: Company 10-Q, Q2 2025, Exhibit 99.1, [SEC EDGAR URL]"
- "Source: Bloomberg Terminal, 8/15/2025, AAPL US Equity"
- "Source: FactSet, 8/20/2025, Consensus Estimates Screen"
XLSX creation, editing, and analysis
Overview
A user may ask you to create, edit, or analyze the contents of an .xlsx file. You have different tools and workflows available for different tasks.
Important Requirements
LibreOffice Required for Formula Recalculation: You can assume LibreOffice is installed for recalculating formula values using the recalc.py script. The script automatically configures LibreOffice on first run
Reading and analyzing data
Data analysis with pandas
For data analysis, visualization, and basic operations, use pandas which provides powerful data manipulation capabilities:
import pandas as pd
# Read Excel
df = pd.read_excel('file.xlsx') # Default: first sheet
all_sheets = pd.read_excel('file.xlsx', sheet_name=None) # All sheets as dict
# Analyze
df.head() # Preview data
df.info() # Column info
df.describe() # Statistics
# Write Excel
df.to_excel('output.xlsx', index=False)Excel File Workflows
CRITICAL: Use Formulas, Not Hardcoded Values
Always use Excel formulas instead of calculating values in Python and hardcoding them. This ensures the spreadsheet remains dynamic and updateable.
❌ WRONG - Hardcoding Calculated Values
# Bad: Calculating in Python and hardcoding result
total = df['Sales'].sum()
sheet['B10'] = total # Hardcodes 5000
# Bad: Computing growth rate in Python
growth = (df.iloc[-1]['Revenue'] - df.iloc[0]['Revenue']) / df.iloc[0]['Revenue']
sheet['C5'] = growth # Hardcodes 0.15
# Bad: Python calculation for average
avg = sum(values) / len(values)
sheet['D20'] = avg # Hardcodes 42.5✅ CORRECT - Using Excel Formulas
# Good: Let Excel calculate the sum
sheet['B10'] = '=SUM(B2:B9)'
# Good: Growth rate as Excel formula
sheet['C5'] = '=(C4-C2)/C2'
# Good: Average using Excel function
sheet['D20'] = '=AVERAGE(D2:D19)'This applies to ALL calculations - totals, percentages, ratios, differences, etc. The spreadsheet should be able to recalculate when source data changes.
Common Workflow
1. Choose tool: pandas for data, openpyxl for formulas/formatting 2. Create/Load: Create new workbook or load existing file 3. Modify: Add/edit data, formulas, and formatting 4. Save: Write to file 5. Recalculate formulas (MANDATORY IF USING FORMULAS): Use the recalc.py script
python recalc.py output.xlsx6. Verify and fix any errors:
- The script returns JSON with error details
- If
statusiserrors_found, checkerror_summaryfor specific error types and locations - Fix the identified errors and recalculate again
- Common errors to fix:
#REF!: Invalid cell references#DIV/0!: Division by zero#VALUE!: Wrong data type in formula#NAME?: Unrecognized formula name
Creating new Excel files
# Using openpyxl for formulas and formatting
from openpyxl import Workbook
from openpyxl.styles import Font, PatternFill, Alignment
wb = Workbook()
sheet = wb.active
# Add data
sheet['A1'] = 'Hello'
sheet['B1'] = 'World'
sheet.append(['Row', 'of', 'data'])
# Add formula
sheet['B2'] = '=SUM(A1:A10)'
# Formatting
sheet['A1'].font = Font(bold=True, color='FF0000')
sheet['A1'].fill = PatternFill('solid', start_color='FFFF00')
sheet['A1'].alignment = Alignment(horizontal='center')
# Column width
sheet.column_dimensions['A'].width = 20
wb.save('output.xlsx')Editing existing Excel files
# Using openpyxl to preserve formulas and formatting
from openpyxl import load_workbook
# Load existing file
wb = load_workbook('existing.xlsx')
sheet = wb.active # or wb['SheetName'] for specific sheet
# Working with multiple sheets
for sheet_name in wb.sheetnames:
sheet = wb[sheet_name]
print(f"Sheet: {sheet_name}")
# Modify cells
sheet['A1'] = 'New Value'
sheet.insert_rows(2) # Insert row at position 2
sheet.delete_cols(3) # Delete column 3
# Add new sheet
new_sheet = wb.create_sheet('NewSheet')
new_sheet['A1'] = 'Data'
wb.save('modified.xlsx')Recalculating formulas
Excel files created or modified by openpyxl contain formulas as strings but not calculated values. Use the provided recalc.py script to recalculate formulas:
python recalc.py <excel_file> [timeout_seconds]Example:
python recalc.py output.xlsx 30The script:
- Automatically sets up LibreOffice macro on first run
- Recalculates all formulas in all sheets
- Scans ALL cells for Excel errors (#REF!, #DIV/0!, etc.)
- Returns JSON with detailed error locations and counts
- Works on both Linux and macOS
Formula Verification Checklist
Quick checks to ensure formulas work correctly:
Essential Verification
- [ ] Test 2-3 sample references: Verify they pull correct values before building full model
- [ ] Column mapping: Confirm Excel columns match (e.g., column 64 = BL, not BK)
- [ ] Row offset: Remember Excel rows are 1-indexed (DataFrame row 5 = Excel row 6)
Common Pitfalls
- [ ] NaN handling: Check for null values with
pd.notna() - [ ] Far-right columns: FY data often in columns 50+
- [ ] Multiple matches: Search all occurrences, not just first
- [ ] Division by zero: Check denominators before using
/in formulas (#DIV/0!) - [ ] Wrong references: Verify all cell references point to intended cells (#REF!)
- [ ] Cross-sheet references: Use correct format (Sheet1!A1) for linking sheets
Formula Testing Strategy
- [ ] Start small: Test formulas on 2-3 cells before applying broadly
- [ ] Verify dependencies: Check all cells referenced in formulas exist
- [ ] Test edge cases: Include zero, negative, and very large values
Interpreting recalc.py Output
The script returns JSON with error details:
{
"status": "success", // or "errors_found"
"total_errors": 0, // Total error count
"total_formulas": 42, // Number of formulas in file
"error_summary": { // Only present if errors found
"#REF!": {
"count": 2,
"locations": ["Sheet1!B5", "Sheet1!C10"]
}
}
}Best Practices
Library Selection
- pandas: Best for data analysis, bulk operations, and simple data export
- openpyxl: Best for complex formatting, formulas, and Excel-specific features
Working with openpyxl
- Cell indices are 1-based (row=1, column=1 refers to cell A1)
- Use
data_only=Trueto read calculated values:load_workbook('file.xlsx', data_only=True) - Warning: If opened with
data_only=Trueand saved, formulas are replaced with values and permanently lost - For large files: Use
read_only=Truefor reading orwrite_only=Truefor writing - Formulas are preserved but not evaluated - use recalc.py to update values
Working with pandas
- Specify data types to avoid inference issues:
pd.read_excel('file.xlsx', dtype={'id': str}) - For large files, read specific columns:
pd.read_excel('file.xlsx', usecols=['A', 'C', 'E']) - Handle dates properly:
pd.read_excel('file.xlsx', parse_dates=['date_column'])
Code Style Guidelines
IMPORTANT: When generating Python code for Excel operations:
- Write minimal, concise Python code without unnecessary comments
- Avoid verbose variable names and redundant operations
- Avoid unnecessary print statements
For Excel files themselves:
- Add comments to cells with complex formulas or important assumptions
- Document data sources for hardcoded values
- Include notes for key calculations and model sections
© 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() == 'Linux' else None
if platform.system() == 'Darwin':
# Check if gtimeout is available on macOS
try:
subprocess.run(['gtimeout', '--version'], capture_output=True, timeout=1, check=False)
timeout_cmd = 'gtimeout'
except (FileNotFoundError, subprocess.TimeoutExpired):
pass
if timeout_cmd:
cmd = [timeout_cmd, str(timeout)] + cmd
result = subprocess.run(cmd, capture_output=True, text=True)
if result.returncode != 0 and result.returncode != 124: # 124 is timeout exit code
error_msg = result.stderr or 'Unknown error during recalculation'
if 'Module1' in error_msg or 'RecalculateAndSave' not in error_msg:
return {'error': 'LibreOffice macro not configured properly'}
else:
return {'error': error_msg}
# Check for Excel errors in the recalculated file - scan ALL cells
try:
wb = load_workbook(filename, data_only=True)
excel_errors = ['#VALUE!', '#DIV/0!', '#REF!', '#NAME?', '#NULL!', '#NUM!', '#N/A']
error_details = {err: [] for err in excel_errors}
total_errors = 0
for sheet_name in wb.sheetnames:
ws = wb[sheet_name]
# Check ALL rows and columns - no limits
for row in ws.iter_rows():
for cell in row:
if cell.value is not None and isinstance(cell.value, str):
for err in excel_errors:
if err in cell.value:
location = f"{sheet_name}!{cell.coordinate}"
error_details[err].append(location)
total_errors += 1
break
wb.close()
# Build result summary
result = {
'status': 'success' if total_errors == 0 else 'errors_found',
'total_errors': total_errors,
'error_summary': {}
}
# Add non-empty error categories
for err_type, locations in error_details.items():
if locations:
result['error_summary'][err_type] = {
'count': len(locations),
'locations': locations[:20] # Show up to 20 locations
}
# Add formula count for context - also check ALL cells
wb_formulas = load_workbook(filename, data_only=False)
formula_count = 0
for sheet_name in wb_formulas.sheetnames:
ws = wb_formulas[sheet_name]
for row in ws.iter_rows():
for cell in row:
if cell.value and isinstance(cell.value, str) and cell.value.startswith('='):
formula_count += 1
wb_formulas.close()
result['total_formulas'] = formula_count
return result
except Exception as e:
return {'error': str(e)}
def main():
if len(sys.argv) < 2:
print("Usage: python recalc.py <excel_file> [timeout_seconds]")
print("\nRecalculates all formulas in an Excel file using LibreOffice")
print("\nReturns JSON with error details:")
print(" - status: 'success' or 'errors_found'")
print(" - total_errors: Total number of Excel errors found")
print(" - total_formulas: Number of formulas in the file")
print(" - error_summary: Breakdown by error type with locations")
print(" - #VALUE!, #DIV/0!, #REF!, #NAME?, #NULL!, #NUM!, #N/A")
sys.exit(1)
filename = sys.argv[1]
timeout = int(sys.argv[2]) if len(sys.argv) > 2 else 30
result = recalc(filename, timeout)
print(json.dumps(result, indent=2))
if __name__ == '__main__':
main(){
"schema_version": "2.0",
"meta": {
"generated_at": "2026-01-17T08:51:28.469Z",
"slug": "xlsx",
"source_url": "https://github.com/anthropics/skills/tree/main/skills/xlsx",
"source_ref": "main",
"model": "claude",
"analysis_version": "3.0.0",
"source_type": "official",
"content_hash": "020ccdb5932257b66c638ec1157ea248d57fa52c8c01f1f68b559b5970c7df35",
"tree_hash": "948d29064bffd8a76f096c2c31edb777f603cbd6cc9dda18d45bc82710d4f31b"
},
"skill": {
"name": "xlsx",
"description": "Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas",
"summary": "Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, dat...",
"icon": "📊",
"version": "1.0.0",
"author": "anthropics",
"license": "Proprietary. LICENSE.txt has complete terms",
"category": "data",
"tags": [
"spreadsheets",
"excel",
"data-analysis",
"formulas"
],
"supported_tools": [
"claude",
"codex",
"claude-code"
],
"risk_factors": [
"external_commands",
"filesystem"
]
},
"security_audit": {
"risk_level": "safe",
"is_blocked": false,
"safe_to_publish": true,
"summary": "Official Anthropic skill for spreadsheet operations. Uses openpyxl and pandas for file manipulation. recalc.py script runs LibreOffice as subprocess for formula recalculation. All file operations are local, no network access, no dangerous patterns detected.",
"risk_factor_evidence": [
{
"factor": "external_commands",
"evidence": [
{
"file": "recalc.py",
"line_start": 72,
"line_end": 92
}
]
},
{
"factor": "filesystem",
"evidence": [
{
"file": "recalc.py",
"line_start": 45,
"line_end": 50
}
]
}
],
"critical_findings": [],
"high_findings": [],
"medium_findings": [],
"low_findings": [],
"dangerous_patterns": [],
"files_scanned": 2,
"total_lines": 378,
"audit_model": "claude",
"audited_at": "2026-01-17T08:51:28.469Z"
},
"content": {
"user_title": "Build Excel Spreadsheets with Formulas",
"value_statement": "Creating and editing Excel spreadsheets with formulas requires precision and Excel-specific knowledge. This skill provides comprehensive tools for spreadsheet creation, data analysis, and formula management using best practices for financial modeling and reporting.",
"seo_keywords": [
"excel",
"xlsx",
"spreadsheets",
"formulas",
"data analysis",
"claude",
"codex",
"claude code",
"openpyxl",
"pandas"
],
"actual_capabilities": [
"Create new Excel spreadsheets with formulas, formatting, and styling",
"Read and analyze spreadsheet data using pandas for data manipulation",
"Edit existing Excel files while preserving formulas and formatting",
"Recalculate formulas and verify spreadsheet accuracy using LibreOffice",
"Apply industry-standard color coding and formatting conventions for financial models"
],
"limitations": [
"Formula recalculation requires LibreOffice installation on the system",
"Cannot edit encrypted or password-protected Excel files",
"Complex VBA macros are not supported - only Excel formulas and basic formatting"
],
"use_cases": [
{
"target_user": "Financial Analysts",
"title": "Build Financial Models",
"description": "Create discounted cash flow models, valuation spreadsheets, and financial projections with proper formatting and formula structure."
},
{
"target_user": "Data Scientists",
"title": "Export Analysis Results",
"description": "Export pandas data analysis results to formatted Excel files with charts and summary statistics for stakeholder reports."
},
{
"target_user": "Business Users",
"title": "Automate Spreadsheet Tasks",
"description": "Generate budget templates, expense reports, and data summaries from raw data sources with consistent formatting."
}
],
"prompt_templates": [
{
"title": "Create Simple Spreadsheet",
"scenario": "New file with data and totals",
"prompt": "Create an Excel file named sales_report.xlsx with a sheet containing monthly sales data in columns A and B, with a formula in column C that calculates the year-over-year growth percentage."
},
{
"title": "Analyze Existing Data",
"scenario": "Read and summarize spreadsheet contents",
"prompt": "Read the data from quarterly_results.xlsx and provide a summary of the key metrics, including total revenue, average expenses, and profit margins by category."
},
{
"title": "Edit with Formulas",
"scenario": "Add calculations to existing file",
"prompt": "Add a new column to budget_template.xlsx that calculates the variance between projected and actual amounts, using conditional formatting to highlight positive and negative variances."
},
{
"title": "Build Complex Model",
"scenario": "Multi-sheet financial model",
"prompt": "Create a three-sheet financial model: assumptions sheet with growth rates and margins, income statement with all formulas linked to assumptions, and a summary dashboard with key metrics and charts."
}
],
"output_examples": [
{
"input": "Create a sales summary spreadsheet with quarterly data and year-over-year comparisons",
"output": [
"Created sales_summary.xlsx with quarterly sales data",
"Added formula columns for YoY growth and running totals",
"Applied color coding: blue for inputs, black for formulas",
"Formatted currency columns with $ symbols and thousands separators"
]
},
{
"input": "Analyze the data in financial_report.xlsx and identify any formula errors",
"output": [
"Scanned all 5 sheets for formula errors",
"Found 3 #REF! errors in the projections sheet",
"Identified broken cell references from deleted rows",
"Fixed references and verified all formulas now calculate correctly"
]
}
],
"best_practices": [
"Always use Excel formulas instead of hardcoding calculated values to keep spreadsheets dynamic and updateable",
"Place assumptions in separate cells and reference them in formulas rather than using literal values",
"Verify formulas by testing edge cases including zero values, negative numbers, and empty cells"
],
"anti_patterns": [
"Calculating values in Python and hardcoding the results instead of using Excel formulas",
"Mixing hardcoded values and formulas without clear color coding or documentation",
"Saving files with data_only=True mode which permanently replaces formulas with static values"
],
"faq": [
{
"question": "What Excel file formats are supported?",
"answer": "Supports .xlsx, .xlsm, .csv, and .tsv formats for reading and writing spreadsheets."
},
{
"question": "Does this skill work with Google Sheets?",
"answer": "This skill focuses on Excel files. For Google Sheets, a different integration would be required."
},
{
"question": "Can this skill edit VBA macros?",
"answer": "The skill works with Excel formulas and formatting but does not support editing VBA macro code."
},
{
"question": "Why is LibreOffice needed for formula recalculation?",
"answer": "LibreOffice calculates formulas and updates their values, which openpyxl cannot do as it only stores formulas as text."
},
{
"question": "What happens to existing formatting when editing files?",
"answer": "The skill preserves existing formatting and formulas. Changes are made while maintaining the original structure."
},
{
"question": "Is this skill available on all Claude platforms?",
"answer": "Yes, this skill is supported on Claude, Codex, and Claude Code for spreadsheet operations."
}
]
},
"file_structure": [
{
"name": "LICENSE.txt",
"type": "file",
"path": "LICENSE.txt",
"lines": 31
},
{
"name": "recalc.py",
"type": "file",
"path": "recalc.py",
"lines": 178
},
{
"name": "SKILL.md",
"type": "file",
"path": "SKILL.md",
"lines": 289
}
]
}
Related skills
How it compares
Use xlsx when the deliverable must be a recalculable Excel file; use pandas-only scripts when analysis output does not need workbook formatting or live formulas.
FAQ
Which file formats does the xlsx skill support?
The xlsx skill triggers for .xlsx, .xlsm, .csv, and .tsv files as primary inputs or outputs. It converts between tabular formats when the user needs spreadsheet deliverables rather than scripts or HTML reports.
Why does xlsx require scripts/recalc.py?
The xlsx skill uses scripts/recalc.py because openpyxl stores formulas as strings without calculated values. LibreOffice recalculation updates cell values and returns JSON listing formula counts and errors such as #REF! or #DIV/0!.
Should xlsx hardcode totals computed in Python?
The xlsx skill forbids hardcoding Python-calculated totals in cells. Workbooks must use Excel formulas like =SUM() or =AVERAGE() so users can change inputs and see updated results after recalculation.