xlsx
Skill by agentscope-ai
Creates, edits and analyzes .xlsx, .xlsm, .xltx, .csv and .tsv spreadsheet files for AI assistants. It is for tasks where a spreadsheet is the main input or output, such as adding formulas, formatting, charts or cleaning messy data.
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-en ~/.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-en ~/.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
This agent skill gives an AI assistant instructions and scripts for working with spreadsheet files. It covers opening, reading, editing and fixing existing .xlsx, .xlsm, .xltx, .csv and .tsv files, creating new spreadsheets from scratch or from other data, and converting between tabular formats. It uses openpyxl for creating and editing workbooks with formulas and formatting, pandas for bulk data, and markitdown for a quick look at a sheet. A recalc.py script uses LibreOffice to compute formulas and report formula errors.
The skill sets output rules, such as using formulas instead of hardcoded results, using a professional font, and documenting assumptions. It also lists formula functions that work in the LibreOffice runtime. The skill is for users who need a spreadsheet file as the deliverable. The source says it should not be used when the main deliverable 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 and fix .xlsx, .xlsm, .xltx, .csv and .tsv files, such as adding columns or formulas.
- Create spreadsheetsBuild new spreadsheets from scratch or from other data sources using openpyxl and pandas.
- Recalculate formulasRun recalc.py to compute formulas with LibreOffice and report formula errors as JSON.
- Clean messy dataRestructure malformed rows, misplaced headers and junk data into proper spreadsheets.
- Convert tabular formatsConvert between tabular file formats such as CSV, TSV and Excel workbooks.
- Quick sheet previewUse markitdown to list each sheet's contents without cell coordinates.
- Financial model conventionsApply color coding, number formats and labeled assumption cells for financial models unless the user says otherwise.
What you need
- Python with openpyxl and pandas
- markitdown for quick sheet previews
- LibreOffice (soffice) for formula recalculation
- On Windows, dependencies must be installed and available in PATH
Try asking
- Add a total row with SUM formulas to the xlsx in my downloads folder.
- Clean this messy CSV, fix the misplaced headers and save it as xlsx.
- Convert sales.tsv into a formatted spreadsheet with a bar chart.
Good to know
- The skill does not use XLOOKUP, XMATCH, SORT, FILTER, UNIQUE or SEQUENCE because the LibreOffice runtime cannot evaluate them reliably.
- Re-saving a workbook that links to another file with openpyxl can remove those links.
- .xlsm files lose their macros unless keep_vba=True is passed to load_workbook.
- On Windows, missing dependencies are reported and the task stops rather than retrying.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: src/qwenpaw/agents/skills/xlsx-en/SKILL.md, src/qwenpaw/agents/skills/xlsx-en/scripts/office/helpers/__init__.py, src/qwenpaw/agents/skills/xlsx-en/scripts/office/helpers/pptx_chart.py, src/qwenpaw/agents/skills/xlsx-en/scripts/office/helpers/pptx_slide.py, src/qwenpaw/agents/skills/xlsx-en/scripts/office/helpers/pptx_theme.py, src/qwenpaw/agents/skills/xlsx-en/scripts/office/soffice.py, src/qwenpaw/agents/skills/xlsx-en/scripts/office/validate.py, src/qwenpaw/agents/skills/xlsx-en/scripts/office/validators/__init__.py, src/qwenpaw/agents/skills/xlsx-en/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
Does the xlsx skill work with macros in .xlsm files?
The source says .xlsm files lose their macros when loaded and saved with openpyxl unless keep_vba=True is passed to load_workbook.
Why does the skill avoid some newer Excel functions?
The source says LibreOffice cannot evaluate functions such as XLOOKUP, FILTER and UNIQUE, and openpyxl-written spill formulas return truncated results. It recommends INDEX and MATCH for lookups and sorting in Python instead.
Can it run on Windows?
The source says recalc.py works on Linux, macOS and Windows, and that on Windows the dependencies must be installed and available in PATH.
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 91 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.
