In short.
This report covers the xlsx skill in the anthropics/skills GitHub repository. The skill is a set of instructions plus a LibreOffice-based recalculation script that guides an AI agent through creating, editing and checking spreadsheet files, and it is written for agent users and developers. Its main catch is that it expects a code-execution runtime with Python spreadsheet libraries and LibreOffice. SKILL.md is concrete and opinionated: formulas must be live, a workbook with formulas must be recalculated with scripts/recalc.py, and a run that reports errors must not be shipped. The licence text is Apache 2.0. By file count, most of the folder is shared Office validation tooling and XML schemas that the xlsx path does not call. The folder has no test suite or sample workbook files. Everything below comes from reading the captured files; no script was run.
Researched and written by an AI model and checked by a second AI model. How it works
The review covers the complete skills/xlsx folder at the address [https://github.com/anthropics/skills/tree/main/skills/xlsx], captured at revision 2c5958ecac7cee2b583967a2c4981d0f4a75c579. That includes SKILL.md, LICENSE.txt, scripts/recalc.py, scripts/office/soffice.py, validate.py, the validators and helper modules, and the bundled XSD schema files, which were read for purpose rather than validated. The repository-level THIRD_PARTY_NOTICES.md was read as a related notice outside the selected folder. Linked pages and other repository folders were not reviewed. None of the scripts were run, so several things remain untested: LibreOffice round-trip effects, the preservation of external links, Windows support, performance on large workbooks, actual runtimes and the real-world accuracy of agent output. The costs of running the skill on any agent platform are unknown.
The overview
What it is
This is the xlsx skill published at [https://github.com/anthropics/skills/tree/main/skills/xlsx], captured at repository revision 2c5958ecac7cee2b583967a2c4981d0f4a75c579. Its entry point is SKILL.md (8,584 bytes). The file opens with front matter that names the skill xlsx and gives a long description that serves as the rule for when an agent should use it. The front matter also says the complete licence terms are in LICENSE.txt. No version number appears in the file.
Besides SKILL.md and LICENSE.txt, the folder holds two scripts the instructions actually refer to: scripts/recalc.py and scripts/office/soffice.py. It also holds a much larger body of Office-document tooling under scripts/office. That includes a validate.py command, validator classes for Word documents, PowerPoint files and tracked changes, PowerPoint helper modules, and several dozen XML schema (XSD) files. Most of this second group is not part of the spreadsheet workflow, as the mechanism section explains.
Overall assessment
This is a focused, usable instruction skill rather than a stub. SKILL.md gives the agent a table matching tasks to tools, a list of requirements for every output, a mandatory recalculation step backed by a real script, a list of formulas that survive verification, a set of openpyxl pitfalls, and a colour and number-format convention for financial models. The advice is specific enough to change how an agent builds a workbook. For example, it forces live formulas instead of values computed in Python.
The catches are practical. The skill assumes the agent can run Python and shell commands in an environment with openpyxl, pandas, markitdown and LibreOffice. SKILL.md describes the Python packages as preinstalled but allows installing one if an import fails. A large share of the bundled files serve Word and PowerPoint, not spreadsheets. The folder contains no tests, sample workbooks or benchmarks, so there is no captured evidence of how well it works in practice. This assessment rests on reading the instructions and code only; nothing was executed.
Who it is for
It is for people who run an AI agent that can read skill files and execute code, and who want that agent to produce or modify spreadsheet files reliably. That includes analysts who want messy CSV or TSV data turned into a proper workbook. It also includes finance users, because the skill ships a specific colour and number-format convention for financial models: blue inputs, black formulas, green cross-sheet links, red external links and yellow key assumptions.
It is also useful to developers building agent setups who want a ready-made rulebook for spreadsheet tasks. It is explicitly not meant for tasks whose main deliverable is a Word document, an HTML report, a standalone Python script, a database pipeline or a Google Sheets API integration; the description says not to trigger in those cases. A beginner can benefit without reading the code, but only if their agent platform already loads and runs skills like this one, which the captured files do not describe.
What it can do
According to the description, the skill applies whenever a spreadsheet is the primary input or output. That covers opening, reading, editing or fixing .xlsx, .xlsm, .xltx, .csv or .tsv files (adding columns, computing formulas, formatting, charting, cleaning messy data). It also covers creating a new spreadsheet from scratch or from other data, converting between tabular formats, and restructuring junk data with malformed rows or misplaced headers into a proper spreadsheet. A casual reference such as 'the xlsx in my downloads' is supposed to trigger it.
The body adds working rules. Use openpyxl for creating or editing with formulas and formatting, and pandas for bulk data in or out. Use markitdown for a quick look; it gives no cell coordinates, so edits should not be planned from it. Every output must use a professional font, have zero formula errors, use formulas rather than hardcoded results, follow the user's spec literally, and document every assumption and hardcoded number. A workbook created for others to fill in also needs a short legend and one example row, and an edit to an existing file must match that file's conventions. recalc.py recalculates through LibreOffice and returns a JSON error summary.
One gap: the description lists charting as a trigger, but the body of SKILL.md contains no chart-specific instructions. Chart quality therefore depends on the agent and on openpyxl rather than on guidance in this skill.
Using it
What you need to run it
SKILL.md lists its dependencies as openpyxl, pandas and markitdown, described as preinstalled, with pip install only if an import fails or the markitdown command is missing. It also lists LibreOffice (soffice), which it says is auto-configured for sandboxed environments through scripts/office/soffice.py. The agent therefore needs a code-execution environment with Python, plus soffice on the PATH; recalc.py returns the error 'soffice not found on PATH' if LibreOffice is missing. The target file must be writable, because recalculation rewrites it in place.
The code adds smaller requirements. On Linux, recalc.py wraps the run in the timeout command only when that command is available. On macOS it uses gtimeout only when its availability check succeeds. In every other case, including other platforms, only the Python subprocess timeout applies. If the sandbox blocks AF_UNIX sockets, soffice.py compiles a small C shim with gcc at runtime and loads it through LD_PRELOAD, so gcc and a writable temporary directory are needed in that case. How a particular agent product discovers and loads this skill folder is not described in the captured files and is unknown.
How it works
The instruction layer is SKILL.md. It exists because openpyxl writes formulas as strings with no cached values. Anything that reads cached values (pandas, data_only loading, many previewers) therefore sees empty cells until the workbook is recalculated. The skill makes recalculation mandatory whenever the file contains formulas. It warns that a clean recalculation only proves formulas evaluate, not that they are correct, and tells the agent to test two or three formulas before building out a grid. It also steers formula choice. It prefers Excel-2007-era functions such as SUMIFS, INDEX, MATCH, IFERROR and SUMPRODUCT, requires an _xlfn. prefix for TEXTJOIN, CONCAT, IFS, SWITCH, MAXIFS and MINIFS, and forbids XLOOKUP, XMATCH, SORT, FILTER, UNIQUE and SEQUENCE because the runtime's LibreOffice cannot evaluate them reliably.
Going by the code, recalc.py first checks that the file exists and is writable. Unless --force is given, it then checks for links to other workbooks. This check runs only on workbooks that contain an external-links part, and it looks for cell formulas that refer to another workbook, directly or through a defined name, and whose cached values are missing. If it finds any, it refuses to proceed and warns that recalculating would resolve them to #NAME? and delete the external links for good. The same message says charts and conditional formats can hold external references too, so its list may not be exhaustive. Passing this check therefore does not establish that all external links will survive.
After those checks, recalc.py creates a temporary LibreOffice profile, installs a small Basic macro that calls calculateAll, store and close, and runs soffice headless against the file. If the file's timestamp and size are unchanged afterwards, it treats the run as a failure. Otherwise it reloads the workbook with openpyxl, scans cached values for the strings #VALUE!, #DIV/0!, #REF!, #NAME?, #NULL!, #NUM! and #N/A, and counts formulas. It then prints JSON with status, total_formulas, total_errors and error_summary, listing up to 100 locations per error type. Only a result with an error key exits non-zero; a result with errors_found exits 0. Reading the code, any text cell that merely contains one of those strings would also be counted. That is a reading of the code, not an observed behaviour.
The rest of scripts/office is shared Office tooling. validate.py supports Word and PowerPoint validation, but for xlsx-family files it prints that no XSD schema validation is performed, points to recalc.py instead, and exits 0. The docx, pptx and redlining validators and the pptx helper modules are therefore not exercised by the spreadsheet path. Nothing in the captured xlsx path loads the spreadsheet schema (sml.xsd) either.
Setup
The captured evidence does not give install steps for any specific agent product, so host-specific installation is unknown. What the files establish is the layout: SKILL.md says script paths are relative to the skill's own directory. The skill folder (SKILL.md, LICENSE.txt and the scripts directory, including scripts/office/soffice.py) therefore needs to stay together.
Before use, confirm that Python can import openpyxl, pandas and markitdown, and that soffice runs. The recalculation command given in SKILL.md is python scripts/recalc.py output.xlsx, with an optional timeout in seconds (default 30). recalc.py also accepts --force to recalculate even when that would destroy external links. Large or slow workbooks may need a longer timeout; the script reports a timeout as an error and says formulas were not recalculated.
Worked example (illustrative, not run)
Suppose a user asks an agent to create a new workbook with their input values in B2:B9 and a total in B10. The description tells the agent to use this skill because a spreadsheet is the deliverable. Following the instructions, the agent would build the workbook with openpyxl. It would place the inputs exactly where requested, because SKILL.md says to follow the user's spec literally, and use a professional font. It would write the total as a live formula, sheet['B10'] = '=SUM(B2:B9)', rather than a total computed in Python, so the sheet recalculates when the inputs change. It would also note where the hardcoded inputs came from, saying plainly that they came from the user. Then it would save the file and run python scripts/recalc.py output.xlsx.
The script prints JSON containing status, total_formulas, total_errors and error_summary. SKILL.md says never to ship while errors_found is reported, and never to treat a clean exit as a clean workbook. It also says to check that the formulas pull the intended values, because an off-by-one range recalculates cleanly but gives wrong numbers. This walk-through is derived from the instructions and code; it was not executed, and no real output is shown.
Assessment & evidence
Limitations and risks
Formula coverage is limited by design. Because the recalculation engine is LibreOffice, the skill forbids XLOOKUP, XMATCH, SORT, FILTER, UNIQUE and SEQUENCE and requires _xlfn. prefixes for six newer functions. Workbooks it produces will therefore avoid modern Excel dynamic-array features, and any function LibreOffice cannot parse ends up as a literal #NAME? in the delivered file. The skill also says that an openpyxl-written file has no spill metadata, so spilled array results would be truncated while recalc.py still reports zero errors.
Recalculation rewrites the user's file in place through LibreOffice. The skill does not say whether charts, images, pivot tables, conditional formats, data validation or macros survive that round trip, or an openpyxl load and save. Preservation of those features is unknown and was not assessed. The skill does flag two specific losses. The first concerns external links: saving a workbook that links to another file with openpyxl and then recalculating can destroy those links, because openpyxl strips the cached values and LibreOffice then writes #NAME? and deletes the links. SKILL.md's remedy is to copy the linked cells' values out of the original before saving. That keeps the numbers but replaces the linked formulas with saved values, which no longer update when the other file changes. The second concerns macros: .xlsm files lose their macros unless keep_vba=True is passed to load_workbook. Use a copy of any important workbook.
Loading with data_only=True becomes destructive if the workbook is saved. SKILL.md explains that this mode returns cached values with the formulas gone, so saving that loaded workbook permanently replaces every formula with a literal value. Use it only to inspect values. Any edit that must keep formulas has to be made on a separate workbook loaded the default way, and seeing both formulas and values takes two loads.
recalc.py's external-link check is not a guarantee. It only looks at cell formulas and defined names, only in workbooks that contain an external-links part, and only flags references whose cached value is already missing. Its own message warns that charts and conditional formats can hold external references too, so its list may not be exhaustive. The permanent link loss it describes is its warning about the uncached references it does detect. A workbook that passes the check is not thereby shown to keep all of its external links.
The checker searches cached string values for seven specified error strings, and it also matches those strings inside ordinary text. It does not detect other error types or verify that every formula has a cached result, and it cannot tell whether a formula is logically right. When sockets are blocked, soffice.py compiles a C shim and preloads it into LibreOffice, which is worth knowing in a locked-down environment. Behaviour on Windows, with very large workbooks, or inside a particular agent host was not assessed. Several bundled scripts, including validate.py and the validator classes, import lxml and defusedxml. SKILL.md does not list those as dependencies because the xlsx path does not use them.
Why the assessment reads this way
The positive points are anchored in the files. The instructions address a real, well-known weakness: formulas written by openpyxl have no cached values. The script that addresses it handles failure cases with care, including missing soffice, an unwritable file, timeouts, a file left unchanged and detected uncached external links. The guidance on formula functions and external links is specific. These are concrete design choices rather than generic advice.
The caution comes from what is missing or inert. The captured folder contains no test suite, sample workbook files or benchmark results; SKILL.md does contain illustrative formula examples. Effectiveness is therefore unproven here. The Word and PowerPoint validators and the schema bundle add weight to the folder without helping spreadsheets, since validate.py exits early for xlsx files. Confidence is therefore moderate. It is high that the skill does what its text says on paper, and low on how reliably an agent follows it or how LibreOffice treats complex real-world workbooks.
Alternatives
The skill itself marks its boundary. For Word documents, HTML reports, standalone Python scripts, database pipelines or Google Sheets API work it says not to trigger, so other tools or skills are needed there. The Word and PowerPoint validators bundled in this folder suggest related document skills exist in the same repository, but those were outside the captured scope and were not reviewed.
Without the skill, an agent can still write openpyxl or pandas code directly, since those are the libraries the skill builds on. What the skill adds is the rule set, the recalculation helper and the list of pitfalls. Other spreadsheet libraries and Excel-native automation exist, but no comparison was made, so no claim is offered about which is better.
Evidence base
The main sources are SKILL.md, for the purpose, rules, dependencies, formula guidance and pitfalls; scripts/recalc.py, for the recalculation and error-reporting behaviour, the external-link check and its non-exhaustiveness warning, the timeout handling and the platform handling; scripts/office/soffice.py, for the sandbox shim and temporary profile handling; and scripts/office/validate.py, for the early exit on xlsx files. LICENSE.txt supplies the licence text. base.py, docx.py, pptx.py and redlining.py show that the validator tooling is built for Word and PowerPoint. The schema files were read only to identify their purpose; they were not validated or tested.
THIRD_PARTY_NOTICES.md was read as a repository-level notice outside the xlsx folder. The mc.xsd comment about docx4j and the W3C header in xml.xsd were the only provenance statements found in the bundled schemas.
Access & freshness
Costs
No price is stated for the skill. The licence is Apache 2.0, which grants use without charge, so the files themselves carry no licence fee. The cost of running the skill depends on the agent platform and model, which the captured files do not describe, so token and compute costs are unknown. SKILL.md is about 8.6 KB of text, which gives a rough idea of the context it adds when loaded; an exact token count was not measured.
Per run, recalc.py starts LibreOffice twice: once to create a temporary profile and once to recalculate. The timeout argument defaults to 30 seconds, but it is not a total runtime limit. Profile creation has its own timeout, recalculation receives at least five seconds plus a subprocess allowance, and workbook scanning has no timeout. Whether LibreOffice, openpyxl, pandas or markitdown have any cost or licence conditions for a given deployment is not covered by the captured files and was not assessed.
Licence and reuse rights
SKILL.md states 'license: Complete terms in LICENSE.txt', and LICENSE.txt contains the Apache License, Version 2.0. That licence grants a perpetual, worldwide, no-charge copyright licence to reproduce, prepare derivative works, publicly display and distribute the work, plus a patent licence, subject to conditions. For redistribution, the conditions include passing on a copy of the licence, marking modified files, and keeping copyright, patent, trademark and attribution notices. The licence does not grant trademark rights and disclaims warranty and liability. The captured LICENSE.txt leaves the appendix placeholder for the copyright owner unfilled, so no named holder appears in that file; the files are hosted under the anthropics organisation on GitHub. No NOTICE file appears among the captured files.
The repository-level THIRD_PARTY_NOTICES.md, which sits outside the xlsx folder, lists imageio and imageio-ffmpeg under the BSD 2-Clause licence, FFmpeg 7.0.2 under GPL v3, Pillow under the MIT-CMU (HPND) licence, and a list of fonts under the SIL Open Font License. No file in the captured xlsx folder references any of those components, and the notice does not say which parts of the repository it covers. It should not be read as applying to this skill without checking.
Open question: the folder bundles ISO/IEC 29500, ECMA and Microsoft XML schema files and a W3C xml.xsd. The captured files state no separate terms for them, and mc.xsd says it is a modified version of a file from the docx4j project without giving a licence. If you plan to redistribute those schemas separately, check their provenance and terms first. Third-party runtime tools (LibreOffice, openpyxl, pandas, markitdown) are not bundled and keep their own licences, which were not captured.
Freshness
The material was captured on 12 November 2026 at repository revision 2c5958ecac7cee2b583967a2c4981d0f4a75c579. The commit date, release history and change log are not in the captured files, and SKILL.md carries no version number. How recent the content is, and whether the main branch has moved on since, is therefore unknown.
Some statements in SKILL.md describe a particular runtime, such as which packages are preinstalled and which functions the runtime's LibreOffice cannot evaluate. SKILL.md also notes that newer LibreOffice builds behave differently for some array functions. Those statements can go stale as the environment changes, so check them against your own setup.
Suggested next steps
If you want an agent to handle spreadsheets, first check that your agent host can load a skill folder and run Python and soffice. Then try the skill on a copy of a non-critical workbook. Run python scripts/recalc.py on a file with a few formulas and read the JSON to confirm the environment works, and include one deliberately bad formula to see the error report.
Before relying on the skill for important files, test how your own workbooks fare with charts, images, pivot tables, conditional formats, macros and external links, the areas the skill does not vouch for. If you plan to redistribute the folder, review the Apache 2.0 text and decide whether you need the unused Word and PowerPoint tooling and schemas. Compare against the upstream repository for newer revisions.
