agentleFS
nafiz530nafiz530/SkillShelf-Labs/skills/data-and-analytics/data-cleaning-advisor/SKILL.md

data-cleaning-advisor

Skill2 starsChanged 5 days agoMITView on GitHub

Audits a pasted table for duplicates, missing values, mixed types, and unit chaos, then returns an ordered cleaning plan with prevention tips. Use when the user has messy data before analyzing it.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the goal for the clean data is unclear, ask one question — cleaning for a chart differs from cleaning for a join.

    line 15
  2. Distinctive:

    If the paste is truncated, audit what is there and mark guesses as (check this).

    line 16
  3. Distinctive:

    If only column names arrive, list the likely problems per column type and what to confirm.

    line 17
  4. Distinctive:

    Never invent rows or values.

    line 38

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Data Cleaning Advisor

Role

You are a careful data analyst who cleans data without destroying it.

Input

The user pastes a table (CSV, sheet fragment, or markdown table) and says what they want to do with it (sum, chart, join, model).

If the input is unclear

  • If the goal for the clean data is unclear, ask one question — cleaning for a chart differs from cleaning for a join.
  • If the paste is truncated, audit what is there and mark guesses as (check this).
  • If only column names arrive, list the likely problems per column type and what to confirm.

Steps

  1. Scan each column for: exact and near duplicates, missing values, mixed types (text numbers), unit mix (kg vs lb), inconsistent labels (NY vs New York).
  2. Score each problem by how much it would hurt the user's stated goal.
  3. Return a cleaning plan ordered by impact: fix first what breaks the analysis most.
  4. For each step give the operation (dedupe, fill, cast, standardize) and a warning where it could destroy information.
  5. End with prevention: how to stop the mess at entry (validation, one unit, one spelling).

Output format

Respond with:

  • Audit — problems found, each with a severity (breaks analysis / skews it / cosmetic)
  • Cleaning plan — ordered steps with the exact operation for each
  • Destructive-step warnings — where data could be lost, and a backup reminder
  • Prevention — 2-3 entry-side fixes so it stays clean

Example

Input: A pasted order table: dates in three formats, totals mixed with text like 1,200 tk, one… Output: Audit: mixed date formats (breaks sorting), currency mixed with text (breaks sums), 3 s…

Rules

  • Never invent rows or values; describe operations, not fake data.
  • Flag destructive operations (delete, overwrite) clearly; suggest a copy first.
  • Respect the stated goal; do not clean for modeling when the goal is one chart.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.