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 kaggle-submission-format-by-metricgit 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/kaggle-submission-format-by-metric)<a href="https://agentmods.dev/skills/topprismdata/cultivating-ml-agent/kaggle-submission-format-by-metric"><img src="https://agentmods.dev/badge/skills/topprismdata/cultivating-ml-agent/kaggle-submission-format-by-metric/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/kaggle-submission-format-by-metric"><img src="https://agentmods.dev/badge/skills/topprismdata/cultivating-ml-agent/kaggle-submission-format-by-metric.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.00193 | $0.02357 |
| Opus 5.5 | $0.00077 | $0.00943 |
| Sonnet 5.5 | $0.00039 | $0.00471 |
| Haiku 4.5 | $0.00019 | $0.00236 |
Grade A, and why
kaggle-submission-format-by-metric 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 3mo 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 — 209 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Match Submission Format to Evaluation Metric
Problem
A perfect model can score near-random on the public leaderboard if the submission file format doesn't match the metric's expectations. The most common mistake: submitting 0/1 thresholded labels for a metric that needs continuous probabilities.
Real failure case (2026-06-14, S6E2 Heart Disease):
- Model: AutoGluon best_quality ensemble, OOF AUC 0.95554
- Submission A:
submission_autogluon.csv(0/1 thresholded viapredictor.predict())- Public LB: 0.88403 ❌ (looked like complete model failure)
- Private LB: 0.88643
- Submission B:
submission_autogluon_proba.csv(continuous viapredictor.predict_proba())- Public LB: 0.95357 ✅
- Private LB: 0.95510
- Same model, same OOF — only the submission format differed. 0.07 LB drop from thresholding alone.
Context / Trigger Conditions
Use this skill when:
- About to submit the final (or any) prediction to a Kaggle competition
- AutoGluon / sklearn / xgboost default
predict()returns hard labels for classification - Competition metric is ranking-based (see list below)
- CV score is great but LB score is suspiciously low
- You see
sample_submission.csvwith 0.0/1.0 values (those are the target format, NOT necessarily the submission format)
DO NOT threshold for ranking-based metrics:
roc_auc,auc— area under ROC; needs continuous scoresauc_mu— multi-class AUC; needs full probability matrixlog_loss— penalizes confident wrong answers; needs probabilitiesMAP,NDCG— ranking metrics; need scoresbrier_score— squared error on probabilitiesmean_columnwise_auc— column-wise AUCrmseon log-target (RMSLE) — for log-transformed regression, submit log predictions directly
DO threshold (or round) for these metrics:
accuracy— predicted class labelf1,precision,recall— predicted class labelquadratic_kappa— rounded integer (for ordinal)mae,rmseon raw target — continuous regression predictions are fine, but rounding is harmless
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.
- 3mo ago First seen · 209 lines · 193 tokens per session scan A 31cfbf2057f5
kaggle-submission-format-by-metric is a skill published in the GitHub repository topprismdata/cultivating-ml-agent (5 stars, last pushed 1mo ago), licensed MIT. It adds 193 tokens to every session and 2,357 once invoked, about $0.0008 per session on Opus 5.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.
kaggle-submission-format-by-metric compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kaggle-submission-format-by-metrictopprismdata/cultivating-ml-agent | Skill | 5 | 1mo ago | MIT | A | 193 | Claude Code, Codex |
| python-output-buffering-background-scriptstopprismdata/agent-nurture-framework | Skill | 3 | 1mo ago | MIT | A | 153 | Claude Code, Codex |
| huggingface-hubbraxtonROSE4/zorro-agent | Skill | 11 | 7mo ago | MIT | C | 43 | Claude Code, Codex |
| agent-code-analyzerruvnet/ruflo | Skill | 83k | today | MIT | A | 19 | Claude Code |
| eval-dataset-designbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 138 | Claude Code, Codex |
| memory-systembojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 95 | Claude Code, Codex |
| writingbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 27 | Claude Code, Codex |