# Write kaggle benchmarks

> Write kaggle benchmarks is an open-source agent skill for developer tools. Guides an agent through writing, pushing, running and publishing Kaggle benchmark tasks. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Kaggle/kaggle-skills/tree/main/write-kaggle-benchmarks
- **Repository:** https://github.com/kaggle/kaggle-skills
- **GitHub stars:** 72
- **License:** Apache-2.0
- **Skill name:** write-kaggle-benchmarks
- **Collection:** https://github.com/Kaggle/kaggle-skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Kaggle/kaggle-skills/tree/HEAD/write-kaggle-benchmarks)
- [License: Apache-2.0](https://github.com/Kaggle/kaggle-skills/tree/HEAD/write-kaggle-benchmarks)

## Features

- **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

## Install

### Claude Code

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Skill creator](https://ai-powered.com/skills/skill-creator): Skill creator is a free agent skill for ai models and llm tooling.
- [Benchmarks](https://ai-powered.com/skills/benchmarks): Benchmarks is an open-source agent skill for developer tools.
- [Benchmark optimization loop](https://ai-powered.com/skills/benchmark-optimization-loop): Benchmark optimization loop is an open-source agent skill for developer tools.
- [Kaggle standardized agent exam](https://ai-powered.com/skills/kaggle-standardized-agent-exam): Kaggle standardized agent exam is an open-source agent skill for developer tools.
- [Benchmark](https://ai-powered.com/skills/benchmark): Benchmark is an open-source agent skill for developer tools.
- [Benchmark checklist](https://ai-powered.com/skills/benchmark-checklist): Benchmark checklist is an open-source agent skill for developer tools.
- [Agentic eval](https://ai-powered.com/skills/agentic-eval): Agentic eval is an open-source agent skill for ai models and llm tooling.
- [Eval driven dev](https://ai-powered.com/skills/eval-driven-dev): Eval driven dev is an open-source agent skill for ai models and llm tooling.

---
Source: https://ai-powered.com/skills/write-kaggle-benchmarks
