Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add topprismdata/cultivating-ml-agent --skill ensemble-model-correlation-trapgit clone --depth 1 https://github.com/topprismdata/cultivating-ml-agentWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/topprismdata/cultivating-ml-agent/ensemble-model-correlation-trap)<a href="https://agentmods.dev/skills/topprismdata/cultivating-ml-agent/ensemble-model-correlation-trap"><img src="https://agentmods.dev/badge/skills/topprismdata/cultivating-ml-agent/ensemble-model-correlation-trap/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/topprismdata/cultivating-ml-agent/ensemble-model-correlation-trap"><img src="https://agentmods.dev/badge/skills/topprismdata/cultivating-ml-agent/ensemble-model-correlation-trap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00087 | $0.01730 |
| Opus 5 | $0.00044 | $0.00865 |
| Sonnet 5 | $0.00017 | $0.00346 |
| Haiku 4.5 | $0.00009 | $0.00173 |
Grade A, and why
ensemble-model-correlation-trap scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ensemble Model Correlation Trap
Problem
In machine learning competitions, practitioners often assume that combining multiple models (stacking, weighted averaging, voting) will automatically improve performance. However, when models have extremely high correlation (>0.999), ensembling provides no benefit because the models are making nearly identical predictions.
This is a common trap in tabular data competitions where XGBoost, CatBoost, and LightGBM often converge to similar solutions.
Context / Trigger Conditions
Symptoms that indicate this problem:
- Stacking/ensemble OOF score ≤ best single model score
- Weighted average performs worse than simple average
- Logistic Regression learns nearly equal weights for all models
- High correlation (>0.995) between model predictions
- Single model continues to outperform complex ensembles
Common scenarios:
- Tabular data with tree-based models (XGBoost, CatBoost, LightGBM)
- Models trained on similar feature sets
- Competition datasets where feature space is well-explored
Solution
Step 1: Calculate Model Correlation
After training models with cross-validation:
import numpy as np
from scipy.stats import pearsonr
# Assume oof_pred1, oof_pred2, oof_pred3 are OOF predictions from different models
corr_12, p_value = pearsonr(oof_pred1, oof_pred2)
corr_13, p_value = pearsonr(oof_pred1, oof_pred3)
corr_23, p_value = pearsonr(oof_pred2, oof_pred3)
print(f"Model 1 vs 2: {corr_12:.5f}")
print(f"Model 1 vs 3: {corr_13:.5f}")
print(f"Model 2 vs 3: {corr_23:.5f}")
Step 2: Interpret Correlation Values
| Correlation Range | Diagnosis | Action |
|---|---|---|
| < 0.99 | ✅ Low correlation | Ensembling likely effective |
| 0.99 - 0.995 | ⚠️ Medium correlation | Ensembling may help marginally |
| 0.995 - 0.999 | ⚠️ High correlation | Ensembling may not help |
| > 0.999 | ❌ Extreme correlation | Ensembling will not help |
Step 3: Verify with Stacking
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 202 lines · 87 tokens per session scan A 029ed2e7f385
ensemble-model-correlation-trap is a skill published in the GitHub repository topprismdata/cultivating-ml-agent (5 stars, last pushed 11d ago), licensed MIT. It adds 87 tokens to every session and 1,730 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
huggingface-hub
Hugging Face Hub CLI (hf) — search, download, and upload models and datasets, manage repos, query datasets with SQL, deploy inference endpoints, manage Spaces and buckets.
tensorboard
Visualize training metrics, debug models with histograms, compare experiments, visualize model graphs, and profile performance with TensorBoard - Google's ML visualization toolkit.
mlflow
Track ML experiments, manage model registry with versioning, deploy models to production, and reproduce experiments with MLflow - framework-agnostic ML lifecycle platform.
datachain-knowledge
Use whenever datasets, cloud storage buckets, or data pipelines are mentioned — creating, saving, querying, listing, exploring, deleting, or processing data in S3, GCS, Azure Blob, or local storage. Also use when running any script that may create datasets as a side effect. Maintains a knowledge base at dc-knowledge/…
prompt-scanner
A scanner for text sent to an AI agent, looking for prompt injection and jailbreak attempts. Prompt injection is text that tries to override an agent's instructions; a jailbreak tries to bypass its safety limits.
install-openviking-memory
Install and configure the OpenViking long-term memory plugin for OpenClaw via natural conversation. Once installed, the plugin automatically captures facts from chats and recalls relevant context before each reply (auto-capture + auto-recall, cross-session). Covers prerequisites, install through OpenClaw's plugin…