Agent skill

Model Selection Guide

by revfactory in revfactory/harness-100

ML model selection matrix by problem type, hyperparameter tuning strategies, and ensemble methodology guide.

Apache-2.0Auto-check passedData & Analytics

Install Model Selection Guide

skills CLI
$ npx skills add revfactory/harness-100 --skill model-selection-guide -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install revfactory/harness-100 model-selection-guide --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .claude/skills && cp -r skills-src/en/31-ml-experiment/.claude/skills/model-selection-guide .claude/skills/model-selection-guide && rm -rf skills-src

Use ~/.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/

Facts

Skill name
model-selection-guide
GitHub stars
1.3k
Token cost
~1.2k tokens
SKILL.md length
203 words
Files
1
Skills in repo
464
Repo updated
First seen
Licence
Apache-2.0

At a glance

ML model selection matrix by problem type, hyperparameter tuning strategies, and ensemble methodology guide.

  • ML model selection and design involving model selection
  • SKILL.md covers Model Recommendations by…, XGBoost vs LightGBM vs CatBoost, Hyperparameter Tuning and Cross-Validation Strategies, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Algorithm comparison

What it does

Model Selection Guide is an agent skill from revfactory/harness-100. ML model selection matrix by problem type, hyperparameter tuning strategies, and ensemble methodology guide. Use this skill for ML model selection and design involving 'model selection', 'algorithm comparison', 'hyperparameter tuning', 'Optuna', 'ensemble', 'XGBoost vs LightGBM', 'model comparison', 'cross-validation', etc. Enhances the model-designer and evaluation-analyst's model design capabilities. Note: data preprocessing and training infrastructure management are outside this skill's scope.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Data & Analytics, covering Machine learning. The licence is Apache-2.0.

When your agent uses it

  • ML model selection and design involving model selection
  • Algorithm comparison
  • Hyperparameter tuning
  • XGBoost vs LightGBM

Example prompts

  • “model selection”
  • “algorithm comparison”
  • “hyperparameter tuning”
  • “/model-selection-guide”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 8e8d35c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    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.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Model Selection Guide loads about 1.2k tokens when it runs. Until then it costs about 131 tokens; SKILL.md has 203 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~131
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from revfactory/harness-100 at commit 8e8d35c, republished under its Apache-2.0 licence (© revfactory). 203 words, ~1,218 tokens.

