Synthèse automatique
Skill unifié qui regroupe la configuration des identifiants Kaggle, la génération de rapports sur les compétitions, le téléchargement de datasets et de modèles, l'exécution de notebooks et la soumission aux compétitions.
Points forts
- Quatre modules complémentaires (registration, comp-report, kllm, badge-collector) couvrent l'ensemble du cycle de travail Kaggle
- Un vérificateur d'identifiants contrôle les trois types de jetons (KAGGLE_USERNAME, KAGGLE_KEY, KAGGLE_API_TOKEN) avant toute action
- Les rapports de compétition combinent l'API Python pour les métadonnées et Playwright pour le contenu des SPA
- Propose plusieurs voies d'interaction (kagglehub, kaggle-cli, serveur MCP, interface web) selon la tâche
Limites
- Nécessite un compte Kaggle et un accès HTTPS sortant vers api.kaggle.com, www.kaggle.com et storage.googleapis.com
- La génération de rapports de compétition dépend d'outils Playwright MCP, ce qui ajoute une étape d'installation
- Ne traite pas l'évaluation de hackathons, renvoyée vers un skill séparé
À utiliser dès qu'il faut télécharger un dataset ou un modèle Kaggle, soumettre une solution à une compétition ou produire un rapport sur l'actualité des compétitions.
À éviter pour la notation de hackathons ou l'analyse d'alignement, qui relèvent du skill kaggle-hackathon-grading, ou en l'absence d'identifiants Kaggle.
Analyse de sécurité
PrudenceNothing here is destructive, obfuscated, or exfiltrating — credentials stay local and the skill explicitly forbids echoing or logging secret values. However it is credential-handling software that persists API keys to plaintext files, runs a large set of bundled bash/python scripts the auditor cannot see, scrapes the web via Playwright, and automates account actions (submissions, badge farming) that may breach Kaggle's ToS. That is legitimate-purpose use of powerful tools, so 'caution' rather than 'risky'.
- •Handles live Kaggle API credentials (KAGGLE_USERNAME, KAGGLE_KEY, KAGGLE_API_TOKEN) and instructs writing them to disk in .env and ~/.kaggle/kaggle.json — plaintext secrets at rest; no guidance on file permissions or gitignoring .env
- •Requires broad Bash execution of many bundled Python/bash scripts (check_all_credentials.py, setup_env.sh, orchestrator.py, etc.) whose contents are not reviewed in this document
- •Outbound network to api.kaggle.com, www.kaggle.com, storage.googleapis.com plus Playwright-driven browser scraping of Kaggle pages
- •Badge Collector module explicitly automates earning ~38 badges, which likely violates Kaggle Terms of Service / manipulates platform activity metrics
- •Competition submission automation (kernels push, competitions submit) can publish artifacts and consume compute/GPU quota on the user's account
- •References Playwright MCP tools that are outside the declared allowed-tools (Bash Read WebFetch), expanding the effective capability surface
Exemples
Download the Titanic competition dataset from Kaggle and load it into a pandas DataFrame.Generate a report on the Kaggle competitions opened in the last 30 days, with evaluation metrics and the main writeup insights.Check my Kaggle credentials and walk me through creating an account and API keys if anything is missing.name: kaggle description: "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." license: MIT compatibility: "Python 3.9+, pip packages kagglehub, kaggle, requests, python-dotenv. Optional: playwright for browser badges. Playwright MCP tools for competition reports." homepage: https://github.com/shepsci/kaggle-skill metadata: {"author": "shepsci", "version": "1.0.1", "primaryEnv": "KAGGLE_KEY", "openclaw": {"requires": {"bins": ["python3", "pip3"], "env": ["KAGGLE_USERNAME", "KAGGLE_KEY", "KAGGLE_API_TOKEN"]}}} allowed-tools: Bash Read WebFetch
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 credential values.
Step 2: Generate Competition Landscape Report
Run the comp-report workflow: list competitions, get details, scrape with Playwright, compose report. Output inline.
Step 3: Summarize Kaggle Interaction Methods
Present a concise summary of the four ways to interact with Kaggle (kagglehub, kaggle-cli, MCP Server, UI) with the capability matrix from the kllm module.
Step 4: Present Interactive Menu
Ask the user what they'd like to do next:
- Earn Kaggle badges — Run the badge collector (5 phases, ~38 automatable badges)
- Explore recent competitions — Dive deeper into specific competitions from the report
- Enter a Kaggle competition — Register, download data, build a submission, submit
- Download a Kaggle dataset — Search for and download any public dataset
- Download a Kaggle model — Download pre-trained models (LLMs, CV, etc.)
- Run a notebook on Kaggle — Push and execute a notebook on KKB with free GPU/TPU
- Publish to Kaggle — Upload a dataset, model, or notebook
- Learn about Kaggle progression — Tiers, medals, how to rank up
- Something else — Free-form Kaggle help
Step 5: Execute and Continue
Handle the user's choice using the appropriate module, then loop back to offer more options.
Security
- Never commit
.env,kaggle.json, or any credential files - Never echo or log actual credential values in terminal output
- The
.gitignoreexcludes.env,kaggle.json, and related files - Set file permissions:
chmod 600 .env ~/.kaggle/kaggle.json - If credentials are accidentally exposed, rotate them immediately at https://www.kaggle.com/settings
Scope of Operations
This skill performs both read-only and write operations on kaggle.com.
Read-only operations (no account side-effects):
- List/search competitions, datasets, models, notebooks
- Download datasets, models, competition data
- View leaderboards, competition details, badge progress
- Generate competition landscape reports
Write operations (create or modify resources on your account):
- Create/publish datasets, notebooks, models (always private by default)
- Submit predictions to competitions
- Push and execute notebooks on Kaggle Kernel Backend (KKB)
- Earn badges through API activity (profile-visible)
Phase 5 (Streaks) generates a local shell script for daily execution but does not auto-install cron jobs or launchd plists. Users must manually configure scheduling if desired.
Scripts Index
Shared:
shared/check_all_credentials.py— Unified credential checker (all 3 types)
Registration:
modules/registration/scripts/check_registration.py— Check all 3 credentialsmodules/registration/scripts/setup_env.sh— Auto-configure credentials from env/dotenv
Competition Reports:
modules/comp-report/scripts/utils.py— Credential check, API init, rate limitingmodules/comp-report/scripts/list_competitions.py— Fetch competitions across categoriesmodules/comp-report/scripts/competition_details.py— Files, leaderboard, kernels per competition
Kaggle Interaction (kllm):
modules/kllm/scripts/setup_env.sh— Auto-configure credentials (with .env loading)modules/kllm/scripts/check_credentials.py— Verify and auto-map credentialsmodules/kllm/scripts/network_check.sh— Check Kaggle API reachabilitymodules/kllm/scripts/cli_download.sh— Download datasets/models via CLImodules/kllm/scripts/cli_execute.sh— Execute notebook on KKBmodules/kllm/scripts/cli_competition.sh— Competition workflow (list/download/submit)modules/kllm/scripts/cli_publish.sh— Publish datasets/notebooks/modelsmodules/kllm/scripts/poll_kernel.sh— Poll kernel status and download outputmodules/kllm/scripts/kagglehub_download.py— Download via kagglehubmodules/kllm/scripts/kagglehub_publish.py— Publish via kagglehub
Badge Collector:
modules/badge-collector/scripts/orchestrator.py— Main entry pointmodules/badge-collector/scripts/badge_registry.py— 59 badge definitionsmodules/badge-collector/scripts/badge_tracker.py— Progress persistencemodules/badge-collector/scripts/utils.py— Shared utilitiesmodules/badge-collector/scripts/phase_1_instant_api.py— Instant API badgesmodules/badge-collector/scripts/phase_2_competition.py— Competition badgesmodules/badge-collector/scripts/phase_3_pipeline.py— Pipeline badgesmodules/badge-collector/scripts/phase_4_browser.py— Browser badgesmodules/badge-collector/scripts/phase_5_streaks.py— Streak automation
References Index
modules/registration/references/kaggle-setup.md— Full credential setup guide with troubleshootingmodules/comp-report/references/competition-categories.md— Competition types and API mappingmodules/kllm/references/kaggle-knowledge.md— Comprehensive Kaggle platform knowledgemodules/kllm/references/kagglehub-reference.md— Full kagglehub Python API referencemodules/kllm/references/cli-reference.md— Complete kaggle-cli command referencemodules/kllm/references/mcp-reference.md— Kaggle MCP server referencemodules/badge-collector/references/badge-catalog.md— Complete 59-badge catalog
Du fichier au premier essai
Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.
Consulter la source et ses fichiers annexesCe téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.
1. Télécharger le fichier
Télécharger SKILL.mdDepuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/complete-kaggle-integration-mmh8qqqd/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.
Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.
mkdir -p '.skill-downloads/complete-kaggle-integration-mmh8qqqd' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/complete-kaggle-integration-mmh8qqqd/download' --output '.skill-downloads/complete-kaggle-integration-mmh8qqqd/SKILL.md.part' && mv '.skill-downloads/complete-kaggle-integration-mmh8qqqd/SKILL.md.part' '.skill-downloads/complete-kaggle-integration-mmh8qqqd/SKILL.md'2. Vérifier les prérequis
Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.
Environnement déclaré par l’auteur : Python 3.9+, pip packages kagglehub, kaggle, requests, python-dotenv. Optional: playwright for browser badges. Playwright MCP tools for competition reports.
Outils déclarés par l’auteur (à vérifier dans votre agent) : Bash Read WebFetch
Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.
Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.
3. Charger la skill
Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.
Claude Code
test -f '.skill-downloads/complete-kaggle-integration-mmh8qqqd/SKILL.md' && test -s '.skill-downloads/complete-kaggle-integration-mmh8qqqd/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/kaggle' && cp -R '.skill-downloads/complete-kaggle-integration-mmh8qqqd' '.claude/skills/kaggle'Cursor
test -f '.skill-downloads/complete-kaggle-integration-mmh8qqqd/SKILL.md' && test -s '.skill-downloads/complete-kaggle-integration-mmh8qqqd/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/kaggle' && cp -R '.skill-downloads/complete-kaggle-integration-mmh8qqqd' '.cursor/skills/kaggle'Codex
test -f '.skill-downloads/complete-kaggle-integration-mmh8qqqd/SKILL.md' && test -s '.skill-downloads/complete-kaggle-integration-mmh8qqqd/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/kaggle' && cp -R '.skill-downloads/complete-kaggle-integration-mmh8qqqd' '.agents/skills/kaggle'OpenSkills
OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.
Installation officielle d’OpenSkillsopenskills install './.skill-downloads/complete-kaggle-integration-mmh8qqqd'openskills read 'complete-kaggle-integration-mmh8qqqd'La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.
Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.
openskills syncMode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.
4. Faire un premier essai
Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :
Lis .skill-downloads/complete-kaggle-integration-mmh8qqqd/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.
Créer des cartes interactives avec kepler.gl
Data & IA
Création de cartes interactives et export HTML autonome avec le package Python keplergl, à partir de données géospatiales (DataFrame, GeoJSON, CSV).
Optimisation de paramètres par agent
Data & IA
Guide d'optimisation de systèmes configurables avec objectif mesurable, via des essais bornés et une recommandation fondée sur des preuves.
Relance des visiteurs ICP
Data & IA
Identifiez les utilisateurs inscrits correspondant au profil client idéal mais qui n'ont pas activé, et rédigez des messages de relance personnalisés pour les réengager.