Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

kaggle-code-competitions

Skill by yassineAlouini

Guides an AI assistant through Kaggle code competition work, including notebook submission, offline packages, accelerator choice and the kernel push workflow. Also covers debugging scoring errors such as NO_SCORE and TIMEOUT. Written for Kaggle competitors.

  • Score 58
  • 32 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install kaggle-code-competitions

Built from the published package, never by AI.

git clone --depth 1 https://github.com/yassineAlouini/kaggle-tools /tmp/kaggle-tools && mkdir -p ~/.claude/skills && cp -r /tmp/kaggle-tools/skills/kaggle-code-competitions ~/.claude/skills/kaggle-code-competitions

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install kaggle-code-competitions in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill, defined in a SKILL.md file, covers the infrastructure of Kaggle code competitions. Kaggle re-runs a saved notebook offline on the hidden test set, and the skill explains how to avoid the failures that come from that re-run. It covers input paths, writing the submission file progressively, installing offline wheels, choosing a GPU, budgeting time limits, and pushing and submitting kernels with the Kaggle CLI.

The skill also describes debugging steps for scoring errors, silent fallbacks, hung kernels, and quota limits. It suggests rehearsing the hidden-test run on training data before submitting. It is aimed at people building notebook submissions for Kaggle code competitions.

Written from the project's SKILL.md and checked against it.

What it can do

  • Path resolutionExplains the competition, dataset and model input layouts under /kaggle/input and the writable working folder.
  • Progressive submissionDescribes writing submission.csv after each stage so a later crash or timeout still leaves a scoreable file.
  • Offline packagesShows how to install attached wheels with pip --no-index and matching versions to the Kaggle image.
  • Accelerator selectionCovers the default P100 GPU problem and pinning a T4 through the notebook metadata field.
  • Time budgetingAdvises keeping headroom against the hard wall-clock limit and measuring time gates instead of guessing.
  • Push workflowLists the kt check, kaggle datasets version, kernels push, status and output commands in order.
  • Submission from the CLIShows how to submit a completed kernel version with kaggle competitions submit and its -k, -v and -f flags.
  • Hung kernel safeguardsDescribes validating pool setup, bounding waits and using a faulthandler watchdog during rehearsal runs.
  • Hidden-test rehearsalDescribes rehearsing inference on a subset of training inputs to check runtime and predictions.

What you need

  • Kaggle account with access to the competition
  • Kaggle CLI (kaggle command)
  • kaggle-tools package providing the kt command
  • Python for the kaggle_tools helper functions

Try asking

  • Check my Kaggle notebook for offline and path problems before I push it
  • Help me set up progressive submission.csv writing for my competition
  • Submit version 4 of my Kaggle kernel to the competition from the CLI

Good to know

  • Quota and concurrency figures are observations from specific competitions, not platform guarantees
  • The default GPU is a P100 that recent stock torch builds do not support
  • The CLI accelerator flag did not apply the T4 setting, so the metadata field is used instead

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/kaggle-code-competitions/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to kaggle-code-competitions

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

kaggle-code-competitions: common questions

Why does my Kaggle notebook score NO_SCORE or a scoring error?

The source says the re-run is offline and uses a fresh environment, so uncaught exceptions show as an opaque Submission Scoring Error. Silent fallbacks, such as a missing wheel leading to a uniform prior, can also produce poor scores.

Which GPU should I choose for a Kaggle code competition?

The source says the default GPU is a P100 (sm_60), which stock torch 2.10 and later do not support. It recommends pinning a T4 with the machine_shape field in the notebook metadata.

How much time should I leave for the hidden test run?

The source advises keeping at least 10 to 15 percent headroom under the hard wall-clock limit. It also notes that the hidden test is usually larger than the public sample.

How do I install kaggle-code-competitions?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is kaggle-code-competitions free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is kaggle-code-competitions safe to use?

It scores 58 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to kaggle-code-competitions?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

kaggle-code-competitions Install

Add to stack

Loading.