/kaggle-tools:kaggle-competition-playbookfrom kaggle-tools
Provides cross-competition strategies for Kaggle: reading metric code, building CV harness, interpreting CV/LB gaps, ensembling, and managing submission/GPU quota.
Ships in kaggle-tools. 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.
Cross-competition lessons from AIMO3, BirdCLEF 2026, ROGII Wellbore, Nemotron
reasoning, Biohub cell tracking, March Mania, Stanford RNA 3D and ARC-AGI-3.
Domain-specific skills: kaggle-code-competitions, kaggle-audio-bioacoustics,
kaggle-llm-reasoning, kaggle-llm-finetuning, kaggle-tabular,
kaggle-medical-imaging. Read the latter for weak report labels, anatomical
inputs, teacher dependencies and site-held-out evaluation.
Fetch the organisers' scorer and read it line by line. Look for:
max(0, …) but no
min(1, …): predicting fewer nodes than T_true boosted the score, and 11×
over-detection scored exactly 0.T_true sat in the geff metadata
(estimated_number_of_nodes), which made it a directly tunable knob.manualTVT, not the train
TVT column. Blending toward train TVT looked great locally and cost +0.077 LB.Write the findings down (FINDINGS.md) before writing a model.
kaggle_tools.cv.spatial_group_folds / rare_safe_folds.kaggle_tools.tracking.Ledger, kt ledger) with
every run, including regressions, TIMEOUT and NO_SCORE.Track the ratio CV/LB per family of change. Offline gains often do not transfer.
kaggle_tools.ensemble.rank_blend
supplies a common scale for differently calibrated arms; it is not universally
superior. RSNA Knee 5th place used probability averaging followed by rank stages;
22nd used probability averaging (see the
case study). Re-ranking
between stages cannot generally be collapsed into one original-score average.hill_climb), sanity-check on a held-out fold.
Choose by marginal ensemble gain under the runtime budget, not correlation
alone. Recheck specialists after labels/base models improve; the reviewed RSNA
Knee specialists added less on a stronger regional base than on a weaker base.Well-tuned public params are hard to beat: 20 Optuna trials lost to hardcoded LightGBM params on ROGII. Spend HPO budget only after features/architecture have plateaued, use a proxy on the hard folds, and use TPE + MedianPruner.
kaggle datasets version first,
then re-push the kernel.kaggle kernels pull <owner>/<slug> -p /tmp/notebook-audit/ -m, then read
dataset_sources/model_sources and trace upstream weights. Record notebook and
checkpoint versions, provenance links and scores. Attachments alone cannot prove
training provenance or establish a performance ceiling for eligible models.CLAUDE.md with: metric facts, data paths, the LB tracker,
"what works", and "failed — do NOT retry" with the evidence. It stops re-running
dead ideas across sessions.systemctl --user and per-repo queues. Since 2026-11 the host runs
Dagu: one job file per job, grouped by
competition, with gpu/cpu/light queues and cron schedules. Setup, the job-file
template and the agent commands are in
references/dagu-job-ui.md. If Dagu is not installed,
use the systemd-run recipe below.systemd-run --user --unit <unique-name> --same-dir --service-type=exec /bin/bash /absolute/path/queue.sh.
Services use the manager's environment; activate the intended environment in the
script or use absolute executable paths and explicit --setenv values. Inspect
journalctl --user -u <unique-name> and systemctl --user status <unique-name>.
Set memory limits from measured needs, not a fixed 40 GB. If the service must survive
logout, check user lingering and enable it only when needed. Use the host's scheduler
where systemd is unavailable. See systemd-run.
Checkpoint model, optimizer, scheduler, RNG and progress state, and implement resume;
a checkpoint alone does not restart a killed run.os.pread reads are an
alternative to benchmark; posix_fadvise(DONTNEED) is advisory, not an ARC memory
cap or a guarantee against OOM.kaggle-code-competitions, rehearsal).What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub yassinealouini/kaggle-tools --plugin kaggle-tools9 skills in this plugin
/kaggle-audio-bioacousticsUse when working on Kaggle audio/bioacoustics competitions like BirdCLEF — row_id parsing, pretrained bioacoustic backbones (Perch, BirdNET), per-species probes, temporal models, mel spectrograms, CV/LB gap, rare and zero-sample species, CPU inference budget/kaggle-code-competitionsUse when working on any Kaggle code competition — notebook submission, data paths, offline packages, GPU/accelerator choice, kernel push workflow, time limits, or debugging "Submission Scoring Error", TIMEOUT and NO_SCORE/kaggle-leaderboard-analysisCompare Kaggle public and private team positions, or plot an account's competition history as top percentages by year with readable paginated figures. Use for leaderboard shakeups, finishing positions, and competition progress reports./kaggle-llm-finetuningUse when fine-tuning LLMs (LoRA/QLoRA, SFT, GRPO) inside Kaggle competitions — TRL/PEFT setup, packing, completion-only loss, data quality, adapter submission format, GPU quota and 12 h kernel limits/kaggle-llm-reasoningUse when working on Kaggle LLM reasoning/inference competitions like AIMO — model choice, vLLM on H100, tool-integrated reasoning (TIR), self-consistency voting, answer extraction, inference-server API, time budget, offline tokenizer files/kaggle-llm-servingUse when an LLM inference notebook on Kaggle GPUs (4x L4, 2x T4, single 24 GB cards) is throughput-bound — tokens/s too low for the runtime limit, choosing tensor vs data parallel, fitting a 20-30B model on one 24 GB card, KV-cache or Mamba/GDN state limiting concurrency, MTP/speculative decoding depth, int4/fp8 weights or KV, vLLM patch stacks (HyperQwen, Merlin), or benchmarking serving configs on RunPod before spending Kaggle quotaOther plugins' skills for the same job