AgentSkillsCN

kaggle

Kaggle 竞赛开发技能。当用户提及 Kaggle、竞赛、机器学习建模、数据分析、特征工程、模型训练,或询问如何提交预测结果时使用。同样适用于处理 Kaggle CLI 命令或 Google Colab 集成时使用。

SKILL.md
--- frontmatter
name: kaggle
description: Kaggle competition development skills. Use when the user mentions Kaggle, competition, ML modeling, data analysis, feature engineering, model training, or asks about submitting predictions. Also use when working with kaggle CLI commands or Google Colab integration.
user-invocable: true
argument-hint: "[competition-name or topic]"

Kaggle Competition Development

Comprehensive skills for Kaggle competition development, including workflow patterns, API usage, Google Colab integration, and machine learning best practices.

Quick Start

bash
# Setup Kaggle API
uv sync --extra kaggle

# Download competition data
uv run kaggle competitions download -c competition-name

# Submit predictions
uv run kaggle competitions submit -c competition-name -f submission.csv -m "Message"

Available Resources

Setup and Tools

Core Competition Skills

Detailed Knowledge Base

Competition Setup

  1. Assess problem type (tabular, CV, NLP) and evaluation metric
  2. Set up validation strategy matching competition timeline and data structure
  3. Establish baseline using simple models (mean/mode prediction, basic tree model)
  4. Configure experiment tracking and reproducibility (random seeds, version control)

Development Workflow Options

Standard Setup (Local execution)

bash
cp -r kaggle-template/ my-competition/
cd my-competition/
uv sync --extra kaggle

Google Colab Setup (Cloud execution with GPU)

For competitions requiring large datasets or GPU/TPU resources:

  • Develop code locally with Claude Code
  • Store data in Google Drive
  • Execute training on Google Colab
  • See colab-workflow.md for complete setup guide