accuracy-improvement-l…
Use when an existing model's results are disappointing and the user wants higher accuracy - 'accuracy is still too low', 'improve/boost the model', 'why is it…
Use at the START of ANY machine-learning / deep-learning / AI modeling task - building, training, fine-tuning, or choosing a model for image classification, object/face/vehicle detection, segmentation, medical imaging (tumor/cancer/MRI/X-ray/mammogram), text/NLP/LLM, tabular
$ npx -y skills add mxslr/mlcraft --skill ml-research-methodology --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/ml-research-methodologyContext preview
The summary Claude sees to decide when to auto-load this skill.
Use at the START of ANY machine-learning / deep-learning / AI modeling task - building, training, fine-tuning, or choosing a model for image classification, object/face/vehicle detection, segmentation, medical imaging (tumor/cancer/MRI/X-ray/mammogram), text/NLP/LLM, tabular
name: ml-research-methodology description: "Use at the START of ANY machine-learning / deep-learning / AI modeling task - building, training, fine-tuning, or choosing a model for image classification, object/face/vehicle detection, segmentation, medical imaging (tumor/cancer/MRI/X-ray/mammogram), text/NLP/LLM, tabular prediction (churn, price, risk), or time-series forecasting. Orchestrates the professional research-engineer workflow: research papers first, pick the best method, train rigorously, evaluate honestly (no data leakage, no inflated numbers). Routes to the right domain skill automatically."
Act as a **senior AI/ML engineer and researcher**, not a code monkey. The goal is the *correct, defensible* result - not the highest-looking number. Work through these phases in order. Announce the phase you are in.
Invoke **`literature-review`** (and the `paper-researcher` agent). Establish:
First invoke **`dataset-profiling`** to inspect the ACTUAL data (read local files, or emit a Kaggle profiling cell to run and paste back). Then invoke **`data-rigor-and-leakage`** BEFORE training. Wrong splits invalidate everything.
Pick the approach grounded in Phase 1 + the actual dataset, not hype. Route by task signal:
| Task signal | Domain skill | |---|---| | image classify / detect / segment / faces / vehicles / objects / OCR / pose | `domain-computer-vision` | | medical scan: tumor, cancer, MRI, CT, X-ray, mammogram, histopathology, retina | `domain-medical-imaging` | | text, sentiment, NER, QA, summarization, chatbot, RAG, embeddings, fine-tune LLM | `domain-nlp-llm` | | structured/CSV: churn, fraud, price, risk, credit scoring | `domain-tabular` | | forecasting, sensor/finance/demand over time, anomaly-in-time | `domain-time-series` | | audio, speech to text, ASR, sound classification, speaker, keyword spotting | `domain-audio-speech` | | recommendation, ranking, collaborative filtering, next-item, personalization | `domain-recommender` | | generate images, text-to-image, diffusion, GAN, image editing, super-resolution | `domain-generative` | | reinforcement learning, control, robotics, policy, reward, bandits | `domain-reinforcement-learning` | | graph, GNN, node classification, link prediction, molecules, networks | `domain-graph` | | vision-language, CLIP, VQA, image captioning, multimodal, zero-shot image | `domain-multimodal` | | video, action recognition, activity, temporal action detection | `domain-video` | | 3D, point cloud, LiDAR, mesh, depth, 3D detection or segmentation | `domain-3d` | | anomaly, outlier, defect, novelty, intrusion, predictive maintenance | `domain-anomaly-detection` |
Each domain skill has a **decision table** (sub-task to best architecture + honest caveats).
If the task has no matching row (for example simulation or robotics control stacks, optimization and operations research, or other niche settings), do not stop. Apply this same methodology, use `literature-review` to choose the method, and `rigorous-evaluation` to pick metrics that fit the task.
Train simple, strong baselines with **identical configs** before any fancy/fusion/ensemble model. You cannot claim an improvement without a fair baseline.
Invoke **`training-optimization`**: transfer learning, discriminative LR, schedules, regularization tuned to over/under-fit, mixed precision, gradient checkpointing, checkpoint/resume, and a realistic **compute budget** (fit the GPU quota).
Invoke **`rigorous-evaluation`**: the right metrics, calibration, operating **thresholds chosen on validation** (never on test), confidence intervals where feasible, and honest reporting. Distrust results that look too good - re-audit for leakage.
Invoke **`deployment-explainability`**: preprocessing **parity** at inference, saliency/Grad-CAM for trust, out-of-distribution guardrails, and a clear "decision-support, not autonomous diagnosis" framing for high-stakes domains.
("accuracy still too low", "boost", "make it better") then use **`accuracy-improvement-loop`** instead of restarting: diagnose the bottleneck, research the specific gap, synthesize a principled combination of techniques, rank by expected impact.
A research-first AI/ML research-engineer workflow for Claude Code
Use when an existing model's results are disappointing and the user wants higher accuracy - 'accuracy is still too low', 'improve/boost the model', 'why is it…
Use BEFORE training any model, to build correct train/val/test splits and hunt data leakage - the #1 cause of fake-high accuracy. Covers group/patient/subject…
Use as the FIRST step of any ML task, before choosing a model, to inspect and understand the actual dataset. Works for a LOCAL dataset (Claude reads the files…
Use when turning a trained model into something usable (an app, an inference function, a demo) or adding explainability. Selects the RIGHT interpretability…
Use for 3D and point cloud tasks: point cloud classification, 3D semantic or instance segmentation, 3D object detection from LiDAR, and depth or mesh analysis,…
Use for anomaly, outlier, and novelty detection across data types: industrial or visual defect detection, time-series or sensor anomalies and predictive…