clean-data-xls

clean-data-xls is a skill for Claude Code, Codex from leecyno1/boutique-skills. It costs 91 tokens per session (709 once invoked), scanned A, a copy of clean-data-xls, MIT.

A spreadsheet-cleaning tool for fixing inconsistent text, numbers, dates, blanks, types, and duplicate rows. It works with an active sheet or a specified range.

In plain words
What is it for?
Use it to trim spaces, standardize capitalization and dates, convert text into numbers, remove duplicates, and flag mixed-type columns before analysis.
Why use it?
Messy spreadsheet values can produce unreliable analysis, especially when numbers are stored as text or the same category appears in several forms.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to trim spaces, standardize capitalization and dates, convert text into numbers, remove duplicates, and flag mixed-type columns before analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leecyno1/boutique-skills/anthropic-fs-financial-analysis-clean-data-xls
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add leecyno1/boutique-skills --skill anthropic-fs-financial-analysis-clean-data-xls
Clone the repo
git clone --depth 1 https://github.com/leecyno1/boutique-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for clean-data-xls

README.md
[![agentmods](https://agentmods.dev/badge/skills/leecyno1/boutique-skills/anthropic-fs-financial-analysis-clean-data-xls/github.svg)](https://agentmods.dev/skills/leecyno1/boutique-skills/anthropic-fs-financial-analysis-clean-data-xls)
Your own site
<a href="https://agentmods.dev/skills/leecyno1/boutique-skills/anthropic-fs-financial-analysis-clean-data-xls"><img src="https://agentmods.dev/badge/skills/leecyno1/boutique-skills/anthropic-fs-financial-analysis-clean-data-xls/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for clean-data-xls

Your own site · 80×15
<a href="https://agentmods.dev/skills/leecyno1/boutique-skills/anthropic-fs-financial-analysis-clean-data-xls"><img src="https://agentmods.dev/badge/skills/leecyno1/boutique-skills/anthropic-fs-financial-analysis-clean-data-xls.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 709 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.00709
Opus 5 $0.00046 $0.00354
Sonnet 5 $0.00018 $0.00142
Haiku 4.5 $0.00009 $0.00071

Measured 9d ago against content hash f0dfceb01532, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

clean-data-xls scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to clean-data-xls — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/default/anthropic-fs-financial-analysis-clean-data-xls/SKILL.md · 51 lines

How it starts

The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 via range.values, write helper-column formulas via range.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

Issue What to look for
Whitespace leading/trailing spaces, double spaces
Casing inconsistent casing in categorical columns (usa / USA / Usa)
Number-as-text numeric values stored as text; stray $, ,, % in number cells
Dates mixed formats in the same column (3/8/26, 2026-03-08, March 8 2026)
Duplicates exact-duplicate rows and near-duplicates (case/whitespace differences)
Blanks empty cells in otherwise-populated columns
Mixed types a column that's 98% numbers but has 3 text entries
Encoding mojibake (é, ’), non-printing characters
Errors #REF!, #N/A, #VALUE!, #DIV/0!

Step 3: Propose fixes

Show a summary table before changing anything:

Column Issue Count Proposed Fix

Step 4: Apply

  • Prefer formulas over hardcoded cleaned values — where the cleaned output can be expressed as a formula (e.g. =TRIM(A2), =VALUE(SUBSTITUTE(B2,"$","")), =UPPER(C2), =DATEVALUE(D2)), write the formula in an adjacent helper column rather than computing the result in Python and overwriting the original. This keeps the transformation transparent and auditable.
  • Only overwrite in place with computed values when the user explicitly asks for it, or when no sensible formula equivalent exists (e.g. encoding/mojibake repair)
  • For destructive operations (removing duplicates, filling blanks, overwriting originals), confirm with the user first
  • After each category of fix (whitespace → casing → number conversion → dates → dedup), show the user a sample of what changed and get confirmation before moving to the next category
  • Report a before/after summary of what changed

Read the full file on GitHub · 51 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 51 lines · 91 tokens per session scan A f0dfceb01532

Subscribe to this mod's changes

clean-data-xls is a skill published in the GitHub repository leecyno1/boutique-skills (5 stars, last pushed today), licensed MIT. It adds 91 tokens to every session and 709 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to clean-data-xls, differing in 0 lines, and is treated as a copy.