agentleFS
bestdeejay-designbestdeejay-design/agent-skills/skills/csv-pro/SKILL.md

csv-pro

Skill6 starsChanged 3 months agoMITView on GitHub

Профилирование CSV-файлов: типы колонок, статистика, аномалии. Скрипт csv_pro.py читает CSV (файл --input или stdin --stdin), определяет разделитель (по умолчанию ';', затем ','), для каждой колонки считает тип (int/float/str/date), min/max/mean, пропуски, уникальные значения и топ-3 частых. Ищет аномалии: нулевая дисперсия, >95% пустых, дубликаты строк, строки длиннее 1000 символов, выбросы (значение ≥ 5×IQR от медианы). Вывод: markdown-таблица (по умолчанию), JSON или HTML с графиками. Триггеры: 'csv profile', 'профиль csv', 'анализ csv', 'csv анализ', 'аномалии csv', 'csv anomalies', 'профилирование csv', 'что в csv'.

The file

We split this skill into the rules it gives an agent

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

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when:

    line 21
  2. Distinctive:

    Do NOT use when:

    line 27
  3. Very specific:

    Do not use for JSON or multi-format EDA.

    line 77

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

Профилирование CSV-файлов: типы колонок, статистика, аномалии.

Загружай этот скилл когда нужно быстро понять, что лежит в CSV: типы колонок, диапазоны значений, пропуски, дубликаты и выбросы.

🎯 When to use

Use this skill when:

  • Есть CSV-файл и нужно понять его структуру: типы колонок, min/max/mean, уникальные значения
  • Нужно проверить качество данных перед загрузкой в БД или ML-пайплайн
  • Просят «профиль csv», «анализ csv», «что в csv», «csv anomalies»
  • Нужен отчёт об аномалиях: пустые колонки, дубликаты строк, выбросы, длинные строки

Do NOT use when:

  • Нужна полная аналитика с корреляциями и рекомендациями — это data-analysis
  • Нужны SQL-запросы к данным — это sql-helper
  • Нужно просто посчитать строки или суммы — проще wc -l и awk

📦 Files

  • SKILL.md — этот файл
  • scripts/csv_pro.py — профилировщик CSV (Python 3 stdlib)

🧰 Usage

# Файл → markdown-профиль (по умолчанию):
python3 skills/csv-pro/scripts/csv_pro.py --input data.csv

# Файл → JSON:
python3 skills/csv-pro/scripts/csv_pro.py --input data.csv --output json

# Файл → HTML с графиками:
python3 skills/csv-pro/scripts/csv_pro.py --input data.csv --output html

# Из stdin (текст прямо в пайплайне):
cat data.csv | python3 csv_pro.py --stdin

# Явный разделитель:
python3 csv_pro.py --input data.csv --delimiter ';'

Canonical analogues

Полный справочник канонических паттернов — references/canonical-patterns.md. Топ-аналоги и их takeaways:

  • ydata-profiling — эталонный набор метрик (skewness, kurtosis, quantiles, MAD, infinite counters) и 18 типов алертов.
  • csvkit csvstat — CLI-эталон: csvstat data.csv --json, метрики len и maxprecision.
  • DuckDB SUMMARIZE — SQL-профиль с approx-квантилями и null_percentage.
  • Great Expectations — словарь проверяемых утверждений (63 core-ожидания).
  • dataprep.EDA — типизированные инсайты: Zeros, Negatives, Constant Length, High Cardinality.

🔬 Проверка результата

  • Markdown: таблица «Колонки» (тип, уникальные, пустые, min/max/mean, топ-3) + секция «Аномалии».
  • JSON: валидный JSON с полями columns и anomalies — проверка python3 -m json.tool.
  • HTML: интерактивный дашборд с гистограммами для числовых колонок и bar charts для категорий.
  • Пустой файл: сообщение «Файл пуст», код 0.
  • Отсутствующий файл: сообщение в stderr, код 1.

Boundaries

  • Do not use for JSON or multi-format EDA; use data-analysis.

Evidence and completion gate

Run the documented command against the user’s actual input. Report the command, exit status, files changed or produced, and relevant stdout/stderr. Separate blocked or pre-existing failures from failures introduced by the current work. Do not call the result complete when the script was only described or when an artifact was not reopened and checked.

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.