kaggle
Unified Kaggle skill. Use when the user mentions kaggle, kaggle.com, Kaggle competitions, datasets, models, notebooks, GPUs, TPUs, badges, or anything…
от eric861129★ 52 звезды на GitHub
Установить kaggle в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Kaggle — Unified Skill
Complete Kaggle integration for any LLM or agentic coding system (Claude Code, gemini-cli, Cursor, etc.): account setup, competition reports, dataset/model downloads, notebook execution, competition submissions, badge collection, and general Kaggle questions. Four integrated modules working together.
Overlap guard: For hackathon grading evaluation and alignment analysis, use the kaggle-hackathon-grading skill instead.
Network requirements: outbound HTTPS to api.kaggle.com, www.kaggle.com,
and storage.googleapis.com.
Modules
| Module | Purpose |
|---|---|
| registration | Account creation, API key generation, credential storage |
| comp-report | Competition landscape reports with Playwright scraping |
| kllm | Core Kaggle interaction (kagglehub, CLI, MCP, UI) |
| badge-collector | Systematic badge earning across 5 phases |
Credential Setup
Always run the credential checker first:
python3 skills/kaggle/shared/check_all_credentials.py
Three credential types are needed for full compatibility:
| Variable | Format | Purpose |
|---|---|---|
KAGGLE_USERNAME |
Kaggle handle | Identity for all tools |
KAGGLE_KEY |
32-char hex | Legacy key (CLI, kagglehub, most MCP) |
KAGGLE_API_TOKEN |
KGAT_-prefixed |
Scoped token (some MCP endpoints) |
If any are missing, follow the registration walkthrough:
Read modules/registration/README.md for the full step-by-step guide.
Security: Never echo, log, or commit actual credential values.
Module: Registration
Walks users through creating a Kaggle account and generating all three API
credentials. Saves to .env and ~/.kaggle/kaggle.json.
Key commands:
python3 skills/kaggle/modules/registration/scripts/check_registration.py
bash skills/kaggle/modules/registration/scripts/setup_env.sh
Read modules/registration/README.md for the complete walkthrough.
Module: Competition Reports
Generates comprehensive landscape reports of recent Kaggle competition activity. Uses Python API for metadata + Playwright MCP tools for SPA content.
6-step workflow:
- Verify credentials
- Gather competition list across all categories
- Get structured details per competition (files, leaderboard, kernels)
- Scrape problem statements, evaluation metrics, writeups via Playwright
- Compose markdown report with Methods & Insights analysis
- Present inline
python3 skills/kaggle/modules/comp-report/scripts/list_competitions.py --lookback-days 30 --output json
python3 skills/kaggle/modules/comp-report/scripts/competition_details.py --slug SLUG
Read modules/comp-report/README.md for full details including hackathon handling.
Module: Kaggle Interaction (kllm)
Four methods to interact with kaggle.com:
| Method | Best For |
|---|---|
| kagglehub | Quick dataset/model download in Python |
| kaggle-cli | Full workflow scripting |
| MCP Server | AI agent integration |
| Kaggle UI | Account setup, verification |
Capability matrix:
| Task | kagglehub | kaggle-cli | MCP | UI |
|---|---|---|---|---|
| Download dataset | dataset_download() |
datasets download |
Yes | Yes |
| Download model | model_download() |
models instances versions download |
Yes | Yes |
| Execute notebook | — | kernels push/status/output |
Yes | Yes |
| Submit to competition | — | competitions submit |
Yes | Yes |
| Publish dataset | dataset_upload() |
datasets create |
Yes | Yes |
| Publish model | model_upload() |
models create |
Yes | Yes |
Known issues:
dataset_load()broken in kagglehub v0.4.3 — usedataset_download()+pd.read_csv()competitions downloadhas no--unzipin CLI >= 1.8- Competition-linked datasets return 403 — use standalone copies
Read modules/kllm/README.md for full details and all task workflows.
Module: Badge Collector
Systematically earns ~38 automatable Kaggle badges across 5 phases:
| Phase | Name | Badges | Time |
|---|---|---|---|
| 1 | Instant API | ~16 | 5-10 min |
| 2 | Competition | ~7 | 10-15 min |
| 3 | Pipeline | ~3 | 15-30 min |
| 4 | Browser | ~8 | 5-10 min |
| 5 | Streaks | ~4 | Setup only |
python3 skills/kaggle/modules/badge-collector/scripts/orchestrator.py --dry-run
python3 skills/kaggle/modules/badge-collector/scripts/orchestrator.py --phase 1
python3 skills/kaggle/modules/badge-collector/scripts/orchestrator.py --status
Read modules/badge-collector/README.md for full details.
Orchestration Workflow
This skill is primarily a reference — use the modules and scripts as needed based on the user's request. When explicitly asked to run the full Kaggle workflow, follow these steps:
Step 1: Check Credentials
python3 skills/kaggle/shared/check_all_credentials.py
If any credentials are missing, walk through the registration module. **Never echo or log actual cred
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash - 02
Read - 03
WebFetch
Вложенные файлы
- modules/badge-collector/README.md
- modules/badge-collector/references/badge-catalog.md
- modules/badge-collector/scripts/badge_registry.py
- modules/badge-collector/scripts/badge_tracker.py
- modules/badge-collector/scripts/orchestrator.py
- modules/badge-collector/scripts/phase_1_instant_api.py
- modules/badge-collector/scripts/phase_2_competition.py
- modules/badge-collector/scripts/phase_3_pipeline.py
- modules/badge-collector/scripts/phase_4_browser.py
- modules/badge-collector/scripts/phase_5_streaks.py
- modules/badge-collector/scripts/templates/README_dataset.md
- modules/badge-collector/scripts/templates/dataset-metadata.json
- modules/badge-collector/scripts/templates/kernel-metadata.json
- modules/badge-collector/scripts/templates/model-instance-metadata.json
- modules/badge-collector/scripts/templates/model-metadata.json
- modules/badge-collector/scripts/templates/python_notebook.ipynb
- modules/badge-collector/scripts/templates/r_notebook.ipynb
- modules/badge-collector/scripts/templates/utility_script.py
- modules/badge-collector/scripts/utils.py
- modules/comp-report/README.md
- modules/comp-report/references/competition-categories.md
- modules/comp-report/scripts/competition_details.py
- modules/comp-report/scripts/list_competitions.py
- modules/comp-report/scripts/utils.py
- modules/kllm/README.md
- modules/kllm/references/cli-reference.md
- modules/kllm/references/kaggle-knowledge.md
- modules/kllm/references/kagglehub-reference.md
- modules/kllm/references/mcp-reference.md
- modules/kllm/scripts/check_credentials.py
- modules/kllm/scripts/cli_competition.sh
- modules/kllm/scripts/cli_download.sh
- modules/kllm/scripts/cli_execute.sh
- modules/kllm/scripts/cli_publish.sh
- modules/kllm/scripts/kagglehub_download.py
- modules/kllm/scripts/kagglehub_publish.py
- modules/kllm/scripts/network_check.sh
- modules/kllm/scripts/poll_kernel.sh
- modules/kllm/scripts/setup_env.sh
- modules/registration/README.md
FAQ
Что делает скилл kaggle?
Unified Kaggle skill. Use when the user mentions kaggle, kaggle.com, Kaggle competitions, datasets, models, notebooks, GPUs, TPUs, badges, or anything Kaggle-related. Handles account setup, competition reports, dataset/model downloads, notebook execution, competition submissions, badge collection, and general Kaggle questions.
Как установить скилл kaggle?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл kaggle запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…