Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

kaggle

FreeRuns bundled scriptsNot checked

Unified Kaggle skill. Use when the user explicitly mentions Kaggle, kaggle.com, a Kaggle URL, Kaggle competitions, Kaggle datasets/models/notebooks, Kaggle…

shepsciby shepsci★ 115 GitHub stars2,698 installs in other catalogs

About this skill

Kaggle

Kaggle for coding agents: competition research, running a competition (status, submissions, scores), datasets, models, notebooks, discussions and solution writeups, benchmarks, and badges.

This is an independent, unofficial project. It is not affiliated with, endorsed by, or sponsored by Kaggle or Google.

Do not use this skill for generic machine learning, GPU, notebook, dataset, model, benchmark, or data-science work unless the user ties the task to Kaggle.

Run a command

Everything is one command with a name:

python3 scripts/kaggle_skill.py <command> [arguments]
python3 scripts/kaggle_skill.py <command> --help

Paths in this file are relative to the skill folder, the one that holds this SKILL.md. Run every command from the user's working directory as python3 <skill folder>/scripts/kaggle_skill.py <command>, so that downloads and records land in the user's project. Do not cd into the skill folder.

Output is short text by default. The read commands take --json for the same content as JSON; <command> --help lists each command's options. A long text (a page, a writeup) is cut with a note that says how to get the rest, so there is no need to pipe a command through head or cut. A competition is a slug (titanic) or its URL.

The local telemetry prototype is off by default. The user can opt in with KAGGLE_SKILL_TELEMETRY=1 to report command names, versions and exit categories to a loopback collector. Leave that setting to the user.

Pick the command

The user wants Command
What a competition is: metric and how it is scored, deadline, prize, limits brief <competition> [<competition> ...]
The rules, the evaluation page, the data description pages <competition> --page rules (no --page: the list)
What worked: solution writeups by rank solutions <competition> --preview
Writeups in full, one or several writeup <id or URL> [<id or URL> ...]
What people are discussing topics --competition <competition>, then topic <id>
Which competitions are running, with each one's prize and metric competitions; competitions --mine
Data files, top of the leaderboard, popular notebooks details <competition>
Where they stand: time left, submissions left, scores, GPU hours status <competition>
The leaderboard, the gap to the medal lines, what moved leaderboard <competition>
The competition's data download <competition> [dir] --unzip
Whether a submission file is well formed validate <competition> <file>
To submit submit <competition> <file> -m "message" (dry run first), then watch <competition> --ref <submission-id>
What was submitted and how it scored ledger
A simulation submission's games episodes <submission id>
A hackathon's pages, its writeups hackathon <competition>, writeups <competition> --winners
A dataset or a model dataset-download owner/name [dir], model-download owner/model/framework/variation [dir]
To publish a dataset or a model dataset-publish owner/name <dir>, model-publish <handle> <dir>
To run a notebook on Kaggle notebook-run <dir>; notebook-wait owner/name/version
Save a notebook version without running it notebook-push <dir> --no-run (dry run first)
Setup problems doctor; credentials --verify
Anything else the Kaggle CLI does cli -- <kaggle arguments>

Benchmarks use cli -- benchmarks ...; read modules/benchmarks/README.md first. Badges use badges --dry-run; read modules/badges/README.md first. Each module's README.md under modules/ has the details of its commands.

Before any action that changes the account

Stay read-only until the user asks for a change. These actions change the account:

  • submitting predictions or a notebook to a competition;
  • creating, updating, or publishing a dataset, model, notebook, or benchmark task;
  • starting a notebook run, which uses the account's weekly GPU hours;
  • running a badge phase, or the streak helper;
  • storing a credential on disk.

Their commands are submit, dataset-publish, model-publish, notebook-push, notebook-run, save-credentials, badges --phase, and any cli command that is not a known read. Each takes two turns:

  1. Run it without --yes. That is a dry run: it prints what would happen and stops. Show the user that output, with what it costs (a daily submission slot, GPU hours) and whether it is public, and end your turn by asking whether to go ahead.
  2. After the user says yes, run it again with --yes (for cli, before the --).

The request that started this, such as "submit my file", is not that yes: the user has not seen the dry run. Never add --yes in the turn that ran the dry run, unless the user said beforehand to go ahead without asking. A broad request such as "optimize my Kaggle workflow" is never permission to submit or publish. KAGGLE_SKILL_READ_ONLY=1 make

Full SKILL.md on GitHub

Install kaggle in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

Read
Grep
Glob

Bundled files

modules/README.mdmodules/badges/README.mdmodules/badges/references/badge-catalog.mdmodules/badges/scripts/badge_registry.pymodules/badges/scripts/badge_tracker.pymodules/badges/scripts/orchestrator.pymodules/badges/scripts/phase_1_instant_api.pymodules/badges/scripts/phase_2_competition.pymodules/badges/scripts/phase_3_pipeline.pymodules/badges/scripts/phase_4_browser.pymodules/badges/scripts/phase_5_streaks.pymodules/badges/scripts/templates/README_dataset.mdmodules/badges/scripts/templates/dataset-metadata.jsonmodules/badges/scripts/templates/kernel-metadata.jsonmodules/badges/scripts/templates/model-instance-metadata.jsonmodules/badges/scripts/templates/model-metadata.jsonmodules/badges/scripts/templates/python_notebook.ipynbmodules/badges/scripts/templates/r_notebook.ipynbmodules/badges/scripts/templates/submission_titanic.csvmodules/badges/scripts/templates/utility_script.pymodules/badges/scripts/utils.pymodules/benchmarks/README.mdmodules/benchmarks/references/benchmark-endpoints.mdmodules/benchmarks/references/benchmarks-cli.mdmodules/competitions/README.mdmodules/competitions/hackathons/README.mdmodules/competitions/hackathons/references/episode-endpoints.mdmodules/competitions/hackathons/references/hackathon-endpoints.mdmodules/competitions/hackathons/scripts/fetch_writeup.pymodules/competitions/hackathons/scripts/hackathon_overview.pymodules/competitions/hackathons/scripts/list_writeups.pymodules/competitions/references/competition-categories.mdmodules/competitions/references/competition-operations.mdmodules/competitions/references/competition-overview.mdmodules/competitions/references/competition-research.mdmodules/competitions/scripts/competition_brief.pymodules/competitions/scripts/competition_details.pymodules/competitions/scripts/competition_download.pymodules/competitions/scripts/competition_episodes.pymodules/competitions/scripts/competition_leaderboard.py

FAQ

What does the kaggle skill do?

Unified Kaggle skill. Use when the user explicitly mentions Kaggle, kaggle.com, a Kaggle URL, Kaggle competitions, Kaggle datasets/models/notebooks, Kaggle forums/discussions/writeups, Kaggle benchmarks, hackathons hosted on Kaggle, Kaggle badges, or Kaggle account setup. Do not use for generic ML, GPU/TPU, notebook, dataset, benchmark, or data-science tasks unless the user clearly ties them to Kaggle.

How do I install the kaggle skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the kaggle skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare kaggle with