clean-data-xls

Clean and standardize messy spreadsheet data in Excel or .xlsx files using Python/openpyxl.

34.1k|5.1k|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/anthropics/financial-services-plugins --skill clean-data-xls
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-data-xls
Source: https://github.com/anthropics/financial-services-plugins/tree/main/financial-analysis/skills/clean-data-xls
Command: npx skills add https://github.com/anthropics/financial-services-plugins --skill clean-data-xls

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill tackles messy, inconsistent, or improperly formatted data within spreadsheets, preparing it for accurate analysis.

Core Features & Use Cases

  • Data Cleaning: Removes leading/trailing whitespace, standardizes casing, converts numbers stored as text, and corrects date formats.
  • Deduplication: Identifies and flags duplicate or near-duplicate rows.
  • Issue Detection: Profiles columns to detect mixed data types, blanks, and encoding errors.
  • Use Case: You've received a sales report with inconsistent customer names (e.g., "Acme Corp", "acme corp", "ACME CORP") and currency symbols mixed with numbers. This Skill will standardize the names and ensure all monetary values are recognized as numbers.

Quick Start

Use the clean-data-xls skill to clean up the data in the attached spreadsheet.

Frequently Asked Questions about clean-data-xls

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clean messy spreadsheet data with inconsistent casing and whitespace?

Cleaning spreadsheet data involves removing leading and trailing whitespace, standardizing text casing, and converting numbers stored as text into proper numeric formats. This Skill also profiles columns to detect mixed data types, blanks, and encoding errors.

What's the best way to deduplicate rows and fix date formats in an Excel file?

Deduplicating rows and standardizing dates in an Excel file is handled by identifying and flagging duplicate or near-duplicate rows while correcting inconsistent date formats. The Skill operates directly on specified ranges or the active sheet within .xlsx files.

Can I use this data cleaning tool on standalone .xlsx files without Excel installed?

Yes, you can clean standalone .xlsx files without Excel installed because the Skill processes spreadsheets using Python and the openpyxl library. It operates directly on the file data rather than relying on the Excel desktop application.

How does spreadsheet data normalization handle currency symbols mixed with numbers?

Spreadsheet data normalization handles currency symbols by detecting mixed types and ensuring monetary values are recognized as actual numbers. This prepares financial data for accurate analysis by stripping text formatting from numeric values.

What types of data quality problems can be detected in an xlsx spreadsheet?

Data quality problems detected in an xlsx spreadsheet include duplicates, blanks, mixed data types, encoding errors, and formula errors. The Skill profiles columns to identify these issues and proposes targeted fixes to standardize the dataset.