xlsx
Skill174 starsChanged 46 days agoMITView on GitHub
Create, edit, analyze, and recalculate Excel workbooks (.xlsx, .xlsm) with live formulas, formatting, and charts. Use when a task produces or modifies a spreadsheet file, turns CSV/TSV data into one, or needs values, formulas, or formatting read from one.
195 other projects use a version of this.
Adopted by
Most recently taken up by
- openamer-max/max-scriptstheir own version, first seen Nov 29, 2026
- zrtch/awesome-skillstheir own version, first seen Nov 29, 2026
- xfstudio/skillstheir own version, first seen Nov 29, 2026
- autohandai/community-skillstheir own version, first seen Nov 29, 2026
- alexj11324/Mikkatheir own version, first seen Nov 29, 2026
- holon-run/holontheir own version, first seen Nov 29, 2026
Used with
Projects with it also use Video Generation, VLM and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
huang-x-hSkillVideo Generation
Implement AI-powered video generation capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to generate videos from text prompts or images, create video content programmatically, or build applications that produce video outputs. Supports asynchronous task management with status polling and result retrieval.
Also in 6 projects that use this
huang-x-hSkillVLM
Implement vision-based AI chat capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to analyze images, describe visual content, or create applications that combine image understanding with conversational AI. Supports image URLs and base64 encoded images for multimodal interactions.
Also in 6 projects that use this
dav-niu474Skillgift-evaluator
The PRIMARY tool for Spring Festival gift analysis and social interaction generation. Use this skill when users upload photos of gifts (alcohol, tea, supplements, etc.) to inquire about their value, authenticity, or how to respond socially. Integrates visual perception, market valuation, and HTML card generation.
Also in 5 projects that use this
dav-niu474SkillPodcast Generate
Generate podcast episodes from user-provided content or by searching the web for specified topics. If user uploads a text file/article, creates a dual-host dialogue podcast (or single-host upon request). If no content is provided, searches the web for information about the user-specified topic and generates a podcast. Duration scales with content size (3-20 minutes, ~240 chars/min). Uses z-ai-web-dev-sdk for LLM script generation and TTS audio synthesis. Outputs both a podcast script (Markdown) and a complete audio file (WAV).
Also in 5 projects that use this
Liang-MHSkillstock_analysis
获取 A 股、基金和港股的实时行情和技术分析数据
Also in 5 projects that use this
SeifBenayedSkillfile-reading
Use this skill when a file has been uploaded but its content is NOT in your context — only its path at /mnt/user-data/uploads/ is listed in an uploaded_files block. This skill is a router: it tells you which tool to use for each file type (pdf, docx, xlsx, csv, json, images, archives, ebooks) so you read the right amount the right way instead of blindly running cat on a binary. Triggers: any mention of /mnt/user-data/uploads/, an uploaded_files section, a file_path tag, or a user asking about an uploaded file you have not yet read. Do NOT use this skill if the file content is already visible in your context inside a documents block — you already have it.
Also in 6 projects that use this
- +1 more from huang-x-h
- +4 more from dav-niu474
Other versions195 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 195
- anthropics/skills★ 202ksame name
- spinabot/brigade★ 11ksame name
- netease-youdao/LobsterAI★ 6.2ksame name
- nextlevelbuilder/goclaw★ 3.7ksame name
- jjyaoao/HelloAgents★ 3.2ksame name
- anthropics/claude-agent-sdk-demos★ 2.8ksame name
- K-Dense-AI/claude-scientific-writer★ 2.6ksame name
- OpenCoworkAI/open-cowork★ 2.2ksame name
- wanxingai/LightAgent★ 1.2ksame name
- ChenglinPoly/infiAgent★ 1.2ksame name
185 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 187 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Run Python you write with its dependencies declared, either uv run --with openpyxl script.py or a PEP 723 header.
- Very specific: line 65
Use openpyxl's native charts (openpyxl.chart) for charts that belong in the workbook.
- Distinctive: line 82
Structure: every assumption sits in its own labelled cell and is referenced, never typed into a formula.
“Common” is measured: kept by at least 6 in 10 of the 187 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Excel workbooks
You already know openpyxl and pandas. This skill adds what you can't see from the code: a recalculation step that reports what is actually wrong in the workbook, and the behaviours of openpyxl and LibreOffice that silently break files.
Running scripts
<skill> is the directory containing this file. Run bundled scripts by absolute path from the user's working directory, so relative paths to their files keep working:
uv run <skill>/scripts/recalc.py model.xlsxRun Python you write with its dependencies declared, either uv run --with openpyxl script.py or a PEP 723 header. Recalculation needs LibreOffice (soffice).
Choosing a tool
- openpyxl for any workbook you deliver: formulas, formatting, charts, validation, comments. It keeps charts, images, comments, data validation and conditional formatting of files it loads. It drops what it does not model, such as shapes, text boxes, slicers and form controls, so check before editing a workbook that has them.
- pandas for analysis and bulk reads. Its writer keeps only values, so never use it to edit a workbook someone will keep working in.
- For
.xlsm, load withload_workbook(path, keep_vba=True), or the macros are lost on save.
Formulas, not values
Anything derived belongs in the sheet as a formula, so the workbook stays correct when its inputs change. Compute in Python only what has no spreadsheet form, then write it as a labelled input.
ws["B10"] = "=SUM(B2:B9)" # not ws["B10"] = df["Sales"].sum()
ws["C5"] = "=(C4-C2)/C2" # growth, from the cells it depends on
ws["D3"] = "=B3*(1+$B$1)" # assumptions live in their own cellsChecking the output
openpyxl writes formulas without values, so a file is not finished until it has been recalculated. Run this after every save that touched formulas, and fix what it reports before delivering:
uv run <skill>/scripts/recalc.py model.xlsxIt recalculates in LibreOffice, writes the values back into the file, and prints JSON. The exit status is 0 when clean, 1 when there are problems, and 2 when it could not run.
| Field | Meaning and fix |
errors | Error values by type, e.g. {"#DIV/0!": {"count": 3, "locations": ["Model!C7", …]}}, with at most 50 locations per type. Fix the formulas at those cells. |
missing_prefix | Newer functions written without the prefix the file format requires (see below). The file is left untouched, and each entry carries the corrected formula in fix. |
circular_references | Groups of cells that depend on each other. LibreOffice shows these as #VALUE!, so fix the cycle first. |
uncalculated | Formulas LibreOffice left without a value. Usually a function LibreOffice does not implement; the workbook may still work in Excel, but tell the user. |
Links to other workbooks make it stop, because recalculating would overwrite the linked values. Pass --force only if the user accepts that.
Pitfalls that fail silently
- Function prefixes. Functions newer than Excel 2007 are stored with a prefix. Write
=_xlfn.XLOOKUP(…),=_xlfn.TEXTJOIN(…),=_xlfn.IFS(…), and=_xlfn._xlws.FILTER(…)and=_xlfn._xlws.SORT(…). Without it, Excel and LibreOffice both show#NAME?. recalc catches these before they do damage. LibreOffice older than 24.8 (soffice --version) lacks XLOOKUP, XMATCH, FILTER, SORT, SORTBY, UNIQUE, SEQUENCE and LET, so recalc flags them even when prefixed; the workbook still computes in Excel, so tell the user rather than rewriting the formulas. - Inserting or deleting rows and columns.
insert_rows,delete_rows,insert_colsanddelete_colsmove cells but do not rewrite any formula that refers to them.=SUM(B1:B4)stays=SUM(B1:B4)after a row is inserted above it. Rewrite the affected formulas yourself, or lay out the sheet so nothing needs inserting. data_only=Truereads cached values. Saving a workbook opened that way replaces every formula with its last value, permanently.- Dynamic arrays. openpyxl cannot write spilling formulas. FILTER, SORT, UNIQUE and SEQUENCE land in one cell, and Excel prefixes them with
@. Prefer formulas that return one value per cell. - Indexing. Rows and columns are 1-based. Use
get_column_letterandcolumn_index_from_string; never count letters by hand past column Z.
Charts
Use openpyxl's native charts (openpyxl.chart) for charts that belong in the workbook; they stay linked to the cells. Render matplotlib images only when the chart is going somewhere else.
Existing workbooks and templates
Study the file before changing it, and match its fonts, fills, number formats, column widths and layout exactly. Its conventions override everything below.
Financial models
Unless the user or the template says otherwise:
- Font colour by role: blue
0000FFfor hard-coded inputs, black for formulas, green008000for links to other sheets, redFF0000for links to other files. A yellowFFFF00fill marks key assumptions. - Number formats:
- Currency:
$#,##0;($#,##0);-, with units in the header, e.g. "Revenue ($mm)". - Percentages:
0.0%. - Multiples:
0.0x. - Negatives: in parentheses.
- Years: written as text, so "2026" never becomes "2,026".
- Currency:
- Structure: every assumption sits in its own labelled cell and is referenced, never typed into a formula. Each projection period uses the same formula as the one before it.
- Sources: give every hard-coded number a source in a cell comment or an adjacent cell, e.g. "Source: Company 10-K, FY2025, p. 45".
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