Download SKILL.mdSave it as .claude/skills/model-selection-guide/SKILL.md (or your agent's skills folder).
name
model-selection-guide
description
ML model selection matrix by problem type, hyperparameter tuning strategies, and ensemble methodology guide. Use this skill for ML model selection and design involving 'model selection', 'algorithm comparison', 'hyperparameter tuning', 'Optuna', 'ensemble', 'XGBoost vs LightGBM', 'model comparison', 'cross-validation', etc. Enhances the model-designer and evaluation-analyst's model design capabilities. Note: data preprocessing and training infrastructure management are outside this skill's scope.

Model Selection Guide — ML Model Selection Matrix Guide

Optimal model selection and tuning strategies based on problem type, data characteristics, and constraints.

Model Recommendations by Problem Type

Tabular Data
Problem TypeBaselineBest CandidatesNotes
Binary ClassificationLogisticRegressionXGBoost, LightGBMTree-based usually optimal
Multi-class ClassificationLogisticRegression(OVR)LightGBM, CatBoostCatBoost: many categoricals
RegressionLinearRegressionXGBoost, LightGBMRandomForest: overfitting prevention
Ranking—LambdaMART (LightGBM)Search/recommendation
Anomaly DetectionIsolationForestAutoEncoder, LOFUnsupervised/semi-supervised
Time SeriesARIMAProphet, LightGBMFeature-based time-series: trees
Unstructured Data
DataModelFramework
ImageResNet, EfficientNet, ViTPyTorch, timm
TextBERT, RoBERTaHuggingFace Transformers
AudioWhisper, Wav2VecHuggingFace
GraphGCN, GATPyG, DGL

XGBoost vs LightGBM vs CatBoost

CriterionXGBoostLightGBMCatBoost
SpeedMediumFastSlow
MemoryHighLowMedium
Categorical HandlingEncoding requiredBuilt-in supportBest performance
Missing Value HandlingBuilt-inBuilt-inBuilt-in
Overfitting PreventionregularizationGOSS, EFBOrdered Boosting
GPU Support✅✅✅
Default RecommendationGeneral purposeLarge data, speed priorityMany categoricals

Hyperparameter Tuning

Optuna Basic Structure
python
import optuna

def objective(trial):
    params = {
        'n_estimators': trial.suggest_int('n_estimators', 100, 1000),
        'max_depth': trial.suggest_int('max_depth', 3, 10),
        'learning_rate': trial.suggest_float('learning_rate', 0.01, 0.3, log=True),
        'subsample': trial.suggest_float('subsample', 0.6, 1.0),
        'colsample_bytree': trial.suggest_float('colsample_bytree', 0.6, 1.0),
        'reg_alpha': trial.suggest_float('reg_alpha', 1e-8, 10.0, log=True),
        'reg_lambda': trial.suggest_float('reg_lambda', 1e-8, 10.0, log=True),
    }
    model = XGBClassifier(**params)
    score = cross_val_score(model, X, y, cv=5, scoring='f1').mean()
    return score

study = optuna.create_study(direction='maximize')
study.optimize(objective, n_trials=100)
Tuning Priority
LightGBM tuning order:
Stage 1 (High impact): learning_rate, n_estimators, num_leaves
Stage 2 (Medium impact): max_depth, min_child_samples, subsample
Stage 3 (Low impact): reg_alpha, reg_lambda, colsample_bytree
Stage 4 (Fine-tuning): min_split_gain, path_smooth

Cross-Validation Strategies

StrategySuitable ForCode
K-FoldGeneral (sufficient data)KFold(n_splits=5)
Stratified K-FoldImbalanced classificationStratifiedKFold(n_splits=5)
Time Series SplitTime seriesTimeSeriesSplit(n_splits=5)
Group K-FoldPrevent group data leakageGroupKFold(n_splits=5)
Repeated K-FoldMore stable estimationRepeatedKFold(n_splits=5, n_repeats=3)

Ensemble Methods

Stacking
python
from sklearn.ensemble import StackingClassifier

estimators = [
    ('xgb', XGBClassifier()),
    ('lgbm', LGBMClassifier()),
    ('cat', CatBoostClassifier(verbose=0)),
]
stack = StackingClassifier(
    estimators=estimators,
    final_estimator=LogisticRegression(),
    cv=5
)
Blending Weights
python
# Optimal weight search
from scipy.optimize import minimize

def objective(weights):
    pred = sum(w * p for w, p in zip(weights, predictions))
    return -f1_score(y_true, pred > 0.5)

result = minimize(objective, x0=[1/3]*3, constraints={'type': 'eq', 'fun': lambda w: sum(w)-1})

Model Selection Decision Tree

Data type?
├── Tabular
│   ├── Rows < 1,000 → Logistic Regression / SVM
│   ├── 1,000 < Rows < 1M → XGBoost / LightGBM
│   └── Rows > 1M → LightGBM (speed priority)
├── Image → CNN (EfficientNet, ViT)
├── Text → Transformer (BERT)
└── Time Series
    ├── Univariate → Prophet / ARIMA
    └── Multivariate → LightGBM (feature-based) / LSTM

© revfactory, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in en/31-ml-experiment/.claude/skills/model-selection-guide of revfactory/harness-100.

Open the folder on GitHubat commit 8e8d35c

Compare with similar skills

Model Selection Guide 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.

Model Selection Guide compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Model Selection Guide this skillrevfactory/harness-1001.3k—~1.2kAutomated safety check: PassApache-2.0
Scikit LearnzLanqing/codex-claude-academic-skills4.6k17 repos~3.9kAutomated safety check: PassBSD-3-Clause
Senior Data ScientistRaidriar7170/hermes-skilleval1256 repos~1.4kAutomated safety check: PassMIT
Agentic Kaggle WorkflowFrankS-IntelLab/agentic-kaggle-skill188—~4kAutomated safety check: PassMIT
Retention Analysisliangdabiao/claude-data-analysis-ultra-main2901 repos~1.3kAutomated safety check: NotesNone
Geomlitalo-goncalves/geoML108—~4.2kAutomated safety check: PassGPL-3.0

Similar skills

  • Scikit Learn

    zLanqing/codex-claude-academic-skills

    Machine learning in Python with scikit-learn. An agent skill from zLanqing/codex-claude-academic-skills.

    4.6k GitHub starsUsed in 17 repos~3.9k tokens
    Data & AnalyticsAuto-check passed
  • Senior Data Scientist

    Raidriar7170/hermes-skilleval

    World-class data science skill for statistical modeling, experimentation, causal inference, and advanced analytics.

    125 GitHub starsUsed in 6 repos~1.4k tokens
    Data & AnalyticsAuto-check passed
  • Agentic Kaggle Workflow

    FrankS-IntelLab/agentic-kaggle-skill

    Takes a Kaggle competition from rules and validation design through baselines, ensembling and notebook architecture to a scored submission.

    188 GitHub stars~4k tokensUpdated 3 mo ago
    Data & AnalyticsAuto-check passed
  • Retention Analysis

    liangdabiao/claude-data-analysis-ultra-main

    Analyze user retention and churn using survival analysis, cohort analysis, and machine learning.

    290 GitHub starsUsed in 1 repo~1.3k tokens
    Data & AnalyticsAuto-check: notes
  • Geoml

    italo-goncalves/geoML

    Working knowledge of the geoML Python package (github.com/italo-goncalves/geoML): variational Gaussian processes for spatial data, implicit geological modelling, block models, drillhole data…

    108 GitHub stars~4.2k tokensUpdated 5 days ago
    Data & AnalyticsAuto-check passed
  • Radiomics ML

    Aperivue/medsci-skills

    A skill your agent uses when building or auditing a radiomics or tabular clinical-ML prediction model with a classical learner (LASSO, SVM, random forest, XGBoost and similar).

    329 GitHub starsUsed in 1 repo~2.7k tokens
    Data & AnalyticsAuto-check passed

More from revfactory/harness-100

All 464 skills in this repo
  • Anti Bot Analyzer

    revfactory/harness-100

    A skill for analyzing website anti-bot defense mechanisms and developing legitimate evasion strategies.

    1.3k GitHub stars~1.1k tokensUpdated 6 mo ago
    Auto-check passed
  • API Error Design Patterns

    revfactory/harness-100

    Reference for designing how an API reports failures: structured error codes, response shapes, client-friendly messages, an error catalog and retry or fallback advice.

    1.3k GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed
  • API Security Checklist

    revfactory/harness-100

    Walks a backend-dev agent through OWASP API Top 10 checks, authentication and authorization patterns, and defense code during API design.

    1.3k GitHub stars~1.7k tokensUpdated 6 mo ago
    Auto-check passed
  • Arg Parser Generator

    revfactory/harness-100

    Methodology for systematically designing and generating CLI tool argument parser structures.

    1.3k GitHub stars~1.2k tokensUpdated 6 mo ago
    Auto-check passed
  • Audience Segmentation

    revfactory/harness-100

    Audience segmentation skill used by the analyst and curator agents.

    1.3k GitHub stars~1.3k tokensUpdated 6 mo ago
    Auto-check passed
  • Audio Storytelling

    revfactory/harness-100

    Audio storytelling skill used by the podcast scriptwriter and show note editor.

    1.3k GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed

Questions about Model Selection Guide

What does Model Selection Guide do?

ML model selection matrix by problem type, hyperparameter tuning strategies, and ensemble methodology guide. Model Selection Guide is an agent skill from revfactory/harness-100. ML model selection matrix by problem type, hyperparameter tuning strategies, and ensemble methodology guide.

When should I use Model Selection Guide?

Model Selection Guide fits situations like: ML model selection and design involving model selection; algorithm comparison; hyperparameter tuning; XGBoost vs LightGBM.

How do I install Model Selection Guide in Claude Code?

Run `npx skills add revfactory/harness-100 --skill model-selection-guide -a claude-code`. Or copy the skill folder (en/31-ml-experiment/.claude/skills/model-selection-guide in revfactory/harness-100) into .claude/skills/model-selection-guide in your project. Claude Code loads it when a task matches its description.

How do I install Model Selection Guide in Codex?

Run `npx skills add revfactory/harness-100 --skill model-selection-guide -a codex`. Or copy the skill folder (en/31-ml-experiment/.claude/skills/model-selection-guide in revfactory/harness-100) into .agents/skills/model-selection-guide in your project. Codex loads it when a task matches its description.

Can I use Model Selection Guide in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add revfactory/harness-100 --skill model-selection-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/model-selection-guide, .gemini/skills/model-selection-guide, .github/skills/model-selection-guide and .opencode/skills/model-selection-guide in your project.

What does Model Selection Guide need to run?

SKILL.md names no scripts, command-line tools or credentials: Model Selection Guide is instructions for the agent only. Our summary lists: Python 3.

Does Model Selection Guide access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Model Selection Guide safe to install?

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.

What licence does Model Selection Guide use?

Model Selection Guide is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Model Selection Guide use?

About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Model Selection Guide?

Skills that share tags, products or a category with Model Selection Guide: Scikit Learn (zLanqing/codex-claude-academic-skills, 4.6k stars), Senior Data Scientist (Raidriar7170/hermes-skilleval, 125 stars), Agentic Kaggle Workflow (FrankS-IntelLab/agentic-kaggle-skill, 188 stars) and Retention Analysis (liangdabiao/claude-data-analysis-ultra-main, 290 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Model Selection Guide?

revfactory (a GitHub user) maintains it in revfactory/harness-100, which has 1,290 GitHub stars. The repository holds 464 skills in this directory. The repository was last updated on March 22, 2026.

Source: revfactory/harness-100 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.