Skip to content
Development
Skill

/domain-tabular

Use for structured/tabular data prediction: churn, fraud, credit/risk scoring, price/demand regression, conversion, recommendation features, any CSV/database ML. Picks gradient boosting vs deep tabular, robust feature engineering, correct CV, calibration, and imbalance handling.

From plugin
mlcraft
823 skills1 agent1 command

Claude Code

$ npx -y skills add mxslr/mlcraft --skill domain-tabular --agent claude-code

SKILL.md

domain-tabular.SKILL.md
name: domain-tabular
description: "Use for structured/tabular data prediction: churn, fraud, credit/risk scoring, price/demand regression, conversion, recommendation features, any CSV/database ML. Picks gradient boosting vs deep tabular, robust feature engineering, correct CV, calibration, and imbalance handling. Triggers on 'predict churn/fraud/price/risk', 'classify this CSV/table', 'tabular', 'XGBoost/LightGBM', 'feature engineering'."

Tabular ML - Method Selection

For most tabular problems, **gradient-boosted trees beat deep learning** - start there.

Decision table

| Situation | Recommended | Notes | |---|---|---| | Default (any size, mixed types) | **LightGBM / XGBoost / CatBoost** | CatBoost handles categoricals natively; LightGBM is fast; XGBoost robust. Tune with Optuna. | | Strong baseline / linear signal | **Regularized Linear/Logistic, ElasticNet** | Fast sanity baseline; interpretable. | | Very large + rich, or embeddings needed | **Deep tabular (FT-Transformer / TabNet)** | Only when GBTs plateau and data is large. | | Tiny data | **Linear / simple trees + heavy regularization** | Avoid overfitting; strong CV. | | Ensembling | **Blend/stack GBTs + linear** | Usually the last real gain. |

Feature engineering & correctness

  • **Target leakage is the #1 killer**: drop features known only *after* the outcome or that encode the label. Audit each feature's availability at prediction time.
  • Fit encoders/scalers/imputers/target-encoding **inside CV folds** (on train only) - fitting on the full set leaks (`data-rigor-and-leakage`).
  • Handle categoricals (native/CatBoost, or target/one-hot with fold-safe encoding), missing values, and skew deliberately.
  • Time-aware data needs a **time-based split** (train earlier than test), never random.

Evaluation & imbalance

  • **CV**: StratifiedKFold (classification), GroupKFold if entities repeat, TimeSeriesSplit if temporal.
  • **Imbalanced** (fraud/churn): PR-AUC, recall at a fixed precision, class weights or focal/`scale_pos_weight` - not raw accuracy.
  • **Calibrate** probabilities (Platt/isotonic) if scores drive decisions/thresholds.
  • **Explainability**: SHAP for global + per-prediction attribution (great for stakeholder trust).
  • Improve: use `accuracy-improvement-loop` (feature engineering usually beats model swaps; then tuning, then stacking).
Read more
@mxslr
Ships withmlcraft

A research-first AI/ML research-engineer workflow for Claude Code

823 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8
Star history of mxslr/mlcraft on GitHub, a chart by star-history.com

Other skills on mlcraft.

accuracy-improvement-loop

accuracy-improvement-l…

Use when an existing model's results are disappointing and the user wants higher accuracy - 'accuracy is still too low',…

@mxslr@mxslrInstall Skill
data-rigor-and-leakage

data-rigor-and-leakage

Use BEFORE training any model, to build correct train/val/test splits and hunt data leakage - the #1 cause of fake-high accuracy.…

@mxslr@mxslrInstall Skill
dataset-profiling

dataset-profiling

Use as the FIRST step of any ML task, before choosing a model, to inspect and understand the actual dataset. Works for a LOCAL…

@mxslr@mxslrInstall Skill
deployment-explainability

deployment-explainabil…

Use when turning a trained model into something usable (an app, an inference function, a demo) or adding explainability. Selects…

@mxslr@mxslrInstall Skill
domain-3d

domain-3d

Use for 3D and point cloud tasks: point cloud classification, 3D semantic or instance segmentation, 3D object detection from…

@mxslr@mxslrInstall Skill
domain-anomaly-detection

domain-anomaly-detecti…

Use for anomaly, outlier, and novelty detection across data types: industrial or visual defect detection, time-series or sensor…

@mxslr@mxslrInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about domain-tabular.

Which coding agents can use domain-tabular?
domain-tabular installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.