Install any skill in seconds. Free to start, no credit card required.
Get Started Free →brycewang-stanford/data-cog-guide
Upload messy CSVs with minimal prompting for deep automated analysis
Passed 17 of 22 test cases with the skill, and 14 of 22 without it.
and 2 more in the full report
4 fixed14 passed either way4 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
What three explicit input parameters define the minimal user interaction pattern for invoking the automated CSV analysis and profiling pipeline?
| Checked | Without skill | With skill |
|---|---|---|
| Requires file path as an input parameter. | Passed | Passed |
| Allows an optional research question as an input parameter. | Missed | Passed |
| Requires output format specification such as summary, full_report, or cleaned_csv. | Missed | Passed |
The instructions your model reads when the skill loads.
An intelligent data analysis assistant that accepts messy, poorly documented CSV files and automatically infers structure, cleans anomalies, and produces deep analytical reports with minimal user prompting. Designed for researchers who need quick insights from unfamiliar or inherited datasets without spending hours on manual data preparation.
Researchers frequently receive datasets from collaborators, public repositories, or legacy systems that lack documentation, use inconsistent formatting, and contain mixed data quality. Traditional analysis requires significant upfront effort to understand and prepare such data. Data Cog automates this process by applying heuristic inference, pattern recognition, and iterative cleaning to produce analysis-ready data along with a comprehensive profile report.
The skill implements a "zero-configuration" philosophy: provide the CSV file path and an optional research question, and it handles encoding detection, delimiter inference, type casting, missingness assessment, and initial exploratory statistics automatically.
import pandas as pd
import chardet
import io
def smart_load_csv(filepath: str) -> tuple:
"""
Intelligently load a CSV file, auto-detecting encoding,
delimiter, header row, and comment lines.
"""
# Step 1: Detect encoding
with open(filepath, 'rb') as f:
raw = f.read(100000)
encoding = chardet.detect(raw)['encoding']
# Step 2: Detect delimiter
import csv
with open(filepath, 'r', encoding=encoding, errors='replace') as f:
sample = f.read(8192)
sniffer = csv.Sniffer()
try:
dialect = sniffer.sniff(sample)
delimiter = dialect.delimiter
except csv.Error:
delimiter = ','
test cases passed, vs 14 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.