xlsx
Skill by openJiuwen-ai
Reads, creates, edits, repairs and validates .xlsx, .xlsm, .xltx, .csv and .tsv files for AI assistants. It aims for zero format loss and has support for Chinese and CJK content. It suits anyone who works with spreadsheets, workbooks or tabular data.
Install xlsx
Built from the published package, never by AI.
git clone --depth 1 https://github.com/openJiuwen-ai/jiuwenswarm /tmp/jiuwenswarm && mkdir -p ~/.claude/skills && cp -r /tmp/jiuwenswarm/jiuwenswarm/resources/agent/workspace/skills/xlsx ~/.claude/skills/xlsxRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/openJiuwen-ai/jiuwenswarm /tmp/jiuwenswarm && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/jiuwenswarm/jiuwenswarm/resources/agent/workspace/skills/xlsx ~/.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 a workflow for spreadsheet files. The assistant reads the file structure first, then either analyzes the data, creates a new workbook from an XML template, or edits an existing workbook by unpacking it, changing the XML and repacking it. Helper scripts cover formula checks, LibreOffice recalculation and rendering to images for visual review.
The skill is written for general spreadsheet work and is not limited to finance. It describes support for Chinese sheet names and data, GB18030 and GBK encoded CSV files, full-width characters, CJK fonts in rendering, and Chinese number and date conventions. It is aimed at users who create, fill, analyze, fix or format workbooks that may contain pivot tables, VBA macros, charts or named ranges.
Written from the project's SKILL.md and checked against it.
What it can do
- READ analysisInspects sheets, dimensions, named ranges, macros, pivots and charts with xlsx_reader.py before any change.
- CREATE workbooksBuilds a new workbook from a minimal XML template and packs it with xlsx_pack.py.
- EDIT existing filesUnpacks, edits the XML and repacks, aiming to keep pivots, macros, charts and sparklines intact.
- Add columnAdds a column with formulas, number format, total row and borders using xlsx_add_column.py.
- Insert rowInserts a row and updates formulas through xlsx_insert_row.py, which calls xlsx_shift_rows.py internally.
- FIX formulasRepairs broken formula nodes and rebuilds calcChain.xml in an existing workbook.
- VALIDATE formulasFlags #REF!, #DIV/0!, #VALUE!, #N/A, #NAME? and circular references with formula_check.py.
- REVIEW renderingRenders sheets to PNG, PDF or HTML with CJK fonts so Chinese text does not show as tofu boxes.
What you need
- Python 3
- openpyxl
- LibreOffice
- Poppler
- CJK fonts
Try asking
- Read this xlsx and summarize the sales sheet by region
- Create a monthly budget workbook with Chinese headers and SUM totals
- Add a percentage column G to the 2025 budget sheet with a total row
Good to know
- Editing existing files should not use an openpyxl load and save round trip, because it can drop macros, pivots and charts.
- openpyxl does not evaluate formulas, so recalculation needs LibreOffice via libreoffice_recalc.py.
- Finance conventions are optional and kept in a separate section.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: jiuwenswarm/resources/agent/workspace/skills/xlsx/SKILL.md, jiuwenswarm/resources/agent/workspace/skills/xlsx/scripts/_xlsx_common.py, jiuwenswarm/resources/agent/workspace/skills/xlsx/scripts/doctor.py, jiuwenswarm/resources/agent/workspace/skills/xlsx/scripts/formula_check.py, jiuwenswarm/resources/agent/workspace/skills/xlsx/scripts/libreoffice_recalc.py, jiuwenswarm/resources/agent/workspace/skills/xlsx/scripts/xlsx_add_column.py, jiuwenswarm/resources/agent/workspace/skills/xlsx/scripts/xlsx_insert_row.py, jiuwenswarm/resources/agent/workspace/skills/xlsx/scripts/xlsx_pack.py, jiuwenswarm/resources/agent/workspace/skills/xlsx/scripts/xlsx_reader.py. This looks for known risky patterns and is not a full audit. How grades work
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 this skill work with Chinese spreadsheets and GBK CSV files?
The source says it has first-class support for Chinese and CJK content, including GB18030 and GBK encoded CSV files. It advises detecting the encoding rather than assuming UTF-8.
Will editing a workbook keep its pivot tables and macros?
The skill is designed to keep pivot tables, VBA macros, charts, sparklines and conditional formatting by editing the XML directly. It warns against openpyxl round trips on existing files.
How are formulas checked?
formula_check.py performs a static check for error values and circular references. libreoffice_recalc.py recalculates the file and writes back cached values.
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 86 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.
