domain-tabular

domain-tabular is a skill for Claude Code, Codex from mxslr/mlcraft. It costs 94 tokens per session (565 once invoked), scanned A, original, MIT.

A guide for choosing and evaluating machine-learning models on tabular data, meaning information arranged in rows and columns such as customer or transaction records.

In plain words
What is it for?
Use it for tasks such as churn prediction, fraud detection, credit scoring, price or demand prediction, conversion prediction and recommendation features.
Why use it?
It helps avoid common mistakes such as data leakage, where the model accidentally sees information that would not exist when making a real prediction. It also covers validation, missing values, categories and imbalanced outcomes.

Skill for Claude CodeCodex

Part of the mlcraft plugin — 23 skills, 1 command, 1 agent shipped together

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.

agentmods
npx agentmods add skills/mxslr/mlcraft/domain-tabular
Any agent
npx skills add mxslr/mlcraft --skill domain-tabular
Clone the repo
git clone --depth 1 https://github.com/mxslr/mlcraft

Made for: Claude Code, Codex.

Or install mlcraft, the plugin that ships this one along with the rest of its 23 skills, 1 command, 1 agent.

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 domain-tabular

README.md
[![agentmods](https://agentmods.dev/badge/skills/mxslr/mlcraft/domain-tabular.svg)](https://agentmods.dev/skills/mxslr/mlcraft/domain-tabular)
Your own site
<a href="https://agentmods.dev/skills/mxslr/mlcraft/domain-tabular"><img src="https://agentmods.dev/badge/skills/mxslr/mlcraft/domain-tabular.svg" alt="Measured on agentmods" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 565 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00094 $0.00565
Opus 5 $0.00047 $0.00282
Sonnet 5 $0.00019 $0.00113
Haiku 4.5 $0.00009 $0.00056

Measured 3d ago against content hash 63ce2ae2c9db, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

domain-tabular 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 3d ago.

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/domain-tabular/SKILL.md · 31 lines

What it actually says

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).
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. 3d ago First seen · 31 lines · 94 tokens per session scan A 63ce2ae2c9db

Subscribe to this mod's changes

domain-tabular is a skill published in the GitHub repository mxslr/mlcraft (8 stars, last pushed 1mo ago), licensed MIT. It adds 94 tokens to every session and 565 once invoked, about $0.0005 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

torch-performance-optimization

Optimize or review eager CPU-only Albucore PyTorch runtime paths with benchmark-backed decisions. Use when adding or changing Torch CPU kernels, Tensor/NumPy bridges, Torch backend routing, tensor layouts, allocations, threading, profiling, memory-format candidates, or Torch performance benchmarks.

albumentations-team/albucore · 60 tokens

ml-for-aec

Computer vision for buildings, image-to-floorplan, generative ML models, performance prediction, structural analysis ML, energy prediction, natural language to design, and point cloud ML for AEC computational design.

Abhinavbwj/Claude-skills-for-Computational-Designers · 39 tokens

yolo-export

Use when exporting or deploying Ultralytics YOLO models in Platform or code — the Platform Export tab and yolo export/model.export() for ONNX, TensorRT, CoreML, OpenVINO, LiteRT, NCNN, ExecuTorch, and NPUs (RKNN, QNN, Hailo, Ascend, IMX, Axelera, DeepX), FP16/INT8 quantization, benchmarking, and non-Python runtimes.…

ultralytics/skills · 114 tokens

yolo-training

Use when training, fine-tuning, or validating Ultralytics YOLO models in Platform, cloud GPUs, or local code — model.train(), yolo train/val, remote metric streaming, epochs, batch, imgsz, devices, augmentation, multi-GPU, resumes, results, and fixing OOM, NaN loss, low mAP, or overfitting. For hyperparameter search…

ultralytics/skills · 95 tokens

yolo-datasets

Use when uploading, annotating, building, converting, analyzing, or debugging datasets in Ultralytics Platform or local YOLO — Platform dataset management and Smart Annotation, data.yaml, YOLO label .txt formats, COCO/DOTA/mask conversion, auto-labeling, splits, validation, and errors like "no labels found" or mAP…

ultralytics/skills · 97 tokens

yolo-models

Use when choosing or comparing Ultralytics models in Platform or code — picking a model family (YOLO26/YOLO11/YOLOv8, YOLO-World, YOLOE, SAM/SAM2/FastSAM, RT-DETR, YOLO-NAS), size (n/s/m/l/x), task variant (-seg, -sem, -cls, -pose, -obb, -depth), pretrained checkpoint, open-vocabulary or promptable…

ultralytics/skills · 128 tokens