mcpbeat Sign in

Nvidia Kaggle Skill

Use for Kaggle competition overview fetches, writeups, discussion/kernel research, submissions, and dataset uploads. Not for unrelated ML code.

56k tokens
context cost
the whole folder, loaded on every use
43
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
278
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/NVIDIA/nvidia-kaggle --skill nvidia-kaggle-skill

What comes with it

205 632 bytes besides the instruction
evals/evals.json
kernel-setup.md
kernels.md
research-brief.md
scripts/constants.py
scripts/db_info.py
scripts/discussion_db_info.py
scripts/discussion_ingest.py
scripts/discussion_query.py
scripts/discussion_read.py
scripts/discussions/__init__.py
scripts/discussions/database.py
scripts/discussions/discussion_client.py
scripts/discussions/models.py
scripts/discussions/paths.py
scripts/fetch_competition_info.py
scripts/fetch_dataset_info.py
scripts/fetch_kernel_score.py
scripts/fetch_leaderboard_writeups.py
scripts/fetch_top_kernel_scores.py
scripts/fetch_writeup.py
scripts/kernel_archive.py
scripts/kernel_db_info.py
scripts/kernel_ingest.py
scripts/kernel_query.py
scripts/kernel_read.py
scripts/kernels/__init__.py
scripts/kernels/archive.py
scripts/kernels/database.py
scripts/kernels/kaggle_client.py
scripts/kernels/kaggle_search.py
scripts/kernels/models.py
scripts/kernels/notebook_reader.py
scripts/kernels/paths.py
scripts/runtime.py
scripts/submission_history.py
scripts/submission_log.py
scripts/submission_quota.py
scripts/submit_kernel.py
scripts/upload_dataset.py

The instruction itself

17 sections, as written by the author

NVIDIA Kaggle Skill

Purpose

Use this skill for Kaggle competition work: context gathering, writeups, discussions, kernels, local reproduction, submission, and dataset upload.

Do not use it for unrelated ML training, generic notebook editing, general data analysis, or non-Kaggle dataset management unless the user explicitly ties the task to Kaggle.

Inputs

| Input | Required | Description |

|---|---|---|

| Kaggle slug, URL, writeup URL, kernel ref, or local folder | Depends on task | Primary target for the requested Kaggle action. |

| KAGGLE_API_TOKEN | Required for API/CLI-backed workflows | KGAT token string for Kaggle API, CLI, and SDK calls. |

| Disk space | Required for kernel setup | Must fit input datasets, competition data, models, and extracted archives. |

Prerequisites

  • Run commands from this skill directory unless a referenced workflow says otherwise.
  • Install only the runtime packages needed for the requested workflow.
  • Set KAGGLE_API_TOKEN before API, CLI, kernel, discussion, dataset, or submission workflows.
  • Confirm local disk space before downloading competition data, kernel inputs, or extracted archives.
  • Require explicit user confirmation before sensitive, externally visible actions: competition submissions (each can consume a daily slot), dataset uploads, and creating a public dataset. Treat KAGGLE_API_TOKEN as a secret — never print, log, or echo it.

Runtime Dependencies

Install only the packages needed for the requested task into the current environment, then run scripts with python.

Kaggle API, CLI, kernels, discussions, datasets, competition pages, and writeups:

if command -v uv >/dev/null 2>&1; then
  uv pip install httpx kaggle kagglesdk nbformat pydantic python-dotenv rich
else
  python -m pip install httpx kaggle kagglesdk nbformat pydantic python-dotenv rich
fi

For API/CLI tasks, verify credentials before calling Kaggle:

: "${KAGGLE_API_TOKEN:?ERROR: KAGGLE_API_TOKEN environment variable is not set}"

Workflows

Use this workflow catalog to choose the right path. Run the direct script commands for quick tasks. For workflows that point to another markdown file, read that file only when the request needs that workflow.

Prefer the runtime's run_script helper when it exists, for example run_script("scripts/fetch_competition_info.py", args=["titanic"]). Otherwise run the equivalent python ./scripts/<script>.py ... command from this skill directory.

Competition Details

Use this when the user asks to retrieve or summarize a Kaggle competition overview, rules, evaluation, timeline, or dataset description.

Fetch overview:

python ./scripts/fetch_competition_info.py <competition-slug-or-url>

Fetch dataset description:

python ./scripts/fetch_dataset_info.py <competition-slug-or-url>

The scripts accept a bare competition slug or https://www.kaggle.com/competitions/<slug> URL and extract the slug automatically. Convert output to markdown when the user asks for saved documentation, using {slug}_competition_overview.md and {slug}_dataset_description.md in the current working directory.

Research Brief

Use this when the user asks you to **research a competition and write a strategy

