agentleFS
MAGA2010MAGA2010/data-master/skills/data-explorer/SKILL.md

data-explorer

Skill78 starsChanged 23 days agoMITView on GitHub

Descriptive analysis and EDA on cleaned data: distributions, missingness mechanism screen, correlations, categorical structure. No p-values for group comparisons.

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

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 3

    Distinctive

    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:

    After cleaning passes its gate.

    line 17
  2. Very specific:

    Every numeric variable carries n, missing_pct, mean and median, SD, IQR and skew.

    line 40
  3. Distinctive:

    do not compute group p-values here -- that is the statistical-analyzer's job.

    line 54
  4. Very specific:

    do not read the cleaned file with pd.read_csv.

    line 55
  5. Distinctive:

    do not drop the median because the mean was requested.

    line 56

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “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

data-explorer

Stage 2a of the data-master pipeline. The router in ../../SKILL.md owns the end-to-end run; this skill owns one stage and one gate. Read the parent contract before changing anything here: the invariants in ../../SKILL.md (additive-only, types decided once, default-FAIL gates, three-part provenance) are not restated, they are inherited.

When to invoke

After cleaning passes its gate. Run this before inferential statistics so the test choice is informed by the actual distributions, not assumed.

Inputs

  • outputs/cleaned/cleaned.csv via dm_types.load_cleaned (manifest replayed)
  • analysis/profile.json

Outputs

  • analysis/descriptive.json: numeric (mean, SD, SE, median, IQR, range, skew, missing_pct), categorical (levels, counts, mode), missing_mechanism_screen, correlation_pearson

Commands

python scripts/stats_descriptive.py --clean outputs/cleaned/cleaned.csv --out outputs/analysis/descriptive.json

Gate (default FAIL)

Every numeric variable carries n, missing_pct, mean and median, SD, IQR and skew. Reporting only the mean for a strongly skewed variable is a fail, because the mean is then the least trustworthy number on the page.

Failure modes seen in real runs

  • Mean without median hides a 3 SD outlier.
  • A missingness screen presented as a mechanism proof. Little's test describes the pattern; it cannot prove MCAR. The wording must say "screening result".
  • Pearson only on a monotone-but-curved pair understates the association; Spearman is reported alongside, and its use is recorded.

Do not

  • do not compute group p-values here -- that is the statistical-analyzer's job;
  • do not read the cleaned file with pd.read_csv; that re-guesses the types;
  • do not drop the median because the mean was requested.

Upstream / downstream

  • previous: ../data-cleaner/SKILL.md
  • next: ../statistical-analyzer/SKILL.md
  • contract: ../../references/workflow-contract.md

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.