Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add Borda/AI-Rig/plugin install researchWrote 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/borda/ai-rig/kaggle)<a href="https://agentmods.dev/skills/borda/ai-rig/kaggle"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/kaggle/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/borda/ai-rig/kaggle"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/kaggle.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.00149 | $0.09308 |
| Opus 5.5 | $0.00060 | $0.03723 |
| Sonnet 5.5 | $0.00030 | $0.01862 |
| Haiku 4.5 | $0.00015 | $0.00931 |
Grade C, and why
kaggle scanned grade C with 2 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 18d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
> 2. `mkdir -p ~/.kaggle && mv ~/Downloads/kaggle.json ~/.kaggle/ && chmod 600 ~/.kaggle/kaggle.json` Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
FOUNDRY_AVAILABLE=$({ find ~/.claude/plugins/cache -maxdepth 5 -path "*/foundry/*/agents/sw-engineer.md" 2>/dev/null; ls plugins/cc_foundry/agents/sw-engineer.md 2>/dev/null; } | head -1) # timeout: 5000 How it starts
The opening of the file, as written. The whole thing — 460 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate Kaggle competition notebook script, Jupytext # %% format.
Two goals, equal weight — neither traded for other:
- Win — leaderboard-competitive: leakage-safe CV, metric-aligned loss/model choice, tuning/ensembling when it moves the score, not style theater
- Teach — read top to bottom like a university/seminar lecture on solving this competition: reader new to it follows the full reasoning chain, every decision motivated, nothing left as unexplained code
Follows user's ML research style distilled from past notebooks:
- PTL always for DNN training (PyTorch Lightning + torchmetrics) — even simple baselines
- Tool agnostic — best-fit library for problem; PTL when training loop needed
- Stages with lenses — each major stage: quick sanity check cell (show one batch, print shapes, verify submission format)
- Small, single-purpose cells — one action per cell (load, one transform, one plot, one check); never bundle setup + run + verify to save cell count
- Every cell earns its place — one-line why (comment or markdown sentence) before/in each cell: the specific reason this step happens now — never a restatement of what the code does
- Section markdown is extensive and structured — full explanation of what/why/how-it-advances-the-goal per section, formatted as tables/lists/blockquotes over dense prose paragraphs; markdown before a plot sets up the question, markdown after states the finding and its implication — plot and prose flow as one beat, never an orphaned chart
# !inline /%%bashcell over subprocess — single command:# ! head submission.csv; multi-command chain (installs,nvidia-smi+ls -lh) → dedicate cell to%%bashinstead of stacking# !lines- EDA is visual — distribution plots, sample grids, dimension scatters before any model
- Inference included — model save pattern + separate load-and-infer cells
- CSVLogger + seaborn — metrics plotted from
metrics.csvafter every training run
NOT for writing Python packages, modules, production code — notebook scripts only, unless the user opts into the Step 4 package-distillation gate. NOT research literature survey — use /research:topic for SOTA literature search.
- $ARGUMENTS: one of:
<competition-name>— short slug for output filename; generates blank template<competition-name> <url>— fetches competition overview from URL before generating<competition-name> "<description>"— inline description of problem and data--type <type>— hint:classification,regression,segmentation,detection,tabular(auto-detected when omitted)--eda-only— generate only EDA sections (no model/training/submission); always online (no offline setup)--inference-only— generate inference notebook from checkpoint (no EDA, no training); always offline (frozen packages pattern); loads checkpoint fromPATH_CHECKPOINTconstant; output suffix-inference.py--offline-setup— include offline package setup (frozen_packages pattern) in setup cell; auto-applied when--inference-only; ignored when--eda-only(EDA always online)--resume <path>— read existing.pyscript, extend/improve it
Output: .experiments/kaggle/<competition-name>.py. Step 4's opt-in package-distillation gate additionally writes src/<package>/<module>.py, tests/test_<module>.py, and notebooks/01_<competition-name>_pkg.py.
OUTPUT_DIR: .experiments/kaggle/
DATA_DIR: .experiments/kaggle/data/<competition>/ # kaggle CLI downloads land here, gitignored
CELL_MARK: "# %%"
MD_CELL_MARK: "# %% [markdown]"
COMPETITORS_DIR: resources/competitors/ # optional user-project path, not shipped in plugin — Step 1 reads if present
# NOTE: doc-only — not shell vars across Bash() calls (state doesn't persist); keep synced with literal use sites (Steps 1,3,4)
- Key boundary: end of Step 3 — notebook script generated by
foundry:sw-engineer, written to OUTFILE. - Preserve: OUTFILE path (derived from TMPDIR keys), COMPETITION_NAME (TMPDIR key), mode flags (EDA_ONLY, INFERENCE_ONLY, OFFLINE_SETUP).
- Clear at Step 1 start (stale prior run) and after Step 4 package-distillation gate resolves.
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 18d ago Changed · +56 lines e3cde7c9416a
- 28d ago Changed · +2 lines 3a7d8bd33553
- 1mo ago Changed · +9 lines d7fb072faad6
- 1mo ago Changed e8fe7e7c133d
- 1mo ago Changed 6c07644f5cc8
- 1mo ago Changed e2214b1a0117
- 2mo ago Changed · +6 lines 3ffc0fbc4aed
- 2mo ago Changed 3cd31a7bd7da
- 2mo ago Changed · +3 lines 3cd2ad7f9c64
- 2mo ago First seen · 384 lines · 149 tokens per session scan C 3e03b6dd32ae
kaggle is a skill published in the GitHub repository Borda/AI-Rig (31 stars, last pushed yesterday), licensed Apache-2.0. It adds 149 tokens to every session and 9,308 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it C with 2 findings (asks for root, reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
kaggle compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kaggleBorda/AI-Rig | Skill | 31 | yesterday | Apache-2.0 | C | 149 | Claude Code |
| better-prompthuangwb8/skills | Skill | 51 | 2d ago | MIT | A | 107 | Claude Code, Codex |
| laravel-ai-sdkfusengine/agents | Skill | 34 | 1mo ago | MIT | A | 35 | Claude Code |
| laravel-vector-searchfusengine/agents | Skill | 34 | 1mo ago | MIT | A | 22 | Claude Code |
| prompt-libraryfusengine/agents | Skill | 34 | 1mo ago | MIT | A | 34 | Claude Code |
| prompt-testingfusengine/agents | Skill | 34 | 1mo ago | MIT | A | 33 | Claude Code |
| prompt-creationfusengine/agents | Skill | 34 | 1mo ago | MIT | A | 35 | Claude Code |