/mstack:mlfrom mstack
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, fine-tunes a language model or an embedding model, debugs GPU memory, or reads evaluation logs.
Ships in mstack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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 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. |
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 |
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.
THIRD_PARTY.md (opens in a new tab)guides/THIRD_PARTY.md (opens in a new tab)guides/analyze-memory-snapshot/GUIDE.md (opens in a new tab)guides/analyze-memory-snapshot/scripts/analyze_snapshot.py (opens in a new tab)guides/arviz-diagnostics/GUIDE.md (opens in a new tab)guides/arviz-diagnostics/LICENSE (opens in a new tab)guides/arviz-diagnostics/references/diagnostics.md (opens in a new tab)guides/arviz-diagnostics/references/model_evaluation.md (opens in a new tab)guides/backtesting-configuration/GUIDE.md (opens in a new tab)guides/data-rigor-and-leakage/GUIDE.md (opens in a new tab)guides/debug-rl-training/GUIDE.md (opens in a new tab)guides/debug-rl-training/references/debug-async.md (opens in a new tab)guides/debug-rl-training/references/debug-entropy.md (opens in a new tab)guides/debug-rl-training/references/debug-evaluation.md (opens in a new tab)guides/debug-rl-training/references/debug-logprobs.md (opens in a new tab)guides/debug-rl-training/references/debug-reward.md (opens in a new tab)guides/debug-rl-training/references/debug-updates.md (opens in a new tab)guides/huggingface-trackio/GUIDE.md (opens in a new tab)guides/huggingface-trackio/references/alerts.md (opens in a new tab)guides/huggingface-trackio/references/logging_metrics.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mauroproto/mstack --plugin mstackOther plugins' skills for the same job
8 skills in this plugin
/architectStructure of a codebase. Open it without being asked when a change adds a module or an interface, crosses packages, or involves retries, concurrency, or shared state. Use to design or restructure modules and their interfaces, enforce boundaries between packages in a TypeScript monorepo, build the domain glossary and record decisions, find what to remove from a codebase, design operations that can be retried or that share state between concurrent actors, stop a mistake that agents keep repeating in a repo, or review a session to improve the agent's environment. Also holds guides for Supabase, Postgres table design, Vercel AI SDK, Cloudflare Workers, Wrangler and Durable Objects, Vercel cost audits, and evals for LLM products./designUser interfaces. Open it without being asked before you build or change any UI, such as a component, a page, styles, or an animation. Use to design, build, polish, or review UI: typography, color, layout, motion, accessibility, interface copy, gestures, mobile web, building from a Figma file or an image, breaking a UI with worst-case data, checking rendered UI against a reference, or reviewing the interface changes in a diff. Also holds guides for shadcn/ui, React and React Native, view transitions, Expo animations, Sonner, modern web platform APIs, page metadata, web performance, and Chrome extensions.