xlsx
Skill by agentscope-ai
Opens, reads, edits, repairs and creates spreadsheet files in .xlsx, .xlsm, .xltx, .csv and .tsv formats, and converts between them. It is for users whose main input or output is a spreadsheet file.
Install xlsx
Built from the published package, never by AI.
git clone --depth 1 https://github.com/agentscope-ai/QwenPaw /tmp/QwenPaw && mkdir -p ~/.claude/skills && cp -r /tmp/QwenPaw/src/qwenpaw/agents/skills/xlsx-zh ~/.claude/skills/xlsxRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/agentscope-ai/QwenPaw /tmp/QwenPaw && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/QwenPaw/src/qwenpaw/agents/skills/xlsx-zh ~/.gemini/antigravity-cli/skills/xlsxAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The xlsx skill gives an AI assistant instructions for working with spreadsheet files. It covers opening and editing existing .xlsx, .xlsm, .xltx, .csv and .tsv files, adding columns, calculating formulas, formatting, making charts, cleaning messy data, creating new workbooks, and converting between formats. It uses openpyxl for formulas and formatting, pandas for bulk data, and markitdown for quick sheet previews.
Formulas are recalculated with scripts/recalc.py, which runs LibreOffice and reports formula errors by type and cell. The guide asks the assistant to write formulas instead of hard-coded results, follow the conventions of existing files, and document assumptions. It is for users who need a spreadsheet file as the main deliverable. It does not apply when the main output is a Word document, HTML report, standalone Python script, database pipeline or Google Sheets API integration.
Written from the project's SKILL.md and checked against it.
What it can do
- Edit existing spreadsheetsOpen, read, edit or repair .xlsx, .xlsm, .xltx, .csv and .tsv files.
- Create workbooksBuild new spreadsheets from scratch or from other data sources.
- Write formulasAdd live formulas such as SUMIFS, INDEX and MATCH instead of hard-coded results.
- Recalculate with LibreOfficeRun scripts/recalc.py to compute formulas and report any errors found.
- Clean messy dataRestructure malformed rows, misplaced headers and junk data into a clean spreadsheet.
- Format and chartApply formatting, such as fonts and number formats, and create charts.
- Convert formatsConvert between spreadsheet file formats.
What you need
- Python
- LibreOffice (soffice) for formula recalculation
- openpyxl and pandas
- markitdown, if its import or command is missing
- On Windows, dependencies must be installed and on PATH
Try asking
- Clean up the messy headers in the xlsx file in my downloads folder.
- Add a total row with SUM formulas to this .xlsx and recalculate it.
- Convert this CSV file into a formatted Excel workbook.
Good to know
- Do not use XLOOKUP, XMATCH, SORT, FILTER, UNIQUE or SEQUENCE. Use INDEX/MATCH, or Python for sorting and filtering.
- Macros in .xlsm files are lost unless keep_vba=True is passed to load_workbook.
- Not used when the main deliverable is a Word document, HTML report, standalone Python script, database pipeline or Google Sheets API integration.
- On Windows, required dependencies must already be installed and available on PATH.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: src/qwenpaw/agents/skills/xlsx-zh/SKILL.md, src/qwenpaw/agents/skills/xlsx-zh/scripts/office/helpers/__init__.py, src/qwenpaw/agents/skills/xlsx-zh/scripts/office/helpers/pptx_chart.py, src/qwenpaw/agents/skills/xlsx-zh/scripts/office/helpers/pptx_slide.py, src/qwenpaw/agents/skills/xlsx-zh/scripts/office/helpers/pptx_theme.py, src/qwenpaw/agents/skills/xlsx-zh/scripts/office/soffice.py, src/qwenpaw/agents/skills/xlsx-zh/scripts/office/validate.py, src/qwenpaw/agents/skills/xlsx-zh/scripts/office/validators/__init__.py, src/qwenpaw/agents/skills/xlsx-zh/scripts/office/validators/base.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
LICENSE.txt11 KB -
SKILL.md9 KB -
scripts/office/helpers/__init__.py3 KB -
scripts/office/helpers/pptx_chart.py6 KB -
scripts/office/helpers/pptx_slide.py2 KB
Show all 53 files
-
scripts/office/helpers/pptx_theme.py3 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd73 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd7 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd50 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd624 B -
scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd148 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd1 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd9 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd14 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd82 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd1 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd7 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd6 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd1 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd880 B -
scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd3 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd3 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd7 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd23 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd1 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd237 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd26 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd25 KB -
scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd535 B -
scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd6 KB
And 23 more files on GitHub.
Alternatives to xlsx
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
xlsx: common questions
Which spreadsheet formats does the xlsx skill handle?
It handles .xlsx, .xlsm, .xltx, .csv and .tsv files, including reading, editing, creating and converting between them.
Why do formulas show as errors or empty values after editing?
Formulas written with openpyxl have no cached values, so the file must be recalculated with scripts/recalc.py. The script reports errors such as #NAME? with their cell locations.
Can the skill use XLOOKUP or FILTER in my workbook?
No. The guide says never to use XLOOKUP, XMATCH, SORT, FILTER, UNIQUE or SEQUENCE, and to use INDEX/MATCH or Python for those tasks instead.
How do I install xlsx?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is xlsx free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is xlsx safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to xlsx?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
