kaggle-api-guide
Skill by brycewang-stanford
Explains how to use the Kaggle API to search and download datasets, work with competitions, and manage notebooks. It is written for researchers and data science users who want programmatic Kaggle access.
Install kaggle-api-guide
Built from the published package, never by AI.
git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills /tmp/Auto-Empirical-Research-Skills && mkdir -p ~/.claude/skills && cp -r /tmp/Auto-Empirical-Research-Skills/skills/43-wentorai-research-plugins/skills/tools/code-exec/kaggle-api-guide ~/.claude/skills/kaggle-api-guideRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills /tmp/Auto-Empirical-Research-Skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Auto-Empirical-Research-Skills/skills/43-wentorai-research-plugins/skills/tools/code-exec/kaggle-api-guide ~/.gemini/antigravity-cli/skills/kaggle-api-guideAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a guide to the Kaggle API, covering how an assistant can search and download datasets, list and download competition data, submit predictions to competitions, and manage notebooks (kernels). It gives shell commands for the kaggle CLI and Python examples that use subprocess and the KaggleApi class.
Using it requires a free Kaggle account and an API token, stored in ~/.kaggle/kaggle.json or set through environment variables. The source is aimed at academic researchers who want curated datasets, benchmark versions for reproducibility, standardized competition evaluation, and community notebooks. It also lists practices such as accepting competition rules before download and keeping kaggle.json out of version control.
Written from the project's SKILL.md and checked against it.
What it can do
- Search datasetsFinds Kaggle datasets by keyword, file type, size, and sort order.
- Download datasetsDownloads whole datasets or single files, with optional unzip and a target folder.
- List competitionsLists active Kaggle competitions from the command line.
- Download competition dataDownloads competition files after the rules have been accepted on kaggle.com.
- Submit to competitionsUploads a prediction file with a message to a competition.
- Check submissionsShows the status of past submissions to a competition.
- Search notebooksFinds Kaggle notebooks (kernels) by keyword and sort order.
- Pull and push notebooksCopies a notebook to local files or uploads a local notebook to Kaggle.
What you need
- Kaggle account
- Kaggle API token (kaggle.json)
- Python
- pip install of the kaggle package
Try asking
- Search Kaggle for climate change datasets sorted by votes
- Download the Titanic dataset from Kaggle into ./data/titanic
- Submit my predictions file to the house prices Kaggle competition
Good to know
- Kaggle imposes daily API call limits, and the source says free accounts typically allow several hundred requests per day.
- Competition data can only be downloaded after the rules are accepted on the Kaggle website.
- Very large datasets over 10GB are suggested to be handled with the CLI rather than the Python API.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/43-wentorai-research-plugins/skills/tools/code-exec/kaggle-api-guide/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to kaggle-api-guide
All alternatives →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.
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.
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.
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.
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.
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.
Compare with kaggle-cli, bigquery-bigframes or data-loading
kaggle-api-guide: common questions
Does the Kaggle API skill need an API token?
Yes. The source says a free Kaggle API token is required, and it can be provided through ~/.kaggle/kaggle.json or the KAGGLE_USERNAME and KAGGLE_KEY environment variables.
Can this skill submit predictions to a Kaggle competition?
Yes. The source shows a command that submits a CSV file with a message to a competition, and a command that checks submission status.
Can I download competition data without accepting the rules?
No. The source says competition rules must be accepted on the Kaggle website before competition data can be downloaded through the API.
How do I install kaggle-api-guide?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is kaggle-api-guide free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is kaggle-api-guide safe to use?
It scores 78 of 100. Grades: maintenance A, licence F, quality A. 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-api-guide?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
