retail-eda-framework

retail-eda-framework is a skill for Claude Code, Codex from topprismdata/cultivating-ml-agent. It costs 125 tokens per session (2,278 once invoked), scanned A, original, MIT.

A structured way to examine retail, fashion, and other table-based data before building a machine-learning model. It covers data quality, statistics, business patterns, text, and relationships between product categories.

In plain words
What is it for?
Use it to audit sales or product datasets, study customer purchase patterns such as recency and spending, inspect product descriptions, and prepare safer features and data splits.
Why use it?
It helps uncover missing values, unusual data, leakage between training and test data, overly unique fields, and ignored product hierarchies before they damage the model.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to audit sales or product datasets, study customer purchase patterns such as recency and spending, inspect product descriptions, and prepare safer features and data splits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/topprismdata/cultivating-ml-agent/retail-eda-framework
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add topprismdata/cultivating-ml-agent --skill retail-eda-framework
Clone the repo
git clone --depth 1 https://github.com/topprismdata/cultivating-ml-agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for retail-eda-framework

README.md
[![agentmods](https://agentmods.dev/badge/skills/topprismdata/cultivating-ml-agent/retail-eda-framework/github.svg)](https://agentmods.dev/skills/topprismdata/cultivating-ml-agent/retail-eda-framework)
Your own site
<a href="https://agentmods.dev/skills/topprismdata/cultivating-ml-agent/retail-eda-framework"><img src="https://agentmods.dev/badge/skills/topprismdata/cultivating-ml-agent/retail-eda-framework/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for retail-eda-framework

Your own site · 80×15
<a href="https://agentmods.dev/skills/topprismdata/cultivating-ml-agent/retail-eda-framework"><img src="https://agentmods.dev/badge/skills/topprismdata/cultivating-ml-agent/retail-eda-framework.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,278 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00125 $0.02278
Opus 5 $0.00063 $0.01139
Sonnet 5 $0.00025 $0.00456
Haiku 4.5 $0.00013 $0.00228

Measured 9d ago against content hash 0e334e202044, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

retail-eda-framework scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (cross_review_trigger.sh, eda_pipeline.sh, path_efficiency.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/examples/retail-eda-framework/SKILL.md · 219 lines

How it starts

The opening of the file, as written. The whole thing — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Retail/Fashion EDA Framework

Comprehensive EDA approach for retail/fashion/tabular data, validated through Walmart, H&M, and 7+ fashion-lifecycle-pricing competitions.

Problem

Most ML projects skip EDA or do it superficially (just df.describe() + a histogram). This leads to:

  • Missing data issues discovered too late
  • Train/test distribution shift not caught
  • High-cardinality features used as raw categoricals (overfit)
  • Text features not extracted from product descriptions
  • Time-based leakage in train/test split
  • Hierarchical structure ignored (e.g., 5-level category hierarchy in H&M)

Real case (validated 2026-06-02 on H&M articles.csv):

  • 105,542 rows × 25 cols
  • Only 416 missing values (0.39% in detail_desc)
  • 5-level hierarchical structure: index_group → section → department → product_type → product_group
  • 45,875 unique prod_name (high cardinality)
  • 43,404 unique detail_desc (text, 142 chars avg)

Without proper EDA, none of these are caught before feature engineering.

The 5-Stage EDA Pipeline

Stage 1: Data Quality Audit (FIRST)

Tools: ydata-profiling (13.5k★), missingno (4.2k★)

# Quick data quality report
import ydata_profiling
profile = ydata_profiling.ProfileReport(df, title="Data Quality Report")
profile.to_file("eda/data_quality.html")

# Missing data visualization
import missingno as msno
msno.matrix(df)        # Bar chart of missing per column
msno.heatmap(df)       # Correlation of missingness between columns
msno.dendrogram(df)    # Hierarchical clustering of missingness

Look for:

  • Missing value patterns (random vs systematic)
  • High-cardinality categoricals (will overfit tree models)
  • Skewed numerical features (need log transform)
  • Constant/quasi-constant features (drop immediately)
  • Duplicate rows
  • Outliers (use IQR or z-score, not just visual)

Stage 2: Statistical Profiling (Train vs Test)

Tools: sweetviz (3.1k★)

# Compare train vs test
import sweetviz as sv
report = sv.compare([train_df, "Train"], [test_df, "Test"], target_feat="target")
report.show_html("eda/train_vs_test.html")

Read the full file on GitHub · 219 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 219 lines · 125 tokens per session scan A 0e334e202044

Subscribe to this mod's changes

retail-eda-framework is a skill published in the GitHub repository topprismdata/cultivating-ml-agent (5 stars, last pushed 12d ago), licensed MIT. It adds 125 tokens to every session and 2,278 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

huggingface-hub

Hugging Face Hub CLI (hf) — search, download, and upload models and datasets, manage repos, query datasets with SQL, deploy inference endpoints, manage Spaces and buckets.

braxtonROSE4/zorro-agent · 43 tokens

tensorboard

Visualize training metrics, debug models with histograms, compare experiments, visualize model graphs, and profile performance with TensorBoard - Google's ML visualization toolkit.

davila7/claude-code-templates · 32 tokens

mlflow

Track ML experiments, manage model registry with versioning, deploy models to production, and reproduce experiments with MLflow - framework-agnostic ML lifecycle platform.

davila7/claude-code-templates · 33 tokens

datachain-knowledge

Use whenever datasets, cloud storage buckets, or data pipelines are mentioned — creating, saving, querying, listing, exploring, deleting, or processing data in S3, GCS, Azure Blob, or local storage. Also use when running any script that may create datasets as a side effect. Maintains a knowledge base at dc-knowledge/…

datachain-ai/datachain · 104 tokens

prompt-scanner

A scanner for text sent to an AI agent, looking for prompt injection and jailbreak attempts. Prompt injection is text that tries to override an agent's instructions; a jailbreak tries to bypass its safety limits.

alibaba/anolisa · 103 tokens

install-openviking-memory

Install and configure the OpenViking long-term memory plugin for OpenClaw via natural conversation. Once installed, the plugin automatically captures facts from chats and recalls relevant context before each reply (auto-capture + auto-recall, cross-session). Covers prerequisites, install through OpenClaw's plugin…

volcengine/OpenViking · 191 tokens