Source profileQuality 95/100Review permissions

vasilyu1983/AI-Agents-public/frameworks/shared-skills/skills/ai-ml-data-science/SKILL.md

ai-ml-data-science

ML and data science workflows - EDA, feature engineering, modelling, evaluation, and production handoff. Use when exploring data or building models.

Source repository stars
82
Declared platforms
2
Static risk flags
1
Last source update
2026-08-21
Source checked
2026-08-28

Decision brief

What it does: where it fits

Use this skill for reproducible data-science work from problem framing through evaluation and handoff. The center of gravity is not "pick the fanciest model." It is framing the decision, building train-serve-safe features, and producing decision-ready evidence.

Best for

  • exploring datasets and checking modelling feasibility
  • designing feature pipelines and leakage controls
  • choosing and comparing model families

Not for

  • Treating a more complex model as progress when the baseline is not yet well understood.
  • Optimizing benchmark metrics without checking train-serve parity for feature computation.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexDeclaredSource recordInstall path and trigger
Claude CodeDeclaredSource recordInstall path and trigger
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/vasilyu1983/AI-Agents-public --skill "frameworks/shared-skills/skills/ai-ml-data-science"
Safe inspection promptEditorial

Inspect the Agent Skill "ai-ml-data-science" from https://github.com/vasilyu1983/AI-Agents-public/blob/53f6cb73ea53a2646e3e7d4665062ad66f3683ac/frameworks/shared-skills/skills/ai-ml-data-science/SKILL.md at commit 53f6cb73ea53a2646e3e7d4665062ad66f3683ac. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Workflow

    1. Frame the decision, target, baseline, and prediction timestamp before touching models. 2. Validate the dataset shape, ownership, and leakage risks. 3. Build the simplest viable baseline first. 4. Design point-in-time-correct features and compare stronger candidates only after…

    Frame the decision, target, baseline, and prediction timestamp before touching models.Validate the dataset shape, ownership, and leakage risks.Build the simplest viable baseline first.
  2. 02

    ASCII Flow

    Review the “ASCII Flow” section in the pinned source before continuing.

    Review and apply the “ASCII Flow” source section.
  3. 03

    Quick Reference

    Review the “Quick Reference” section in the pinned source before continuing.

    Review and apply the “Quick Reference” source section.
  4. 04

    When To Use This Skill

    exploring datasets and checking modelling feasibility

    exploring datasets and checking modelling feasibilitydesigning feature pipelines and leakage controlschoosing and comparing model families
  5. 05

    Route Elsewhere

    serving, retraining automation, monitoring, or incident response - ai-mlops

    serving, retraining automation, monitoring, or incident response - ai-mlopsforecasting and temporal validation - ai-ml-timeserieslakehouse, ingestion, or streaming infrastructure - data-lake-platform

Permission review

Static risk signals and limitations

Runs scripts

medium · line 167

The documentation asks the agent to run terminal commands or scripts.

python scripts/ml_toolkit.py card --input data/sample-model-spec.json

Runs scripts

medium · line 168

The documentation asks the agent to run terminal commands or scripts.

python scripts/ml_toolkit.py leakage --input data/sample-model-spec.json

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score95/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars82SourceRepository attention, not individual Skill quality
Compatibility2 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
vasilyu1983/AI-Agents-public
Skill path
frameworks/shared-skills/skills/ai-ml-data-science/SKILL.md
Commit
53f6cb73ea53a2646e3e7d4665062ad66f3683ac
License
MIT
Collected
2026-08-28
Default branch
main
View the original SKILL.md

Data Science Engineering Suite

Use this skill for reproducible data-science work from problem framing through evaluation and handoff. The center of gravity is not "pick the fanciest model." It is framing the decision, building train-serve-safe features, and producing decision-ready evidence.

ASCII Flow

data question
  |
  v
problem framing
  target + unit of analysis + leakage risks + decision/use case
  |
  v
data work
  source checks + EDA + feature logic + split strategy + baseline
  |
  v
model/evidence
  train or analyze + validate + interpret + quantify uncertainty
  |
  v
handoff
  report, notebook, model candidate, or production path to MLOps

Quick Reference

NeedDefault Direction
reproducible Python workflowuv plus scripts or git-friendly notebooks (marimo for reactive/diffable notebooks)
fast local analysisDuckDB plus Polars (v1.x stable API as of 2026; pre-1.0 API-churn concerns no longer apply)
data contractsPandera or GX Core at dataset boundaries
tabular baselinelinear or logistic model plus tree-based candidate
feature engineeringexplicit train-serve-safe transforms
tuningOptuna only after the baseline is stable
evaluationslices, threshold, calibration, uncertainty
handoffmodel card, evaluation report, failure modes, monitoring expectations

When To Use This Skill

  • exploring datasets and checking modelling feasibility
  • designing feature pipelines and leakage controls
  • choosing and comparing model families
  • building reproducible experiment workflows
  • producing evaluation reports, model cards, and handoff artifacts
  • reviewing whether an experiment is genuinely ready for production handoff

Route Elsewhere

  • serving, retraining automation, monitoring, or incident response -> ai-mlops
  • forecasting and temporal validation -> ai-ml-timeseries
  • lakehouse, ingestion, or streaming infrastructure -> data-lake-platform
  • prompting, fine-tuning, or LLM-system design -> ai-llm or ai-rag

