Skip to content
Skill

Write kaggle benchmarks

Guides an agent through writing, pushing, running and publishing Kaggle benchmark tasks

Write kaggle benchmarks is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
72
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Write kaggle benchmarks

This skill walks an AI coding agent through the full lifecycle of a Kaggle Benchmark task, using the kaggle CLI and the kaggle-benchmarks Python SDK. It covers scaffolding credentials and a local environment with init, writing a task file that wraps a function in a benchmark decorator, validating it locally, and then pushing it to Kaggle, running it against one or more LLMs, and checking status.

The skill is organised as checkpoints rather than an automatic chain: the agent is asked to confirm each stage before moving on. It also lists common silent failures, such as a missing run call, short-lived proxy keys, and space-separated flags, so the agent can avoid them. Results can be inspected through streamed or saved logs, downloaded outputs, and optional source notebooks.

It includes reference material on advanced SDK patterns such as reasoning and temperature options, multimodal inputs, chat branching, multi-agent chat rooms and custom assertions. Benchmark collections themselves are managed on the Kaggle website, not through the CLI.

When your agent uses it

Write, push, run, publish, and manage Kaggle Benchmark tasks using the kaggle CLI and the kaggle-benchmarks Python SDK. Use when the user wants to create or push a benchmark task (optionally with attached Kaggle datasets), run benchmarks against LLM models, check task/run status, stream or fetch execution logs, download results and source notebooks, publish a task to make it public, or troubleshoot benchmark workflows.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (17 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/write-kaggle-benchmarks to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Kaggle/kaggle-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/write-kaggle-benchmarks &&
cp -R "$tmp/write-kaggle-benchmarks" ~/.claude/skills/write-kaggle-benchmarks &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/write-kaggle-benchmarks inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/write-kaggle-benchmarks to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Kaggle/kaggle-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/write-kaggle-benchmarks &&
cp -R "$tmp/write-kaggle-benchmarks" ~/.agents/skills/write-kaggle-benchmarks &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/write-kaggle-benchmarks inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/write-kaggle-benchmarks to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Kaggle/kaggle-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/write-kaggle-benchmarks &&
cp -R "$tmp/write-kaggle-benchmarks" ~/.cursor/skills/write-kaggle-benchmarks &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/write-kaggle-benchmarks inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/Kaggle/kaggle-skills.git --path write-kaggle-benchmarks

Or copy the folder to ~/.gemini/skills/write-kaggle-benchmarks yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/write-kaggle-benchmarks:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Kaggle/kaggle-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/write-kaggle-benchmarks &&
cp -R "$tmp/write-kaggle-benchmarks" ~/.copilot/skills/write-kaggle-benchmarks &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/write-kaggle-benchmarks inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/Kaggle/kaggle-skills.git

Then copy kaggle-skills/write-kaggle-benchmarks into your agent's skills folder as write-kaggle-benchmarks. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Credential and environment setup
Fetches model proxy credentials and writes a local .env and example task file.
Task file authoring
Explains the structure of a benchmark task file using the kbench task decorator.
Local validation step
Runs the task locally and checks that a run file is produced before pushing.
Push, run and status
Uploads tasks, optionally with Kaggle datasets, and runs them against chosen models.
Logs and downloads
Streams or fetches execution logs and downloads run outputs and source notebooks.
Publishing tasks
Makes a task public and optionally publishes its backing notebook.
Troubleshooting gotchas
Lists frequent pitfalls such as missing run calls, expired keys and flag syntax.

Good for

  • Create a benchmark task that checks an LLM's arithmetic answers
  • Push a benchmark task with a Kaggle dataset attached
  • Run a benchmark task against two different models
  • Check the status and errors of a benchmark run
  • Download results and source notebooks for a finished run
  • Publish a benchmark task so it is public

Write kaggle benchmarks FAQ

What do I need before using Write kaggle benchmarks?

Python 3.11+, the kaggle CLI and the kaggle-benchmarks SDK installed, and valid Kaggle credentials.

Does Write kaggle benchmarks run the whole pipeline automatically?

No. It asks for confirmation at each step, unless the user explicitly asks it to chain the commands, in which case it summarises the plan first.

Why does my pushed task produce no results?

The task file must end each task function with a run call; push validation does not catch a missing one, so the task silently produces no run file.

Can the CLI create benchmark collections?

No. The CLI only handles individual tasks; benchmark collections must be created on the Kaggle web UI.

How do I install Write kaggle benchmarks in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/write-kaggle-benchmarks to use it in all your projects, or to .claude/skills/write-kaggle-benchmarks in one project.

Does Write kaggle benchmarks run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Write kaggle benchmarks?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Write kaggle benchmarks?

The closest alternatives to Write kaggle benchmarks are Skill creator, Benchmarks, Benchmark optimization loop, Kaggle standardized agent exam and Benchmark.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from Kaggle/kaggle-skills

  1. Guides hosts through LLM-assisted grading of a public Kaggle Hackathon with audit steps

    • Open source
    • 72 GitHub stars
    • Developer tools