Skip to content

Commit b150458

Browse files
authored
Add Gemini Agent Skill for Benchmarks CLI (#994)
## Add Agent Skill for Benchmarks CLI Adds agent skill documentation for the Kaggle Benchmarks CLI workflow, following the [Playwright CLI pattern](https://github.com/microsoft/playwright-cli/blob/main/skills/playwright-cli/SKILL.md). ### Structure ``` skills/ ├── SKILL.md ← Top-level skill for the entire kaggle CLI └── references/ └── benchmarks.md ← Detailed benchmarks workflow reference ``` - **`SKILL.md`** is a lightweight entry point (~45 lines) covering all CLI command groups, with links to detailed references. - **`references/benchmarks.md`** is the detailed reference (~420 lines) for the benchmarks workflow: setup, push, run, status, download, error handling, and common workflows. This structure allows future reference files (datasets.md, competitions.md, etc.) to be added without bloating the entry point. ### Using with AI Coding Agents The `skills/` directory is agent-agnostic. To integrate with a specific tool: | Tool | Integration | |------|-------------| | **Gemini CLI** | Symlink: `.gemini/skills/kaggle-cli/ → ../../skills/` | | **Claude Code** | Reference in `CLAUDE.md`: `See skills/references/benchmarks.md` | | **Cursor** | Add to `.cursor/rules/` | | **Other agents** | Point at `skills/SKILL.md` or `skills/references/benchmarks.md` directly | ### Tested - auto test https://paste.googleplex.com/4609226241605632 - trajectory with gemini: https://paste.googleplex.com/4861956914806784 ### Changes - `skills/SKILL.md` — **[NEW]** Top-level CLI skill - `skills/references/benchmarks.md` — **[NEW]** Benchmarks reference
1 parent 68e1f95 commit b150458

2 files changed

Lines changed: 444 additions & 0 deletions

File tree

skills/SKILL.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
name: kaggle-cli
3+
description: >
4+
How to use the kaggle CLI — managing datasets, competitions, notebooks,
5+
models, and benchmarks. Activate this skill when the user asks about
6+
kaggle CLI commands, workflows, or troubleshooting.
7+
---
8+
9+
# Kaggle CLI
10+
11+
The `kaggle` command-line tool provides access to Kaggle's platform features.
12+
13+
## Installation
14+
15+
```bash
16+
pip install kaggle
17+
```
18+
19+
## Authentication
20+
21+
```bash
22+
# Browser-based OAuth login
23+
kaggle auth login
24+
25+
# Or set KAGGLE_API_TOKEN environment variable
26+
# Or place token in ~/.kaggle/access_token
27+
```
28+
29+
## Command Groups
30+
31+
```
32+
kaggle
33+
├── competitions (alias: c) — Join and submit to competitions
34+
├── datasets (alias: d) — Create, download, and manage datasets
35+
├── kernels (alias: k) — Run and manage notebooks/scripts
36+
├── models (alias: m) — Upload and version models
37+
└── benchmarks (alias: b) — Benchmark LLM models on tasks
38+
```
39+
40+
## Specific Tasks
41+
42+
For detailed reference on specific command groups, see:
43+
44+
- [Benchmarks](references/benchmarks.md) — Push tasks, run against LLM models, check status, download results

0 commit comments

Comments
 (0)