xlsx
/xlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file; create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path and wants something done to it or produced from it. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, or Google Sheets API integration.
Assessment and security
- Files in this package
- 53
- Scripts
- 12
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 02.09.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 12 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/helpers/__init__.py, scripts/helpers/merge_runs.py, scripts/helpers/simplify_redlines.py, scripts/pack.py, scripts/recalc.py, scripts/soffice.py, scripts/unpack.py, scripts/validators/__init__.py, scripts/validators/base.py, scripts/validators/docx.py, scripts/validators/pptx.py, scripts/validators/redlining.py
What it does and when to use it
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file; create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path and wants something done to it or produced from it. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, or Google Sheets API integration.
Original author description
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file; create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path and wants something done to it or produced from it. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, or Google Sheets API integration.
How it works
- All Excel files
- Financial models
- XLSX creation, editing, and analysis
SKILL.md preview
---
name: xlsx
description: 'Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file; create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path and wants something done to it or produced from it. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, or Google Sheets API integration.'
license: Proprietary. LICENSE.txt has complete terms
---
# Requirements for Outputs
## All Excel files
### Professional Font
- Use a consistent, professional font (e.g., Arial, Times New Roman) for all deliverables unless otherwise instructed by the user
### 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
- **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
- **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
- Place ALL assumptions in separate assumption cells
- Use cell references instead of hardcoded values in formulas
- Example: Use =B5\*(1+$B$6) instead of =B5\*1.05
## XLSX creation, editing, and analysis
### Overview
A user may ask you to create, edit, or analyze the contents of an .xlsx file.
### Reading and analyzing data
```python
import pandas as pd
df = pd.read_excel("file.xlsx")
all_sheets = pd.read_excel("file.xlsx", sheet_name=None)
```
### CRITICAL: Use Formulas, Not Hardcoded Values
**Always use Excel formulas instead of calculating values in Python and hardcoding them.**
#### ❌ WRONG
```python
total = df["Sales"].sum()
sheet["B10"] = total # Hardcodes 5000
```
#### ✅ CORRECT
```python
sheet["B10"] = "=SUM(B2:B9)"
```
### 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)**:
```bash
python scripts/recalc.py output.xlsx
```
6. **Verify and fix any errors**
#### Creating new Excel files
```python
from openpyxl import Workbook
from openpyxl.styles import Font, PatternFill, Alignment
wb = Workbook()
sheet = wb.active
sheet["A1"] = "Hello"
sheet["B1"] = "World"
sheet["B2"] = "=SUM(A1:A10)"
sheet["A1"].font = Font(bold=True, color="FF0000")
wb.save("output.xlsx")
```
#### Editing existing Excel files
```python
from openpyxl import load_workbook
wb = load_workbook("existing.xlsx")
sheet = wb.active
sheet["A1"] = "New Value"
wb.save("modified.xlsx")
```
### Recalculating formulas
```bash
python scripts/recalc.py <excel_file> [timeout_seconds]
```
The script:
- Automatically sets up LibreOffice macro on first run
- Recalculates all formulas in all sheets
- Scans ALL cells for Excel errors
- Returns JSON with detailed error locations and counts
### Formula Verification Checklist
- [ ] **Test 2-3 sample references**: Verify they pull correct values
- [ ] **Column mapping**: Confirm Excel columns match (e.g., column 64 = BL)
- [ ] **Row offset**: Excel rows are 1-indexed (DataFrame row 5 = Excel row 6)
- [ ] **NaN handling**: Check for null values with `pd.notna()`
- [ ] **Division by zero**: Check denominators before using `/`
### 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
- Use `data_only=True` to read calculated values
- **Warning**: If opened with `data_only=True` and saved, formulas are permanently lost
- Formulas are preserved but not evaluated — use `scripts/recalc.py` to update values
### Code Style Guidelines
- Write minimal, concise Python code without unnecessary comments
- Avoid verbose variable names and redundant operations
- For Excel files: add comments to cells with complex formulas, document data sources for hardcoded values
### Dependencies
- **pandas**: Data analysis and manipulation
- **openpyxl**: Excel file creation and editing with formulas/formatting
- **LibreOffice**: Formula recalculation (via `scripts/soffice.py`)
Files in this package (53)
- LICENSE.txt 1 KB
- SKILL.md 5 KB
- assets/schemas/ISO-IEC29500-4_2016/dml-chart.xsd 73 KB
- assets/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd 7 KB
- assets/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd 50 KB
- assets/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd 1 KB
- assets/schemas/ISO-IEC29500-4_2016/dml-main.xsd 148 KB
- assets/schemas/ISO-IEC29500-4_2016/dml-picture.xsd 1 KB
- assets/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd 9 KB
- assets/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd 14 KB
- assets/schemas/ISO-IEC29500-4_2016/pml.xsd 82 KB
- assets/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd 1 KB
- assets/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd 7 KB
- assets/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd 6 KB
- assets/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd 1 KB
- assets/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd 1 KB
- assets/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd 3 KB
- assets/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd 3 KB
- assets/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd 7 KB
- assets/schemas/ISO-IEC29500-4_2016/shared-math.xsd 23 KB
- assets/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd 1 KB
- assets/schemas/ISO-IEC29500-4_2016/sml.xsd 237 KB
- assets/schemas/ISO-IEC29500-4_2016/vml-main.xsd 26 KB
- assets/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd 25 KB
- assets/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd 1 KB
- assets/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd 6 KB
- assets/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd 4 KB
- assets/schemas/ISO-IEC29500-4_2016/wml.xsd 167 KB
- assets/schemas/ISO-IEC29500-4_2016/xml.xsd 5 KB
- assets/schemas/ecma/fouth-edition/opc-contentTypes.xsd 2 KB
- assets/schemas/ecma/fouth-edition/opc-coreProperties.xsd 2 KB
- assets/schemas/ecma/fouth-edition/opc-digSig.xsd 3 KB
- assets/schemas/ecma/fouth-edition/opc-relationships.xsd 1 KB
- assets/schemas/mce/mc.xsd 3 KB
- assets/schemas/microsoft/wml-2010.xsd 26 KB
- assets/schemas/microsoft/wml-2012.xsd 4 KB
- assets/schemas/microsoft/wml-2018.xsd 1 KB
- assets/schemas/microsoft/wml-cex-2018.xsd 2 KB
- assets/schemas/microsoft/wml-cid-2016.xsd 1 KB
- assets/schemas/microsoft/wml-sdtdatahash-2020.xsd 1 KB
- assets/schemas/microsoft/wml-symex-2015.xsd 1 KB
- scripts/pack.py 2 KB
- scripts/recalc.py 6 KB
- scripts/soffice.py 5 KB
- scripts/unpack.py 2 KB
- scripts/helpers/__init__.py 1 KB
- scripts/helpers/merge_runs.py 5 KB
- scripts/helpers/simplify_redlines.py 6 KB
- scripts/validators/__init__.py 1 KB
- scripts/validators/base.py 32 KB
- scripts/validators/docx.py 16 KB
- scripts/validators/pptx.py 9 KB
- scripts/validators/redlining.py 9 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · jr2804/prompts | 100 | MIT |
| seaworld008/commonly-used-high-value-skills | 100 | MIT |
| Victory-Hugo/S2-Agent-Skill | 100 | MIT |
| rongxinzy/rongxinai | 100 | AGPL-3.0 |
| Navinspire-ia/navin | 100 | AGPL-3.0 |
| mateaix/mateclaw | 100 | Apache-2.0 |
| okou-ai/okou-skills | 100 | MIT |
| wrongstack/wrongstack | 100 | MIT |
| atomicbot-ai/atomic-agent | 100 | MIT |
Database snapshot: 13.11.2026 · package version 0d866f238530 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100xlsx-official
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data);… - 90artifact_spreadsheet
Create, read, edit, fix, or clean spreadsheet files (.xlsx, .xlsm, .csv, .tsv). Use whenever a build task's artifact kind is spreadsheet, or the task names a spreadsheet file and wants something done to it or produced from it, including restructuring messy tabular data into a… - 100spreadsheets
Create, read, edit, analyze, convert, chart, and validate spreadsheet files including XLSX, XLSM, XLS, CSV, and TSV. Use when a spreadsheet is a primary input or deliverable, or when tabular data must remain editable and auditable in workbook form. - 86xlsx-toolkit
Create, edit, clean or analyze Excel/CSV files with live formulas and no errors. Use when a spreadsheet (.xlsx, .xlsm, .csv, .tsv) is the input or the deliverable. - 100minimax-xlsx
Open, create, read, analyze, edit, or validate Excel/spreadsheet files (.xlsx, .xlsm, .csv, .tsv). Use when the user asks to create, build, modify, analyze, read, validate, or format any Excel spreadsheet, financial model, pivot table, or tabular data file. Covers: creating new… - 100spreadsheet
Use when tasks involve creating, editing, analyzing, or formatting spreadsheets (`.xlsx`, `.csv`, `.tsv`) using Python (`openpyxl`, `pandas`), especially when formulas, references, and formatting need to be preserved and verified.