agentleFS
divik-09divik-09/claude-skills-collection/skills/csv-profiler/SKILL.md

csv-profiler

Skill1 starsChanged 9 days agoMITView on GitHub

Profile and sanity-check tabular data files (CSV/TSV) before analysis. Use whenever the user uploads or mentions a CSV or TSV, asks 'what's in this data', 'is this data clean', wants column types, missing values, duplicates, outliers, or a first look before charting or modeling.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the profiler (standard library only, works on large files by streaming):

    line 12
  2. Very specific:

    Read the report: row/column counts, per-column inferred type (integer, float, boolean, date, text), null count and percent, distinct count, …

    line 20
  3. Very specific:

    Never claim a data quality conclusion beyond what the profile shows.

    line 32
  4. Distinctive:

    Do not modify the user's original file.

    line 33

≈ “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

CSV Profiler

Get an honest first look at a dataset before drawing any conclusion from it.

Workflow

  1. Run the profiler (standard library only, works on large files by streaming):
python scripts/profile_csv.py path/to/data.csv            # auto-detects delimiter
python scripts/profile_csv.py data.tsv --delimiter $'\t' --max-rows 500000
python scripts/profile_csv.py data.csv --json > profile.json
  1. Read the report: row/column counts, per-column inferred type (integer, float, boolean, date, text), null count and percent, distinct count, min/max/mean for numerics, shortest/longest for text, and top values.
  2. Interpret, do not just paste. Flag:
    • columns with high null rates or constant values
    • IDs that are not unique, or duplicate full rows
    • numeric columns stored as text, mixed types in one column
    • suspicious values (negative ages, dates in the future, sentinel codes like -999 or "N/A")
    • skewed distributions and outliers worth checking
    • leading/trailing whitespace and inconsistent casing in categories
  3. Recommend cleaning steps in priority order and ask before dropping or imputing data.

Rules

  • Never claim a data quality conclusion beyond what the profile shows. The profiler samples at most --max-rows rows; say so when the file was truncated.
  • Do not modify the user's original file. Write cleaned data to a new file.
  • Be explicit about assumptions: delimiter, encoding, date formats, which values count as null.

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.