brief** in natural terms (e.g. "research this competition and brief me, with

links and a few charts"). You chain the skill's individual research workflows

yourself, write your own analysis/plotting code, and produce the brief. Read

./research-brief.md for the principles that keep the brief accurate, informative,

and useful to a reader — how to cite real sources as links, and how to make plots

honest and legible (every plotted number traces to what you gathered). These

principles live in the skill so the user does not have to spell them out.

Writeups

Use this when the user asks to fetch one writeup, fetch top-k writeups, discover leaderboard writeup links, or summarize solution posts. Read ./writeups.md.

Discussions

Use this when the user asks for Kaggle competition discussions, community insights, questions, tips, or a specific discussion thread.

python ./scripts/discussion_ingest.py <competition_id> [--max-pages N] [--sort-by hotness|votes|comments|created|updated] [--page-size N] [--nofetch-comments]
python ./scripts/discussion_query.py <competition_id> [--search TERM] [--min-votes N] [--author NAME] [--limit N] [--as-json]
python ./scripts/discussion_read.py <discussion_id> [--competition-id ID]
python ./scripts/discussion_db_info.py [competition_id]

Storage:

| Path | Contents |

|---|---|

| data/discussions.db | SQLite cache for discussions, comments, and competition metadata |

Always run ingest before query/read if the database is empty. Keep retries bounded if Kaggle rate limits or API shapes change.

Kernels

Use this when the user asks to ingest, query, or read kernels; research top public kernels; fetch kernel scores; or analyze kernel lineage. Read ./kernels.md.

Kernel Setup

Use this when the user asks to download and reproduce a Kaggle notebook locally with its inputs. Read ./kernel-setup.md.

Submission

Use this when the user asks to push, poll, or submit a Kaggle kernel to a competition. Read ./submission.md.

Upload Dataset

Use this when the user wants to create or update a Kaggle dataset from local files.

python ./scripts/upload_dataset.py <path-to-data-folder> [--title "My Dataset"] [--public] [--version-notes "notes"] [--dir-mode zip|tar|skip] [--collaborator user:reader]

Defaults:

  • Datasets are private unless the user explicitly asks for --public.
  • If --title is omitted, derive it from the folder name.
  • If an existing dataset-metadata.json has description, keywords, subtitle, or license fields, preserve them.
  • If the dataset already exists, do not overwrite silently; ask for or use --version-notes.

Outputs

  • Competition detail scripts print cleaned text that can be saved as markdown.
  • Discussion scripts write/read data/discussions.db and print tables, JSON, or rendered threads.
  • Dataset upload writes dataset-metadata.json in the data folder and prints the Kaggle dataset URL.
  • Referenced workflows may write markdown reports, notebook caches, local kernel workspaces, or submission logs as described in their markdown files.

Troubleshooting

Use this table for common failure modes across Kaggle workflows. Workflow files may add only narrow entries that are not covered here.

| Symptom | Cause | Action |

|---|---|---|

| KAGGLE_API_TOKEN missing or invalid | API/CLI-backed workflow started without valid Kaggle credentials. | Stop before Kaggle API/CLI calls, set KAGGLE_API_TOKEN, and rerun the exact command. |

| Empty discussion or kernel query results | The local cache has not been populated for that competition. | Run the matching ingest script first, then query again. |

| Private, restricted, or unavailable Kaggle content | The active account lacks access, rules were not accepted, or the content was removed. | Report the URL/ref and ask the user for access context before retrying. |

| Kaggle API, SDK, rate-limit, or page-structure failure | Kaggle returned partial data, changed an API/layout, or limited requests. | Preserve the failing command and output, keep retries bounded, and label unavailable evidence. |

| Disk space or archive extraction failure | Competition data, kernel inputs, models, or extracted archives exceed local capacity or extraction failed. | Stop, report the partial workspace state, and ask before deleting files or retrying. |

| Submission retry or uncertain submission status | A successful submit can spend a competition submission slot. | Read existing logs and require explicit user intent before rerunning a submission workflow. |

Runtime Compatibility

This skill works with any agent runtime that follows the Agent Skills convention. Codex uses the repository checkout or plugin installation, Claude Code uses marketplace plugin installation, and Claude Agent SDK can load the same project-scoped plugin settings. Scripts are self-contained under this skill's scripts/ directory.

Other skills for the same job

different authors, same section of the catalogue
Skill Creator
by anthropics
vendor ×10

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

56k tokens scripts
Geo Database
by christophacham
×4

Access NCBI GEO for gene expression/genomics data. Search/download microarray and RNA-seq datasets (GSE, GSM, GPL), retrieve SOFT/Matrix files, for transcriptomics and expression analysis.

12k tokens
Pymc Bayesian Modeling
by christophacham
×4

Bayesian modeling with PyMC. Build hierarchical models, MCMC (NUTS), variational inference, LOO/WAIC comparison, posterior checks, for probabilistic programming and inference.

24k tokens scripts
Pymoo
by christophacham
×4

Multi-objective optimization framework. NSGA-II, NSGA-III, MOEA/D, Pareto fronts, constraint handling, benchmarks (ZDT, DTLZ), for engineering design and optimization problems.

19k tokens scripts
Statsmodels
by ComeOnOliver
×4

Statistical modeling toolkit. OLS, GLM, logistic, ARIMA, time series, hypothesis tests, diagnostics, AIC/BIC, for rigorous statistical inference and econometric analysis.

41k tokens
Add Uint Support
by pytorch
vendor ×3

Add unsigned integer (uint) type support to PyTorch operators by updating AT_DISPATCH macros. Use when adding support for uint16, uint32, uint64 types to operators, kernels, or when user mentions enabling unsigned types, barebones unsigned types, or uint support.

2k tokens
At Dispatch V2
by pytorch
vendor ×3

Convert PyTorch AT_DISPATCH macros to AT_DISPATCH_V2 format in ATen C++ code. Use when porting AT_DISPATCH_ALL_TYPES_AND*, AT_DISPATCH_FLOATING_TYPES*, or other dispatch macros to the new v2 API. For ATen kernel files, CUDA kernels, and native operator implementations.

2k tokens
Docstring
by pytorch
vendor ×3

Write docstrings for PyTorch functions and methods following PyTorch conventions. Use when writing or updating docstrings in PyTorch code.

3k tokens

How to use it

Copy the folder

Take nvidia/nvidia-kaggle-skill from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.

Install what it needs

The instructions reference pip, uv. Without those the skill loads but fails at the first command.