Skip to content
Back to skills

Kg Start

ASecurity

Bootstrap a Kaggle competition workspace end to end — recon, data download, workspace init, EDA, adversarial validation, frozen folds, metric implementation, baseline model and a first validated submission file.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 5, 2026
ai-agentspythonshellbashgitapi

Works with

  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 11, 2026

npx -y skills add TranBaDat2607/claude-code-kaggle-grandmaster --skill kg-start --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kg Start?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Kg Start
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tranbadat2607-kg-start/badge)](https://www.skillsdirectory.com/skills/tranbadat2607-kg-start)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: kg-start
description: Bootstrap a Kaggle competition workspace end to end — recon, data download, workspace init, EDA, adversarial validation, frozen folds, metric implementation, baseline model and a first validated submission file.
argument-hint: <competition-slug> [workspace-dir]
allowed-tools:
  - Read
  - Glob
  - Grep
  - Agent
  - 'Bash(PYTHONPATH="${CLAUDE_PLUGIN_ROOT}" python -m kgkit init *)'
  - 'Bash(python -m kgkit init *)'
  - 'PowerShell(python -m kgkit init *)'
  - 'Bash(PYTHONPATH="${CLAUDE_PLUGIN_ROOT}" python -m kgkit eda *)'
  - 'Bash(python -m kgkit eda *)'
  - 'PowerShell(python -m kgkit eda *)'
  - 'Bash(PYTHONPATH="${CLAUDE_PLUGIN_ROOT}" python -m kgkit adv *)'
  - 'Bash(python -m kgkit adv *)'
  - 'PowerShell(python -m kgkit adv *)'
  - 'Bash(PYTHONPATH="${CLAUDE_PLUGIN_ROOT}" python -m kgkit folds *)'
  - 'Bash(python -m kgkit folds *)'
  - 'PowerShell(python -m kgkit folds *)'
  - 'Bash(PYTHONPATH="${CLAUDE_PLUGIN_ROOT}" python -m kgkit audit-repo *)'
  - 'Bash(python -m kgkit audit-repo *)'
  - 'PowerShell(python -m kgkit audit-repo *)'
  - 'Bash(PYTHONPATH="${CLAUDE_PLUGIN_ROOT}" python -m kgkit backlog *)'
  - 'Bash(python -m kgkit backlog *)'
  - 'PowerShell(python -m kgkit backlog *)'
  - 'Bash(PYTHONPATH="${CLAUDE_PLUGIN_ROOT}" python -m kgkit ledger *)'
  - 'Bash(python -m kgkit ledger *)'
  - 'PowerShell(python -m kgkit ledger *)'
  - 'Bash(PYTHONPATH="${CLAUDE_PLUGIN_ROOT}" python -m kgkit validate *)'
  - 'Bash(python -m kgkit validate *)'
  - 'PowerShell(python -m kgkit validate *)'
  - 'Bash(PYTHONPATH="${CLAUDE_PLUGIN_ROOT}" python -m kgkit status *)'
  - 'Bash(python -m kgkit status *)'
  - 'PowerShell(python -m kgkit status *)'
  - 'Bash(kaggle competitions files *)'
  - 'PowerShell(kaggle competitions files *)'
  - 'Bash(kaggle competitions download *)'
  - 'PowerShell(kaggle competitions download *)'
---

# /kg-start — bootstrap a competition

Run kgkit with the Bash tool, as `PYTHONPATH="${CLAUDE_PLUGIN_ROOT}" python -m kgkit <command>`: this command
pre-approves that form for the kgkit calls it makes. Submitting, pushing or publishing still asks (so does a
PowerShell `$env:` assignment).

Arguments: `$ARGUMENTS` (competition slug, optional workspace directory; default: current directory).

kgkit: use the absolute path from the session context ("kgkit home"), else `$KGKIT_HOME`, else
`${CLAUDE_PLUGIN_ROOT}`. Invoke as `PYTHONPATH=<kgkit home> python -m kgkit <cmd>`
(PowerShell: `$env:PYTHONPATH="<kgkit home>"; python -m kgkit <cmd>`). Use `python3` if `python`
is not the right interpreter on this machine.

Follow the `grandmaster-playbook` and `competition-recon` skills. Steps:

1. **Preflight**: `kaggle --version` (offer `pip install kaggle` if missing). Check auth by running
   `kaggle competitions files <slug>`; on 401/403 tell the user to create an API token and/or
   accept the competition rules on the website — do not proceed with downloads until fixed. Never
   print credentials.
2. **Workspace**: create/enter the directory; `git init` if not a repo.
3. **Recon** (in parallel with the download): launch the `competition-analyst` agent for the slug
   (and optionally `solution-researcher` for prior art). Meanwhile:
4. **Data**: `kaggle competitions download <slug> -p data/` and extract. List files and sizes.
5. **Init**: `python -m kgkit init <slug> --metric <m> --task <t> --target <col> --id-col <id>
   [--code-competition --runtime-hours H --no-internet] --deadline <date>` using facts from recon
   (ask the user only for facts you cannot determine). It makes `.gitignore` cover `data/`, and adds it to a
   `.gitignore` that exists. Then run `python -m kgkit audit-repo`. It says whether the GitHub remote is public
   and checks that nothing from the competition's files is in git. Kaggle's rules forbid publishing them, and
   that covers copies and subsets too. Init also makes `work/` (scratch: probes, logs; ignored) and `studies/`
   (one folder per analysis that decides something). Name the first phase:
   `python -m kgkit ledger phase "baselines"`: every record carries the phase it ran in, and `/kg-showcase` tells
   the journey phase by phase when the competition ends.
6. **Metric**: write `src/metric.py` implementing the exact competition metric (reuse
   `kgkit.metrics` if identical) with a unit test against a hand-computed example.
7. **EDA & shift**: `python -m kgkit eda data/train.csv --test data/test.csv --target <y> --id-col
   <id> --out reports/eda.md` and `python -m kgkit adv ...`. For non-tabular data, launch the
   `data-detective` agent instead.
8. **Folds**: choose the scheme per `validation-strategy` (groups? time?) and write
   `data/folds.csv` with `python -m kgkit folds ...`; show the fold report.
9. **Baseline**: adapt the matching template from `${CLAUDE_PLUGIN_ROOT}/templates/`
   (`train_gbdt.py`, `train_image.py`, `train_transformer.py`) into `src/`, run it quickly
   (reduced settings if large), log to the ledger, write `subs/<exp_id>.csv`, and validate it with
   `python -m kgkit validate`. Tabular: also run `--model linear` and `--model mlp` on the same folds
   (diverse baselines, see `/kg-baseline`). Mark the main one `python -m kgkit ledger decide <id> baseline`.
10. **Backlog**: add the recon's initial ideas with `python -m kgkit backlog add ...` (gain, prob,
   cost, evidence, source) and `python -m kgkit backlog render`.
11. **Commit** code, folds definition (or seed), CLAUDE.md, `.kaggle-gm/` (its `remote/` and `build/` are ignored). Never commit `data/`, or anything
   made from the competition's files outside it.

Finish with: recon TL;DR, CV scheme, baseline CV, the submission file ready (ask before
submitting, or run `/kg-submit`), and the top 5 backlog experiments.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.