Clean Data Xls
Clean messy spreadsheet data by trimming, recasing, converting types, standardizing dates, and deduplicating rows.
- CCM score
- 71 of 100
- skills.sh installs
- 2.2K
- GitHub stars
- 41.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the cleanup flow in order: scope, issue detection, proposed fixes, then applying changes with confirmation at each step
- Detects whitespace, casing, numbers stored as text, mixed date formats, duplicates, blanks, mixed-type columns, mojibake, and error values
- Prefers helper-column formulas such as
=TRIM(A2)and=DATEVALUE(D2)over overwriting originals, keeping transformations auditable - Designed for prepping spreadsheet data before analysis, with a Office JS path inside Excel and a Python/openpyxl path for
.xlsxfiles
Install
$ npx -y skills add anthropics/financial-services --skill clean-data-xls -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Clean Data
Clean messy data in the active sheet or a specified range.
Environment
- If running inside Excel (Office Add-in / Office JS): Use Office JS directly (
Excel.run(async (context) => {...})). Read viarange.values, write helper-column formulas viarange.formulas = [["=TRIM(A2)"]]. The in-place vs helper-column decision still applies. - If operating on a standalone .xlsx file: Use Python/openpyxl.
Workflow
Step 1: Scope
- If a range is given (e.g.
A1:F200), use it - Otherwise use the full used range of the active sheet
- Profile each column: detect its dominant type (text / number / date) and identify outliers
Step 2: Detect issues
Details
- Repository
- github.com/anthropics/financial-services
- Categories
- Office Files & Slides, Data Science & Analytics
- First seen
- Jun 3, 2026
Questions
What does the clean-data-xls skill do to messy spreadsheet data?
It trims whitespace, fixes inconsistent casing, converts numbers stored as text, and standardizes mixed date formats. It also removes duplicates and flags columns with mixed types before analysis.
How do I install clean-data-xls?
Run npx -y skills add anthropics/financial-services --skill clean-data-xls -y in a project. Once installed, the agent can clean a sheet when you ask it to clean this data or normalize this data.
Does clean-data-xls change my original data?
It prefers formulas such as TRIM or VALUE written into adjacent helper columns, so originals stay intact. It asks for confirmation before destructive steps like removing duplicates or overwriting values.
Which spreadsheet environments does clean-data-xls support?
Inside Excel it uses Office JS directly, and on a standalone .xlsx file it uses Python with openpyxl. It works on the active sheet or a range you specify.
More from anthropics/financial-services
All 35- Option Vol Analysis2.1K
- Initiating Coverage2.1K
- Lbo Model2K
- Fixed Income Portfolio2K
- Datapack Builder1.9K
- Ib Check Deck1.9K
- Bond Futures Basis1.9K
- Bond Relative Value1.8K
- Fx Carry Trade1.8K
- Tear Sheet1.8K
- Funding Digest1.8K
- Deck Refresh1.8K
- Fsi Strip Profile1.8K
- Swap Curve Strategy1.8K
- Xlsx Author1.5K
- Pptx Author1.5K
- Variance Commentary1.4K
- Gl Recon1.4K
- Accrual Schedule1.4K
- Roll Forward1.4K
- Break Trace1.4K
- Nav Tieout1.3K
- Earnings Preview Single912
- Skill Creator810
Similar to Clean Data Xls
More Office Files & SlidesxlsxSkillanthropics/skills205.2K installsComprehensive spreadsheet skill covering creation, editing, formula recalculation, and cleaning of messy tabular data files.
ExcelMCP servernegokaz1K starsReads and writes Excel workbooks: sheets, cell values, formulas, tables, and formatting.
datapack-builderSkillanthropics/financial-services1.9K installsStructured financial data packs from CIMs, SEC filings, and MCP sources, built into investment committee-ready Excel workbooks.
audit-xlsSkillanthropics/financial-services2.5K installsAudit a spreadsheet's formulas at three scopes, from a selected range up to full financial-model integrity checks.
analyzing-spreadsheetsSkilltelagod/code-abyss244 starsSpreadsheet toolkit for creating, editing, and analyzing xlsx, xlsm, and csv files, with zero-formula-error delivery.