xlsx
Skill54 starsChanged 5 months agoMITView on GitHub
Spreadsheet workflow for `.xlsx`, `.xlsm`, `.csv`, and `.tsv` files. Use when Codex needs to create, inspect, repair, clean, reformat, or extend a spreadsheet; preserve workbook structure while editing an existing file; add formulas, charts, or sheets; or convert messy tabular data into a deliverable spreadsheet file.
194 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- aditya-vermax/skillstheir own version, first seen Nov 8, 2026
- CloudChef/atlasclaw-providerstheir own version, first seen Nov 8, 2026
- holon-run/holontheir own version, first seen Nov 8, 2026
- rvdbreemen/OTGW-firmwaretheir own version, first seen Nov 8, 2026
- BrightGold70/skillstheir own version, first seen Nov 8, 2026
- Liang-MH/skillstheir own version, first seen Nov 8, 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 5 projects that use this
- +1 more from huang-x-h
- +5 more from dav-niu474
Other versions194 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- pepebot-space/skills★ 214% same
Wrote their own version · 193
- anthropics/skills★ 189ksame 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
183 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.
In this repository27 other files it gives its agents.
- alphaxivSkill
- arxivSkill
- doc-coauthoringSkill
- docxSkill
- drawio-diagramSkill
- figure-descriptionSkill
- formula-derivationSkill
- grant-proposalSkill
- mmx-cliSkill
- mock-reviewSkill
- novelty-checkSkill
- paper-readingSkill
- pdfSkill
- phd-benchmark-paper-templateSkill
- phd-figure-designerSkill
- phd-idea-evaluatorSkill
- phd-intro-drafterSkill
- phd-pre-submission-reviewerSkill
- phd-tech-paper-templateSkill
- phd-vibe-research-workflowSkill
- pptxSkill
- proof-writerSkill
- research-litSkill
- research-survey-loopSkill
- research-wikiSkill
- theme-factorySkill
- update-source-mapSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 9 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 188 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Use formulas in the workbook instead of calculating values in Python and hardcoding the result.
- Distinctive: line 17
Keep formatting readable: sensible column widths, aligned headers, and explicit number formats.
- Distinctive: line 18
If editing a financial model, keep assumptions visually distinct from formulas and outputs.
- Very specific: line 24
Use openpyxl when the file already exists and you must preserve:
- Distinctive: line 151
After editing any workbook with formulas, run:
- Distinctive: line 189
Do not hand off the workbook until recalculation is clean or the user explicitly accepts the remaining issues.
- Distinctive: line 193
When the workbook behaves like a model rather than a data dump:
- Distinctive: line 195
keep assumptions in dedicated cells or sheets,
- Distinctive: line 199
add comments for non-obvious hardcoded assumptions.
- Distinctive: line 207
No accidental hardcoded replacements were introduced.
- Very specific: line 212
Use openpyxl for workbook fidelity.
- Very specific: line 213
Use pandas for tabular transformation.
- Very specific: line 214
Use local scripts in scripts/ instead of rebuilding recalculation helpers ad hoc.
“Common” is measured: kept by at least 6 in 10 of the 188 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
Spreadsheet Files
Overview
Use this skill whenever the primary deliverable is a spreadsheet file or the user explicitly wants work done on spreadsheet data in place. Prefer openpyxl when workbook structure, formulas, styling, or multiple sheets must be preserved. Use pandas for analysis and reshaping, then write the final workbook carefully instead of treating the spreadsheet as a disposable export.
Non-Negotiable Rules
- Use formulas in the workbook instead of calculating values in Python and hardcoding the result.
- Preserve existing workbook structure unless the user asked for destructive cleanup.
- Recalculate and verify formulas after edits with
scripts/recalc.py. - Keep formatting readable: sensible column widths, aligned headers, and explicit number formats.
- If editing a financial model, keep assumptions visually distinct from formulas and outputs.
Choose the Workflow
Existing workbook
Use openpyxl when the file already exists and you must preserve:
- formulas,
- formatting,
- named sheets,
- comments,
- workbook-level structure.
New workbook or pure analysis
Use pandas for:
- data cleaning,
- joins,
- aggregation,
- reshaping.
Then write the final spreadsheet with either:
pandasif a simple flat export is enough, oropenpyxlif formulas, formatting, or multiple sheets matter.
Core Workflow
- Inspect the workbook or source data.
- Decide whether the task is analysis-only, structure-preserving edit, or workbook creation.
- Make the edits.
- Recalculate formulas with
python scripts/recalc.py <excel_file>. - Fix any reported workbook errors before handoff.
Reading and Analyzing Data
Pandas quick read
import pandas as pd
df = pd.read_excel("file.xlsx")
all_sheets = pd.read_excel("file.xlsx", sheet_name=None)
print(df.head())
print(df.info())
print(df.describe(include="all"))Openpyxl structure-preserving read
from openpyxl import load_workbook
wb = load_workbook("existing.xlsx")
print(wb.sheetnames)
ws = wb["Sheet1"]
print(ws["A1"].value)Use Formulas, Not Hardcoded Values
Wrong
total = df["Sales"].sum()
sheet["B10"] = totalCorrect
sheet["B10"] = "=SUM(B2:B9)"
sheet["C5"] = "=(C4-C2)/C2"
sheet["D20"] = "=AVERAGE(D2:D19)"This rule applies to totals, percentages, growth rates, averages, ratios, and derived metrics in general.
Creating a New Workbook
from openpyxl import Workbook
from openpyxl.styles import Font, PatternFill, Alignment
wb = Workbook()
ws = wb.active
ws.title = "Summary"
ws["A1"] = "Metric"
ws["B1"] = "Value"
ws["A2"] = "Revenue"
ws["B2"] = 125000
ws["A3"] = "Cost"
ws["B3"] = 83000
ws["A4"] = "Profit"
ws["B4"] = "=B2-B3"
header_fill = PatternFill("solid", start_color="D9EAF7")
for cell in ws[1]:
cell.font = Font(bold=True)
cell.fill = header_fill
cell.alignment = Alignment(horizontal="center")
ws.column_dimensions["A"].width = 18
ws.column_dimensions["B"].width = 14
wb.save("output.xlsx")Editing an Existing Workbook
from openpyxl import load_workbook
wb = load_workbook("existing.xlsx")
ws = wb["Sheet1"]
ws["A1"] = "New Value"
ws.insert_rows(2)
ws.delete_cols(3)
new_sheet = wb.create_sheet("NewSheet")
new_sheet["A1"] = "Data"
wb.save("modified.xlsx")Recalculate and Verify
After editing any workbook with formulas, run:
python scripts/recalc.py output.xlsxOptional timeout override:
python scripts/recalc.py output.xlsx 30The script:
- sets up LibreOffice automation when needed,
- recalculates formulas,
- scans all sheets for Excel errors,
- returns JSON with counts and cell locations.
Example output
{
"status": "success",
"total_errors": 0,
"total_formulas": 42
}If errors are reported
Typical fixes:
#REF!: invalid references after row or column edits.#DIV/0!: denominator can be zero.#VALUE!: wrong data type in a formula input.#NAME?: misspelled function or unsupported name.
Do not hand off the workbook until recalculation is clean or the user explicitly accepts the remaining issues.
Financial Model Conventions
When the workbook behaves like a model rather than a data dump:
- keep assumptions in dedicated cells or sheets,
- label units and time periods explicitly,
- apply consistent number formats,
- visually separate inputs, formulas, and outputs,
- add comments for non-obvious hardcoded assumptions.
Verification Checklist
- Workbook opens successfully.
- Expected sheets are present.
- Key formulas still point at the right ranges.
- Number formats and percentages are readable.
- No accidental hardcoded replacements were introduced.
scripts/recalc.pyreports success or the remaining issues are documented.
Notes
- Use
openpyxlfor workbook fidelity. - Use
pandasfor tabular transformation. - Use local scripts in
scripts/instead of rebuilding recalculation helpers ad hoc.
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.

