Skip to content
Back to skills

Ml

ASecurity

Machine learning, statistics, and model training. Open it without being asked when the work splits data, trains or evaluates a model, runs a statistical test, fits a Bayesian model, analyzes a table of data, decides whether to fine-tune or fine-tunes a language model or an embedding model, debugs GPU memory, reads evaluation logs, compresses a model's weights, or serves a model on GPUs.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsrustgodockerkubernetestestingapi

Works with

  • api
  • mcp

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add MauroProto/mstack --skill ml --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ml?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ml
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mauroproto-mstack/badge)](https://www.skillsdirectory.com/skills/mauroproto-mstack)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ml
description: Machine learning, statistics, and model training. Open it without being asked when the work splits data, trains or evaluates a model, runs a statistical test, fits a Bayesian model, analyzes a table of data, decides whether to fine-tune or fine-tunes a language model or an embedding model, debugs GPU memory, reads evaluation logs, compresses a model's weights, or serves a model on GPUs.
---

# ml

Read `modules/experiment-rigor.md` before any work that trains a model and reports a number. Then read the one guide whose signal matches. Each guide is for one library, at the version in the table: check the installed version before you trust an API detail.

| Signal in the request or the repo | Read | Targets | Care |
|---|---|---|---|
| A question about a CSV, a spreadsheet, a query result, or logs: anomalies, a trend, a difference between groups | `modules/table-analysis.md` | any library | |
| A train, validation, and test split; cross-validation; an accuracy that looks too high | `guides/data-rigor-and-leakage/GUIDE.md` | any library | |
| A statistical test, an effect size, a power analysis, a comparison of groups | `guides/statistical-analysis/GUIDE.md` | Pingouin 0.7, SciPy 1.18, statsmodels 0.15 | Ask before creating the environment it describes. APA formatting only when the user wants it. |
| `import pymc`; a Bayesian model, priors, a hierarchical model | `guides/pymc-modeling/GUIDE.md` | PyMC 6, PyTensor 3 | |
| An existing posterior to check: divergences, R-hat, ESS, LOO, a posterior predictive check | `guides/arviz-diagnostics/GUIDE.md` | ArviZ 1 | |
| `skforecast`; backtesting a forecast, `TimeSeriesFold` | `guides/backtesting-configuration/GUIDE.md` | skforecast | |
| A CUDA out-of-memory error, a memory leak, or a snapshot from `torch.cuda.memory._dump_snapshot()` | `guides/analyze-memory-snapshot/GUIDE.md` | PyTorch | Loading a pickle runs the code inside it. The script opens one only with `TRUST_SNAPSHOT_PICKLE=1`: set it only for a snapshot this machine produced. |
| Training an embedding model, a reranker, SPLADE, or ColBERT with `sentence-transformers` | `guides/train-sentence-transformers/GUIDE.md` | sentence-transformers 5 and later | The templates push to the Hub only with `PUSH_TO_HUB=1` and report to Trackio only with `REPORT_TO_TRACKIO=1`. Set them, or start an HF Job, only when the user asks. |
| Whether to fine-tune at all, and SFT, DPO, or training with a checker | `modules/before-finetuning.md` | any library | Read it before the training guides below. |
| Fine-tuning a language model with TRL: `SFTTrainer`, `DPOTrainer`, `GRPOTrainer` | `guides/trl-training/GUIDE.md` | TRL | |
| Training with rewards (GRPO and similar) that misbehaves: flat reward, entropy collapse, log-probability drift, an evaluation gap | `guides/debug-rl-training/GUIDE.md` | any framework | Its metric names come from one stack. A diagnosis does not authorize a relaunch. |
| LoRA on a Mac with Apple Silicon, `mlx_lm.lora` | `guides/mlx-lm-lora/GUIDE.md` | mlx-lm | |
| Logging or reading training metrics with Trackio | `guides/huggingface-trackio/GUIDE.md` | Trackio | A Space is public by default. Log locally unless the user asks for a hosted dashboard. |
| An Inspect AI log, a `.eval` file | `guides/reading-logs/GUIDE.md` | inspect_ai 0.3 | |
| Making a model smaller: quantization to GGUF, GPTQ, AWQ, FP8, or 4-bit | `guides/model-compression/GUIDE.md` | llm-compressor, llama.cpp, Transformers | Its commands carry a date. Check each flag. |
| Serving an LLM on your own GPUs: the engine, vLLM in Docker or Kubernetes, VRAM and KV cache, a benchmark | `guides/inference-serving/GUIDE.md` | vLLM | Keep the endpoint private until the user decides who may reach it. |

## Not copied

These are named so that you can tell the user they exist. Install one only when the user asks.

- `yolo-training` (ultralytics/skills) is AGPL-3.0.
- `tidymodels` (tidymodels/skills) has no license file at the commit that was read.
- `data-designer` (NVIDIA-NeMo/DataDesigner) belongs to a library that collects telemetry by default. `NEMO_TELEMETRY_ENABLED=false` turns it off.
- `scikit-learn` (K-Dense-AI/scientific-agent-skills) is a general tutorial. For scikit-learn 1.8 and later, `penalty` in `LogisticRegression` is deprecated in favor of `l1_ratio`.
- `nemo-mbridge-recipe-recommender` ships inside NVIDIA-NeMo/Megatron-Bridge and works only in a checkout of it.
- `agent-driven-training` (modal-labs/modal-dojo) runs training on Modal. Its six diagnosis references are copied here as `debug-rl-training`.
- `wandb-autoresearch` (wandb/skills) needs another skill of that repository and a W&B Launch queue.
- `optuna-mcp` (optuna/optuna-mcp) is an MCP server for hyperparameter search, not a skill.

Each folder under `guides/` is a skill that someone else wrote, copied at the commit named in `guides/THIRD_PARTY.md`.

Files in this skill

  • SKILL.md3.9 KB
  • THIRD_PARTY.md169 B
  • guides/THIRD_PARTY.md5.5 KB
  • guides/analyze-memory-snapshot/GUIDE.md10.6 KB
  • guides/analyze-memory-snapshot/scripts/analyze_snapshot.py17.5 KB
  • guides/arviz-diagnostics/GUIDE.md3.7 KB
  • guides/arviz-diagnostics/LICENSE1.1 KB
  • guides/arviz-diagnostics/references/diagnostics.md18.1 KB
  • guides/arviz-diagnostics/references/model_evaluation.md13.6 KB
  • guides/backtesting-configuration/GUIDE.md11.6 KB
  • guides/data-rigor-and-leakage/GUIDE.md2.4 KB
  • guides/debug-rl-training/GUIDE.md1.4 KB
  • guides/debug-rl-training/references/debug-async.md4.9 KB
  • guides/debug-rl-training/references/debug-entropy.md5.3 KB
  • guides/debug-rl-training/references/debug-evaluation.md2.5 KB
  • guides/debug-rl-training/references/debug-logprobs.md4.8 KB
  • guides/debug-rl-training/references/debug-reward.md4.4 KB
  • guides/debug-rl-training/references/debug-updates.md4 KB
  • guides/huggingface-trackio/GUIDE.md5.2 KB
  • guides/huggingface-trackio/references/alerts.md5.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.