brycewang-stanford/auto-empirical-research-skills/csv-data-analyzer
Claude Code and agent skill by brycewang-stanford/auto-empirical-research-skills
- community
Checking that the SKILL.md file is still in the repository.
Load, explore, clean, and analyze CSV data with statistical summaries
Install
npx vskill@latest install brycewang-stanford/auto-empirical-research-skills/csv-data-analyzerSKILL.md
The same SKILL.md was published earlier as brycewang-stanford/auto-empirical-research-skills/csv-data-analyzer.
CSV Data Analyzer
A comprehensive skill for loading, exploring, cleaning, and analyzing CSV datasets within research workflows. Designed for researchers who need to quickly understand the structure, quality, and statistical properties of tabular data before conducting deeper analysis.
Overview
Research datasets commonly arrive as CSV files from instrument exports, survey platforms, government repositories, and collaborator handoffs. This skill provides a structured approach to the entire CSV analysis pipeline: ingestion, profiling, quality assessment, cleaning, transformation, and summary statistics. It emphasizes reproducibility by generating audit logs of every transformation applied to the raw data.
The skill supports datasets of varying complexity, from single-table survey results to multi-file longitudinal study exports with hundreds of columns. It works with standard Python data science libraries (pandas, numpy, scipy) and produces outputs suitable for inclusion in methods sections and supplementary materials.
Data Loading and Initial Profiling
Loading Strategies
Column Type Inference
Data Cleaning Pipeline
Systematic Cleaning Steps
- Remove fully empty rows and columns: Drop rows/columns where all values are NaN.
- Standardize column names: Convert to snake_case, remove special characters.
- Handle missing data: Assess missingness patterns (MCAR/MAR/MNAR) before choosing imputation strategy.
- Detect and handle duplicates: Identify exact and near-duplicates using fuzzy matching.
- Validate value ranges: Flag values outside expected domain ranges.
- Standardize categorical labels: Merge inconsistent spellings (e.g., "Male", "male", "M").
Statistical Summary Generation
Descriptive Statistics
Normality and Distribution Testing
| Test | Use Case | Function | |
|---|---|---|---|
| Shapiro-Wilk | Normality test (n < 5000) | scipy.stats.shapiro() | |
| D'Agostino-Pearson | Normality test (n >= 5000) | scipy.stats.normaltest() | |
| Kolmogorov-Smirnov | Compare to any distribution | scipy.stats.kstest() | |
| Levene's test | Homogeneity of variance | scipy.stats.levene() |
Best Practices for Reproducibility
- Always save the raw CSV separately; never overwrite original files.
- Log every cleaning step with timestamps in a transformation audit trail.
- Export cleaned datasets with a version suffix (e.g.,
data_v2_cleaned.csv). - Include the cleaning script or notebook alongside the published dataset.
- Report the number of rows removed at each step in your methods section.
- Use
random_stateparameters consistently for any stochastic operations.
References
- McKinney, W. (2022). Python for Data Analysis (3rd ed.). O'Reilly Media.
- Wickham, H. (2014). Tidy Data. Journal of Statistical Software, 59(10).
- Van den Broeck, J., et al. (2005). Data Cleaning: Detecting, Diagnosing, and Editing Data Abnormalities. PLoS Medicine, 2(10).
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/43-wentorai-research-plugins/skills/analysis/wrangling/csv-data-analyzer/SKILL.md
Popularity
- Repository stars
- 4,455
- Repository forks
- 532
- 7-day trend score
- 42
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/brycewang-stanford/auto-empirical-research-skills/csv-data-analyzer)