Claude Official Skill: XLSX — Spreadsheet Operations
Claude Code skill for Excel spreadsheets. Create workbooks, write formulas, generate charts, pivot tables, and data analysis.
Instalación con revisión previa
Este activo requiere revisión. El prompt copiado pide dry-run, muestra escrituras y continúa solo tras confirmación.
npx -y tokrepo@latest install b9536815-4d1b-449f-ab72-bee80e34a3ed --target codexPrimero dry-run, confirma las escrituras y luego ejecuta este comando.
What it is
This is an official Claude Code skill from Anthropic's skills repository for working with Excel spreadsheet files. It handles creating workbooks, writing formulas, generating charts, building pivot tables, and automating data analysis across XLSX, XLSM, and CSV formats.
The skill is designed for developers and analysts who use Claude Code and need to programmatically generate or manipulate spreadsheets without leaving the terminal.
How it saves time or tokens
Instead of manually writing openpyxl or xlsxwriter code, the skill provides Claude Code with the knowledge to handle spreadsheet operations directly. It understands Excel formula syntax, chart types, and formatting conventions. The estimated token cost is around 500 tokens per invocation.
How to use
- Install via Claude Code:
claude skill install anthropics/skills/xlsx
- Or manually copy the SKILL.md content to
.claude/skills/xlsx/SKILL.md - The skill activates automatically when you ask Claude Code to work with spreadsheet files
Example
# Generated by Claude Code with xlsx skill
import openpyxl
from openpyxl.chart import BarChart, Reference
wb = openpyxl.Workbook()
ws = wb.active
ws.title = 'Sales Report'
# Headers and data
ws.append(['Month', 'Revenue', 'Costs'])
ws.append(['Jan', 50000, 30000])
ws.append(['Feb', 62000, 35000])
ws.append(['Mar', 58000, 32000])
# Add formula
ws['D1'] = 'Profit'
ws['D2'] = '=B2-C2'
ws['D3'] = '=B3-C3'
ws['D4'] = '=B4-C4'
# Add chart
chart = BarChart()
data = Reference(ws, min_col=2, max_col=4, min_row=1, max_row=4)
chart.add_data(data, titles_from_data=True)
ws.add_chart(chart, 'A6')
wb.save('sales_report.xlsx')
Related on TokRepo
- AI coding tools — development productivity skills
- Automation tools — data processing automation
Common pitfalls
- Forgetting to install the openpyxl dependency in your Python environment
- Opening large XLSX files in read-only mode to avoid memory issues
- Not handling formula calculation mode (formulas show raw text until opened in Excel)
Preguntas frecuentes
The skill handles XLSX (standard Excel), XLSM (macro-enabled Excel), CSV (comma-separated values), and other tabular formats that openpyxl and Python's csv module can process.
No. The skill uses Python libraries (openpyxl, xlsxwriter) to create and manipulate spreadsheet files programmatically. Excel is only needed if you want to open and view the generated files.
Yes. The skill knows how to generate bar charts, line charts, pie charts, scatter plots, and other chart types supported by openpyxl. Charts are embedded directly in the XLSX file.
For large files, the skill uses openpyxl's read-only and write-only modes to minimize memory usage. It can process files with hundreds of thousands of rows without loading everything into memory.
Yes. This is an official skill from Anthropic's skills repository, maintained by the Claude Code team. It follows Anthropic's skill format and is updated with new capabilities.
Referencias (3)
- Anthropic Skills GitHub— Official skill from Anthropic's skills repository
- openpyxl Documentation— openpyxl Python library for Excel files
- Anthropic Documentation— Claude Code skill system
Relacionados en TokRepo
Fuente y agradecimientos
Created by Anthropic. Licensed under MIT. anthropics/skills
Discusión
Activos relacionados
Claude Official Skill: PPTX — PowerPoint Presentations
Claude Code skill for PowerPoint. Create slide decks, add charts, format layouts, import content, and generate presentations from text.
Claude Official Skill: DOCX — Word Document Creation
Claude Code skill for Word documents. Create, read, edit .docx files with formatting, tables, images, headers, and styles.
Claude Official Skill: PDF — Read, Create & Edit PDFs
Claude Code skill for PDF files. Read content, extract data, create new PDFs, merge documents, and convert formats. Activates automatically.
Claude Official Skill: internal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write so...