agentleFS
zhnnky329zhnnky329/MathModeling-skills/.claude/skills/data-auditor-cleaner/SKILL.md

data-auditor-cleaner

Skill1.1k starsChanged 3 months agoMITView on GitHub

Map contest attachments to subquestions, audit and clean raw data, and emit one reusable data profile with quality, coverage, imbalance, concentration, and method-readiness evidence for downstream risk screening.

Trending

Quiet since October.thin dataabout the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 2 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the zhnnky329/MathModeling-skills repository that our weekly crawl found: only 2 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    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:

    Create traceable cleaned data and one reusable profile.

    line 8
  2. Distinctive:

    Stop rather than fabricate a missing attachment, unit, field meaning, or label.

    line 16
  3. Distinctive:

    Ask the user only when two mappings remain materially plausible.

    line 23
  4. Distinctive:

    Treat raw files as read-only.

    line 26
  5. Very specific:

    Write cleaned copies under workspace/data_clean/.

    line 28
  6. Distinctive:

    Keep reproducible cleaning code only when transformations are nontrivial.

    line 48
  7. Very specific:

    Use null with an explanation when a field is not applicable.

    line 101
  8. Distinctive:

    Do not select the model.

    line 105
  9. Distinctive:

    Do not overwrite raw data.

    line 106
  10. Distinctive:

    Do not silently delete, impute, winsorize, rescale, or recode.

    line 107
  11. Distinctive:

    Do not produce decorative EDA.

    line 108

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

Purpose

Create traceable cleaned data and one reusable profile. Do not repeat the same data inspection separately for every candidate method.

Preconditions

  • Problem parse and subquestion IDs exist.
  • Raw files are available under workspace/data_raw/ or the workspace's documented legacy raw-data path.
  • Required outputs and known field needs are available.

Stop rather than fabricate a missing attachment, unit, field meaning, or label.

Workflow

  1. Map attachments before cleaning.
    • List each attachment with name, size, sheet names, headers, and a small preview.
    • Map it to Qx or mark it shared.
    • Ask the user only when two mappings remain materially plausible.
  2. Preserve raw data.
    • Treat raw files as read-only.
    • Record hashes or stable file metadata when practical.
    • Write cleaned copies under workspace/data_clean/.
  3. Audit structure and semantics.
    • Rows, columns, keys, types, units, categories, time granularity, and encoding.
    • Missing values, duplicates, impossible values, outliers, discontinuities, and leakage risks.
    • Field-to-subquestion and field-to-required-output mapping.
  4. Compute reusable risk-profile statistics.
    • Effective sample size and rows usable per Qx.
    • Missingness by field and row.
    • Numeric distribution summaries and extreme-value rates.
    • Category/class counts, imbalance ratios, rare levels, and cardinality.
    • Time coverage, gaps, sampling interval, and chronological split constraints.
    • Correlation/redundancy warnings where relevant.
    • Target or score concentration indicators when a target exists.
    • Record facts; do not convert them into a final method verdict.
  5. Plan and apply cleaning.
    • Separate safe normalization of representation from assumption-bearing imputations or removals.
    • Explain and record every assumption-bearing operation.
    • Keep reproducible cleaning code only when transformations are nontrivial.
  6. Assess readiness per Qx.
    • ready, ready_with_warnings, or blocked.
    • Name missing fields and risks precisely.
    • Hand the profile to method-selector for method-specific risk probes.

Canonical Outputs

workspace/data/data_report.md
workspace/data/data_profile.json
workspace/data_clean/<cleaned files>
workspace/code/scripts/<cleaning script>   # only when needed

Accept legacy workspace/data/data_clean/ as an input/output location during migration.

Data Profile Contract

data_profile.json contains:

{
  "schema_version": 1,
  "raw_files": [],
  "attachment_mapping": [],
  "fields": [],
  "quality": {
    "missingness": {},
    "duplicates": {},
    "impossible_values": {},
    "outliers": {}
  },
  "coverage": {
    "rows": 0,
    "effective_sample_size": null,
    "time_range": null,
    "time_gaps": null
  },
  "distribution_risks": {
    "class_imbalance": null,
    "rare_categories": [],
    "high_cardinality": [],
    "redundancy_warnings": [],
    "concentration_metrics": {}
  },
  "per_question_readiness": {},
  "cleaned_files": [],
  "unresolved_risks": []
}

Use null with an explanation when a field is not applicable; do not invent a value to fill the schema.

Rules

  • Do not select the model.
  • Do not overwrite raw data.
  • Do not silently delete, impute, winsorize, rescale, or recode.
  • Do not produce decorative EDA.
  • Reuse one profile downstream instead of regenerating statistics.
  • Store detailed row-level change logs only when changes occurred; successful no-op checks need only summary counts.

Verification

  • Attachment mapping is unambiguous or human-confirmed.
  • Raw files remain untouched.
  • Cleaned files trace to raw sources and transformation rules.
  • Profile includes effective sample size, imbalance/cardinality, and concentration evidence when applicable.
  • Readiness is reported per subquestion.
  • Downstream handoff points to paths rather than pasting the full report.

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.