GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - taimo3810/kaggle-with-ai-template

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
.claude
.claude
 
 
.references
.references
 
 
.serena
.serena
 
 
.gitignore
.gitignore
 
 
.mcp.json
.mcp.json
 
 
.python-version
.python-version
 
 
CLAUDE.md
CLAUDE.md
 
 
README.md
README.md
 
 
create_structure.sh
create_structure.sh
 
 
pyproject.toml
pyproject.toml
 
 
uv.lock
uv.lock
 
 

Repository files navigation

Kaggle with AI Template

A template project for efficiently tackling Kaggle competitions using AI. Leverages Claude Code and MCP (Model Context Protocol) to support everything from competition research to coding.

Features

  • MCP Integration: Uses Model Context Protocol to integrate tools.
    • Perplexity AI: For searching competition info and research.
    • Kaggle MCP: For interacting with Kaggle datasets and competitions.
  • Custom Commands: Includes Slash Commands for Claude Code (/fetch-kaggle, /create-claude-md, /eda, /baseline, etc.)
  • Structured Directories: Optimized folder structure for experiment management

Prerequisites

  • Claude Code installed
  • uv installed
  • Perplexity API Key (for Perplexity MCP server)
  • Kaggle API Token (for Kaggle MCP server)

Quick Start

  1. Clone & Install Clone the repository or use it as a template. You can specify a directory name to make the competition clear at a glance:

    git clone https://github.com/taimo3810/kaggle-with-ai-template.git titanic
    cd titanic
  2. Run Setup Command In Claude Code, run the setup command with your competition URL:

    /setup [competition-url-or-name]

    Example:

    /setup https://www.guruguru.science/competitions/31
    /setup titanic

    This will automatically:

    • Install Python dependencies via uv sync
    • Create the necessary directory structure (src/, data/, ai-src/, etc.)
    • Fetch competition info and create .references/COMPETITION.md, .references/DATASET.md, .references/METRIC.md
    • Generate AI context file CLAUDE.md
  3. Download Data Download competition data to data/raw/ directory.

  4. Start Working You're ready to go! Use /eda to explore data or /baseline to create a baseline solution.

MCP Configuration (Optional)

This template uses MCP servers to enhance Claude's capabilities. Add the following to your MCP configuration file (e.g., .mcp.json or Claude Desktop config).

Perplexity MCP

Set up with your Perplexity API Key.

  • Note: PERPLEXITY_API_KEY environment variable is required in mcpServers settings.

Kaggle MCP

To interact with Kaggle competitions and datasets directly, set up the Kaggle MCP server. Please refer to the official Kaggle MCP Documentation for installation and configuration instructions.

Directory Structure

The following directory structure is initialized by running /setup:

  • src/: Human-authored code. Primary solutions and shared utilities reside here. AI should prioritize reading from here and avoid destructive edits unless explicitly instructed.
    • commons/: Common utilities
    • SolutionX/: Code for each solution
  • ai-src/: AI playground. A dedicated space for AI to freely generate code, run experiments, and store artifacts.
  • notebook/: Jupyter Notebooks
  • data/: Datasets (usually ignored by .gitignore)
    • raw/: Original immutable data
    • processed/: Processed data features
  • configs/: Configuration files
  • logs/: Experiment logs
  • .claude/commands/: Custom commands for Claude Code

Slash Commands for Claude Code

Setup (All-in-One)

Set up the entire project for a competition in one command:

/setup [competition-url-or-name]

Example:

/setup https://www.guruguru.science/competitions/31
/setup titanic

Fetch Competition Info

If you need to update competition info separately:

/fetch-kaggle [competition-name-or-url]

Update CLAUDE.md

Regenerate the AI assistant's context file:

/create-claude-md

Exploratory Data Analysis (EDA)

Execute EDA on data files and create a Notebook:

/eda [data-file-path]

Example:

/eda data/train.csv

Research Topics

Research specific topics, papers, or methods relevant to the competition:

/research [topic-or-question]

Example:

/research # Auto-detect topics from .references/COMPETITION.md
/research "SOTA models for 2D bin packing"

Create Baseline

Create baseline code for training and inference:

/baseline [solution-name]

Example:

/baseline Solution1

Adding Dependencies

To add new Python packages during development:

uv add <package_name>

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

12 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.