agentleFS
Lethe044Lethe044/agentskill-kit/skills/csv-profiler/SKILL.md

csv-profiler

Skill48 starsChanged 17 days agoMITView on GitHub

Profiles a CSV file column by column, reporting inferred type, missing values, unique counts and min, max and mean for numeric columns. Use when the user hands over a CSV and asks what is in it, whether the data is clean, or what to check before analysis.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 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.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before cleaning, joining or plotting data, to find empty columns and mixed types.

    line 18
  2. Distinctive:

    When a script fails on a column and the user suspects bad values.

    line 19

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Gives an agent a reliable picture of a CSV file before it writes any analysis code.

When to use

  • The user uploads or points to a CSV and asks "what is in this file?".
  • Before cleaning, joining or plotting data, to find empty columns and mixed types.
  • When a script fails on a column and the user suspects bad values.

How to run

python scripts/profile_csv.py data.csv
python scripts/profile_csv.py data.tsv --delimiter tab

The delimiter is detected automatically when it is not given. Use --delimiter tab for tab separated files.

Output

JSON with rows, columns and a profile list. Each column has name, type (integer, float, boolean, date, string or empty), missing, unique, sample and, for numeric columns, min, max and mean.

Reading the result

  • A column with a large missing count needs a decision: drop it, fill it, or ask the user.
  • A string column whose unique count is close to rows is probably an identifier.
  • A string column with few unique values is a good candidate for a categorical type.
  • Report surprises first: mixed types, empty columns, duplicated headers.

Errors

A missing file exits with code 2. A file with no rows returns rows: 0.

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.