Workflow

  1. Frame the decision, target, baseline, and prediction timestamp before touching models.
  2. Validate the dataset shape, ownership, and leakage risks.
  3. Build the simplest viable baseline first.
  4. Design point-in-time-correct features and compare stronger candidates only after the baseline is trustworthy.
  5. Evaluate with the same split strategy, same metric definitions, and same compute budget.
  6. Produce handoff artifacts with thresholds, calibration state, failure modes, and reproducibility notes.

Core Rules

  • write down the prediction timestamp explicitly
  • do not trust random splits where time or entity leakage is plausible
  • compare at least one simple baseline against one stronger candidate
  • treat thresholding, calibration, and uncertainty as part of the decision
  • keep data version, feature version, seed, and split logic reproducible
  • hand off deployment-heavy questions early instead of rebuilding MLOps inside a notebook

Known Traps

  • Using random train/test splits when time, entity, household, account, or session leakage is plausible.
  • Building features with information that is only available after the prediction point, then calling the result "production ready."
  • Tuning models before the baseline and metric definitions are stable.
  • Reporting only AUC or one aggregate score while ignoring threshold choice, calibration, slice behavior, and operational tradeoffs.
  • Letting notebook state become the real pipeline logic. Hidden ordering and cached state break reproducibility fast.
  • A single feature with near-perfect standalone separation, or a metric a domain expert would find implausibly good — treat as a leakage bug report first, a discovery second (see references/eda-best-practices.md Expert Instincts).
  • A correct time-based split with no group/entity split alongside it, when the same user/account/household recurs across time periods — time discipline alone does not stop entity leakage.
  • Citing a library version, benchmark number, or API pattern from memory or an older tutorial without checking it against the currently installed version — tabular-ML tooling (Optuna, SHAP, scikit-learn, boosted-tree libraries) crosses breaking major versions inside a single year.

Common Anti-Patterns

  • Treating a more complex model as progress when the baseline is not yet well understood.
  • Optimizing benchmark metrics without checking train-serve parity for feature computation.
  • Using global preprocessing shortcuts that leak label or split information across folds.
  • Handing off a model without a model card, failure modes, threshold rationale, and monitoring expectations.

Pattern Chooser

Problem ShapeDirection
tabular or relationalbaseline plus tree-based comparison
time-ordered forecastingroute to ai-ml-timeseries
classical text or embeddings plus classifierstay here
LLM workflow, prompting, or RAGroute to ai-llm or ai-rag
deployment, monitoring, retrainingroute to ai-mlops
ingestion or lakehouse architectureroute to data-lake-platform

Core Patterns

End-to-end DS lifecycle

  • problem framing and baseline
  • dataset scan and contracts
  • EDA and leakage review
  • feature plan
  • baseline versus candidate comparison
  • evaluation with slices and thresholds
  • production handoff package

Reproducible workspace

  • uv and explicit dependencies
  • script-first or git-friendly notebook entrypoints — for reactive, git-diffable notebooks consider marimo as an alternative to Jupyter; marimo is reactive (dependent cells auto-rerun), stores notebooks as plain Python scripts, and eliminates hidden-state ordering issues
  • fixed seeds and explicit split logic
  • logged dataset and feature assumptions

Feature engineering and contracts

  • numeric, categorical, text, and time-based transforms
  • point-in-time availability checks
  • reusable encoders and documented freshness assumptions

Evaluation and decision readiness

  • primary metric plus guardrails
  • threshold strategy
  • calibration and uncertainty handling
  • slice analysis and qualitative error review

Autonomous experimentation

Use agent-driven experiment loops only when the metric is explicit, the search space is bounded, and each run is cheap enough to keep or revert automatically.


Templates

Scripts

ScriptPurpose
scripts/ml_toolkit.pyGenerates model cards, leakage checks, and model-quality reports from a model-spec JSON
scripts/leakage_scan.pyStatic leakage scanner for ML feature/target column specs (JSON/JSONL). Flags time-leakage, target-leakage, and ID-leakage anti-patterns from column metadata. Exit code 1 if issues found.

Typical usage:

python scripts/ml_toolkit.py card --input data/sample-model-spec.json
python scripts/ml_toolkit.py leakage --input data/sample-model-spec.json
python scripts/ml_toolkit.py report --input data/sample-model-spec.json --output report.md

See scripts/README.md for the input format and leakage-check logic.

Navigation

Core references

Data and external references

Related Skills

Fact-Checking

  • Known bugs, regressions, framework/compiler/runtime footguns, and version-specific crash or workaround guidance must be verified against current primary web sources before being treated as current fact.
  • Verify current library capabilities, version-sensitive tooling advice, and benchmark claims before final answers.
  • Prefer official docs for fast-moving tools and model libraries.
  • If web access is unavailable, keep tool recommendations marked as unverified where freshness matters.

Learnings Loop

Before applying this skill on a non-trivial task, read learnings.consolidated.md in this directory (and learnings.md if present).

After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.

Frequently asked questions

What to verify before installation and use

What does the ai-ml-data-science source document cover?

Use this skill for reproducible data-science work from problem framing through evaluation and handoff. The center of gravity is not "pick the fanciest model." It is framing the decision, building train-serve-safe features, and producing decision-ready evidence.

How do I install ai-ml-data-science?

The source record exposes this install command: npx skills add https://github.com/vasilyu1983/AI-Agents-public --skill "frameworks/shared-skills/skills/ai-ml-data-science". Inspect the command and pinned source before running it.

Which Agent platforms does the source record declare?

The pinned source record declares support for: codex, claude code.

Which permission-related actions were detected?

Static rules flagged exec-script in the source; the page lists the matching lines and excerpts.

Alternatives

Compare before choosing