ML Engineer
RightNow-AI/openfang
Machine learning engineer expert for PyTorch, scikit-learn, model evaluation, and MLOps
A skill your agent uses when predicting a column from rows of tabular features with classic models — scikit-learn pipelines, RandomForest, XGBoost/LightGBM, leak-free cross-validation, metrics for…
$ npx skills add ericrisco/rsc-harness --skill machine-learning -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ericrisco/rsc-harness machine-learning --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/machine-learning .claude/skills/machine-learning && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "machine-learning" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/machine-learning into .claude/skills/machine-learning/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "machine-learning", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ericrisco/rsc-harness/tree/main/skills/machine-learningType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ericrisco/rsc-harness --skill machine-learning -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ericrisco/rsc-harness machine-learning --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/machine-learning .agents/skills/machine-learning && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "machine-learning" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/machine-learning into .agents/skills/machine-learning/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "machine-learning", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ericrisco/rsc-harness --skill machine-learning -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ericrisco/rsc-harness machine-learning --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/machine-learning .cursor/skills/machine-learning && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "machine-learning" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/machine-learning into .cursor/skills/machine-learning/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "machine-learning", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ericrisco/rsc-harness.git --path skills/machine-learning--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ericrisco/rsc-harness --skill machine-learning -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ericrisco/rsc-harness machine-learning --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/machine-learning .gemini/skills/machine-learning && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "machine-learning" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/machine-learning into .gemini/skills/machine-learning/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "machine-learning", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ericrisco/rsc-harness machine-learningInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ericrisco/rsc-harness --skill machine-learning -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/machine-learning .github/skills/machine-learning && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "machine-learning" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/machine-learning into .github/skills/machine-learning/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "machine-learning", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ericrisco/rsc-harness --skill machine-learning -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ericrisco/rsc-harness machine-learning --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/machine-learning .opencode/skills/machine-learning && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "machine-learning" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/machine-learning into .opencode/skills/machine-learning/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "machine-learning", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
machine-learningA skill your agent uses when predicting a column from rows of tabular features with classic models — scikit-learn pipelines, RandomForest, XGBoost/LightGBM, leak-free cross-validation, metrics for…
Machine Learning is an agent skill from ericrisco/rsc-harness. Use when predicting a column from rows of tabular features with classic models — scikit-learn pipelines, RandomForest, XGBoost/LightGBM, leak-free cross-validation, metrics for imbalanced classes, or a model that aced CV then collapsed in production. NOT PyTorch neural nets (that is deep-learning), NOT cleaning the dirty table first (that is data-cleaning), NOT forecasting a dated series (that is forecasting), NOT text/token modeling (that is nlp).
Its SKILL.md is about 4.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `evals/README.md`, `evals/cases.yaml` and `references/gbdt-and-tuning.md`).
It sits in Data & Analytics, covering Machine learning and Deep learning. It works with scikit-learn and PyTorch. The repository describes itself as: Your agent invents things because it has no memory, and can't touch your database because it has no arms. rsc is the meta-harness that gives it both, plus the trade to know the… The licence is MIT.
Read from SKILL.md and the folder at commit 92fde8f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
scikit-learn.orgarxiv.orgFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Machine Learning loads about 4.2k tokens when it runs, and up to ~8k if it reads all its reference files. Until then it costs about 119 tokens; SKILL.md has 1,674 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from ericrisco/rsc-harness at commit 92fde8f, republished under its MIT licence (© ericrisco). 1,674 words, ~4,226 tokens.
.claude/skills/machine-learning/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.Tabular ML is easy to run and easy to fool yourself with. The deliverable is never "the notebook
printed 0.99" — it is an honest estimate of how the model behaves on data it has never seen: a
Pipeline that fits every transform on train only, a metric that survives class imbalance, and a
DummyClassifier baseline it beats. A number you can't reproduce on a sacred test set you touched exactly
once isn't a result — it's a leak you haven't found yet.
| Your situation | Reach for |
|---|---|
| Rows of features, predict a column, with trees / linear models / sklearn | machine-learning (this skill) |
| Images, audio, long text, sequences, or you need a neural net / PyTorch | deep-learning |
| The table is still dirty (nulls, dupes, mixed types, bad dates) | data-cleaning first — it hands you a validated table |
| Text/token classification, NER, tokenization, LLM-adjacent NLP metrics | nlp (a TF-IDF + linear/GBDT baseline still lives happily in this skill's pipeline) |
| KPIs, dashboards, "explain the business" | analytics / business-intelligence |
| Forecast a dated series forward (revenue next quarter) | forecasting |
| Building a training corpus of JSONL messages / preference pairs for an LLM | training-data |
This skill starts at a clean, validated table (rows × features + a target) and ends at a fitted,
honestly-scored model with a test-set number and a baseline it beats. Cleaning is upstream — consume the
validated frame data-cleaning produced; don't re-teach it here.
Verified 2026-07: scikit-learn current major ~1.9 (1.9.0 shipped 2026-06-02, Python 3.11–3.14) — do
NOT pin from memory; check the current stable at scikit-learn.org, the 1.x line ships every few months.
GBDTs: XGBoost 3.x and LightGBM 4.x (xgboost 3.3, lightgbm 4.6 current), plus sklearn's own
HistGradientBoostingClassifier/...Regressor — a fast native GBDT that eats NaN and (with
categorical_features="from_dtype") categoricals with no preprocessing. Pin what you ship
(python owns the environment and the pinning); state versions as "~X (verify)",
never as frozen fact.
Every preprocessing step — imputation, scaling, encoding, feature selection, target encoding, resampling —
learns parameters from data. Learn them from rows the model is later scored on and the score inflates
while production underperforms: that is leakage, the #1 way tabular ML lies. The whole apparatus below —
Pipeline, ColumnTransformer, CV, the untouched test set — exists to make "fit on train only" automatic
instead of something you remember to do by hand (you won't).
Every model is an estimator with the same contract: fit(X, y), then predict(X) /
predict_proba(X) (classifiers) / score(X, y). Transformers add transform(X) / fit_transform(X, y).
A Pipeline chains transformers + a final estimator into one estimator — so fit fits every step on
train, and predict/CV transforms test data with parameters learned on train. That is the leakage guard.
A ColumnTransformer routes different columns down different transformer branches (scale the numerics,
encode the categoricals) and stitches the result back together — all still inside the pipeline.
from sklearn.compose import ColumnTransformer, make_column_selector as mcs
from sklearn.pipeline import Pipeline
from sklearn.impute import SimpleImputer
from sklearn.preprocessing import StandardScaler, OneHotEncoder
from sklearn.linear_model import LogisticRegression
numeric = Pipeline([("impute", SimpleImputer(strategy="median")),
("scale", StandardScaler())]) # scaling matters for LINEAR/SVM/KNN
categoric = Pipeline([("impute", SimpleImputer(strategy="most_frequent")),
("onehot", OneHotEncoder(handle_unknown="ignore"))]) # unseen category -> all-zeros, no crash
pre = ColumnTransformer([
("num", numeric, mcs(dtype_include="number")),
("cat", categoric, mcs(dtype_include=["object", "category"])),
], remainder="drop")
model = Pipeline([("pre", pre), ("clf", LogisticRegression(max_iter=1000, class_weight="balanced"))])
model.fit(X_train, y_train) # imputers/scaler/encoder ALL fit on X_train only
model.predict_proba(X_test) # X_test transformed with train-learned params — no leakTwo load-bearing details: OneHotEncoder(handle_unknown="ignore") so a category unseen in train doesn't
crash prediction, and remainder="drop" so unrouted columns don't silently leak through raw;
model.set_output(transform="pandas") keeps named-column DataFrames through the pipeline.
Trees skip most of this — scaling is pointless for tree models, and HistGradientBoostingClassifier
ingests NaN and categoricals natively, so its pipeline is often just the estimator. Preprocess for the
model that needs it, not as a ritual. More patterns (make_column_transformer, FunctionTransformer)
→ references/pipelines-and-cv.md.
Gradient-boosted decision trees are the correct first (and usually last) model for tabular problems.
This isn't taste: Grinsztajn, Oyallon & Varoquaux (2022), "Why do tree-based models still outperform
deep learning on tabular data?" (arXiv:2207.08815) benchmarked across
45 datasets and found GBDTs beat tuned neural nets on medium-sized tabular data, tracing it to three
inductive biases NNs lack: robustness to uninformative features, not being rotationally invariant
(so they exploit the meaning of individual columns), and ease of learning irregular / non-smooth target
functions. Start with a GBDT; reach for deep-learning on tabular only with a specific reason.
| Library | Import | Reach for it when |
|---|---|---|
HistGradientBoostingClassifier | sklearn.ensemble | Default. Fast, zero extra deps, native NaN + categorical. |
| XGBoost 3.x | xgboost.XGBClassifier | Battle-tested; early_stopping_rounds, rich regularization. |
| LightGBM 4.x | lightgbm.LGBMClassifier | Fastest on wide/large data; leaf-wise; strong native categoricals. |
All three expose the sklearn estimator API, so they drop into the pipeline and CV below unchanged. Don't
agonize over XGBoost-vs-LightGBM before you have a baseline and a leak-free CV — split discipline dwarfs the
library choice. Tuning knobs (learning_rate, num_leaves/max_depth, early stopping, monotonic_cst)
and importance/SHAP → references/gbdt-and-tuning.md.
Feature engineering is where leakage sneaks back in after the pipeline "protected" you. Rules:
SelectKBest run before splitting, an imputer using the global mean — each leaks
test statistics into train. The common_pitfalls canonical example: SelectKBest(k=25).fit_transform(X, y)
before train_test_split produces a beautiful, meaningless score.preprocessing.TargetEncoder does this: its fit_transform(X, y) uses an internal cross-fitting scheme
so each row is encoded from other folds' targets — fit(X, y).transform(X) deliberately differs and
would leak. Use fit_transform on train (inside the pipeline); never hand-roll a group-mean encoder.TimeSeriesSplit), not randomly.Hold out a test set once, at the very start (train_test_split(..., stratify=y, random_state=0)) and
do not look at it until you have a single final model. Every glance — tuning, feature choice, "let me just
check" — bleeds information and re-inflates the estimate. Tune and compare with cross-validation on the
training portion only; the test set is the one honest number at the end (see the lifecycle below). Score
with cross_validate(pipeline, X_tr, y_tr, cv=cv, scoring=[...], return_train_score=True) — a large
train-minus-test gap is your overfitting alarm.
Pick the splitter to match the data (cross_validation docs):
StratifiedKFold — default for classification; preserves class balance per fold (essential when
imbalanced). KFold for regression.TimeSeriesSplit — any time ordering. Trains on past, tests on future; never shuffles the future
into train. A random KFold on time-series data is leakage.GroupKFold / StratifiedGroupKFold — when rows cluster (same user/patient/store across many rows).
Keep a group entirely in train or test, or the model memorizes the group and CV lies.random_state to splitters for reproducible folds. Put preprocessing in the pipeline so
CV re-fits it every fold — cross_validate(pipeline, ...), never cross_validate(model, X_scaled, ...).For tuning, wrap CV in GridSearchCV / RandomizedSearchCV / HalvingRandomSearchCV; for an unbiased
estimate of the tuning process itself, use nested CV → references/pipelines-and-cv.md.
Accuracy lies on imbalanced data. At 99% negatives, a model that predicts "negative" always scores 99% accuracy and is worthless. Choose the metric for the task and the cost of each error type (model_evaluation docs):
| Task / question | Metric (sklearn.metrics) | scoring string |
|---|---|---|
| Ranking quality, threshold-free, balanced-ish | roc_auc_score | "roc_auc" |
| Imbalanced ranking (rare positive: fraud, disease) | average_precision_score (PR-AUC) | "average_precision" |
| Cost of false positives high (don't cry wolf) | precision_score | "precision" |
| Cost of misses high (don't miss a case) | recall_score | "recall" |
| Balance both, per-class fairness | f1_score (use f1_macro multiclass) | "f1" / "f1_macro" |
| Multiclass, care about every class equally | balanced_accuracy_score | "balanced_accuracy" |
| See the actual error breakdown | confusion_matrix, classification_report | — |
| Regression | r2_score, mean_absolute_error, root_mean_squared_error | "r2", "neg_mean_absolute_error", "neg_root_mean_squared_error" |
Prefer PR-AUC (average_precision) to ROC-AUC when positives are rare — ROC-AUC can look great while
precision is dismal, since it ignores the negative flood. Feed AUC metrics predict_proba, not hard labels.
The default 0.5 threshold is a choice: tune it on validation to hit your precision/recall target.
Regression uses root_mean_squared_error now (mean_squared_error(squared=False) is gone). Threshold
tuning, calibration, class_weight/resampling → references/metrics-and-imbalance.md.
| Anti-pattern | Do instead |
|---|---|
| Modeling straight off the raw, dirty table | This skill starts at a clean, validated frame. Run data-cleaning first — nulls, dupes and mixed dtypes are its job, not a modeling problem. |
| Scaling / encoding / selecting features, then splitting | Leakage (#1 sin). Test statistics are now in train. Split first; put every learned transform inside the Pipeline so CV re-fits per fold. |
| Celebrating an amazingly predictive feature | Suspect target leakage — a column derived from the label or unavailable at prediction time. Audit provenance before you celebrate. |
| Reporting 99% accuracy on 1% positives | The accuracy trap. A constant predictor matches it. Report PR-AUC / precision / recall / F1 and a confusion_matrix. |
SMOTE-ing the whole dataset because the classes are imbalanced | Resampling before the split, or on the test fold, leaks and evaluates on synthetic rows. Resample inside CV, on the train fold only (imblearn Pipeline), or just use class_weight="balanced". |
| Shipping on the CV score alone | You never touched a held-out test set, or you peeked at it while tuning. One final, untouched test number — or the estimate is optimistic. |
Random KFold on time-series / multi-user data | Future or same-group rows leak into train. Use TimeSeriesSplit / GroupKFold. |
| Waving off a big train/test gap | Overfitting. Regularize, reduce capacity (max_depth, min_samples_leaf), get more data, or use early stopping. Watch return_train_score. |
| Going straight to XGBoost with no baseline | Without a DummyClassifier(strategy="most_frequent") / DummyRegressor floor (and a simple linear model), you can't tell if the fancy model adds anything. |
| Grid-searching 10k combos over all the data | Tuning against the test set is fitting to it. Tune with CV on train, confirm once on test; consider nested CV. |
Unset random_state, unpinned versions | Folds and fits stop being reproducible and re-trains stop being comparable. Set an integer random_state on splitters and estimators; pin the versions you ship. |
from sklearn.dummy import DummyClassifier
from sklearn.ensemble import HistGradientBoostingClassifier
from sklearn.model_selection import train_test_split, StratifiedKFold, cross_val_score
from sklearn.metrics import average_precision_score, classification_report
X_tr, X_test, y_tr, y_test = train_test_split(X, y, test_size=0.2, stratify=y, random_state=0)
cv = StratifiedKFold(n_splits=5, shuffle=True, random_state=0)
# 0. BASELINE first — the floor every real model must clear
base = DummyClassifier(strategy="most_frequent")
print("baseline PR-AUC:", cross_val_score(base, X_tr, y_tr, cv=cv, scoring="average_precision").mean())
# 1. default GBDT (native NaN + categoricals -> minimal pipeline). class_weight for imbalance.
clf = HistGradientBoostingClassifier(categorical_features="from_dtype",
class_weight="balanced", random_state=0)
cv_pr = cross_val_score(clf, X_tr, y_tr, cv=cv, scoring="average_precision")
print("model CV PR-AUC:", cv_pr.mean().round(3), "+/-", cv_pr.std().round(3))
# 2. it clears the baseline -> commit, fit on all train, judge ONCE on the sacred test set
clf.fit(X_tr, y_tr)
proba = clf.predict_proba(X_test)[:, 1]
print("TEST PR-AUC:", round(average_precision_score(y_test, proba), 3))
print(classification_report(y_test, (proba >= 0.5).astype(int))) # threshold is a choice — tune itIn a project with a 02-DOCS/ layer (the harness wiki), record the modeling
contract in 02-DOCS/wiki/ml/<target>.md, linked from the root CLAUDE.md ## Knowledge map: target
definition, split strategy + random_state, CV scheme, chosen metric and why, baseline, pinned versions,
and the dated final test-set score. Read it first on every re-train so results stay comparable. No
02-DOCS/? Skip silently — conventions are recorded, never gated.
© ericrisco, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 5 other files (references) in skills/machine-learning of ericrisco/rsc-harness.
Open the folder on GitHubat commit 92fde8f
Machine Learning next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Machine Learning this skillericrisco/rsc-harness | 156 | — | ~4.2k | Automated safety check: Pass | MIT | |
| ML EngineerRightNow-AI/openfang | 18k | — | ~987 | Automated safety check: Pass | Apache-2.0 | |
| ML Model Trainingsecondsky/claude-skills | 227 | 1 repos | ~1.7k | Automated safety check: Pass | MIT | |
| Scikit Learn Machine Learningjaechang-hits/SciAgent-Skills | 370 | 1 repos | ~4k | Automated safety check: Pass | BSD-3-Clause | |
| Databricks ML Trainingdatabricks/databricks-agent-skills | 345 | — | ~4.6k | Automated safety check: Pass | Custom licence | |
| Editomegaml/omegaml | 107 | — | ~206 | Automated safety check: Pass | Apache-2.0 |
RightNow-AI/openfang
Machine learning engineer expert for PyTorch, scikit-learn, model evaluation, and MLOps
secondsky/claude-skills
Train ML models with scikit-learn, PyTorch, TensorFlow. An agent skill from secondsky/claude-skills.
jaechang-hits/SciAgent-Skills
Classical ML in Python: classification, regression, clustering, dim reduction, evaluation, tuning, preprocessing pipelines.
databricks/databricks-agent-skills
Train ML models on Databricks. An agent skill from databricks/databricks-agent-skills.
omegaml/omegaml
how to use the edit command properly
davila7/claude-code-templates
Molecular featurization for ML (100+ featurizers). An agent skill from davila7/claude-code-templates.
ericrisco/rsc-harness
A skill your agent uses when designing or analyzing a controlled experiment — falsifiable hypothesis, sample size from an MDE, reading significance/CI/power, CUPED, or rescuing tests that won't go…
ericrisco/rsc-harness
A skill your agent uses when making a web UI conform to WCAG 2.2 Level AA — axe-core or Lighthouse a11y violations, keyboard operability, focus management, ARIA roles/names/live regions, contrast…
ericrisco/rsc-harness
A skill your agent uses when running or fixing paid acquisition on Google or Meta — campaign structure (Performance Max, Demand Gen, Search, Advantage+), platform-fit creative, budget/scaling rules…
ericrisco/rsc-harness
A skill your agent uses when measuring whether an LLM or agent system actually got better and gating merges on it: golden sets, fixing an inflated LLM-as-judge, scoring RAG (faithfulness, contextual…
ericrisco/rsc-harness
A skill your agent uses when a creative goal must become a finished media file: pick and order generative-media models per modality — AI voiceover, image-to-video clips, score — then glue them with…
ericrisco/rsc-harness
A skill your agent uses when instrumenting product or web analytics — GA4/PostHog SDK wiring, event taxonomy, funnels, double-counted events, consent gating, PII scrubbing.
Works with
Categories
A skill your agent uses when predicting a column from rows of tabular features with classic models — scikit-learn pipelines, RandomForest, XGBoost/LightGBM, leak-free cross-validation, metrics for…. Machine Learning is an agent skill from ericrisco/rsc-harness. Use when predicting a column from rows of tabular features with classic models — scikit-learn pipelines, RandomForest, XGBoost/LightGBM, leak-free cross-validation, metrics for imbalanced classes, or a model that aced CV then collapsed in production.
Machine Learning fits situations like: predicting a column from rows of tabular features with classic models — scikit-learn pipelines; XGBoost/LightGBM; leak-free cross-validation; metrics for imbalanced classes.
Run `npx skills add ericrisco/rsc-harness --skill machine-learning -a claude-code`. Or copy the skill folder (skills/machine-learning in ericrisco/rsc-harness) into .claude/skills/machine-learning in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ericrisco/rsc-harness --skill machine-learning -a codex`. Or copy the skill folder (skills/machine-learning in ericrisco/rsc-harness) into .agents/skills/machine-learning in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ericrisco/rsc-harness --skill machine-learning -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/machine-learning, .gemini/skills/machine-learning, .github/skills/machine-learning and .opencode/skills/machine-learning in your project.
SKILL.md names no scripts, command-line tools or credentials: Machine Learning is instructions for the agent only. Our summary lists: Python 3.
SKILL.md names 2 domains. As links in the text: scikit-learn.org and arxiv.org. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Machine Learning is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.2k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Machine Learning: ML Engineer (RightNow-AI/openfang, 18k stars), ML Model Training (secondsky/claude-skills, 227 stars), Scikit Learn Machine Learning (jaechang-hits/SciAgent-Skills, 370 stars) and Databricks ML Training (databricks/databricks-agent-skills, 345 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ericrisco (a GitHub user) maintains it in ericrisco/rsc-harness, which has 156 GitHub stars. The repository holds 229 skills in this directory. The repository was last updated on October 6, 2026.
Source: ericrisco/rsc-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.