Skip to content
Back to skills

Kg Submit

ASecurity

Validate a submission file, check the daily budget, submit it to Kaggle with a ledger-linked message, poll for the public score and record it in the ledger.

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

Works with

  • cli

Security analysis

A100/100

Scanned November 5, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Kg Submit?

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

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

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-submit
description: Validate a submission file, check the daily budget, submit it to Kaggle with a ledger-linked message, poll for the public score and record it in the ledger.
argument-hint: <submission-file> [experiment-id]
allowed-tools:
  - Read
  - Glob
  - Grep
  - '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(PYTHONPATH="${CLAUDE_PLUGIN_ROOT}" python -m kgkit ledger *)'
  - 'Bash(python -m kgkit ledger *)'
  - 'PowerShell(python -m kgkit ledger *)'
  - 'Bash(kaggle competitions submission-limits *)'
  - 'PowerShell(kaggle competitions submission-limits *)'
  - 'Bash(kaggle competitions submissions *)'
  - 'PowerShell(kaggle competitions submissions *)'
disable-model-invocation: true
---

# /kg-submit

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`

1. Resolve the file and the experiment id (from the argument, the ledger `submission` field, or the
   file name `subs/<exp_id>.csv`). Show the experiment's CV.
2. Validate: `python -m kgkit validate <file> data/sample_submission.csv` — stop on errors.
3. Budget: `kaggle competitions submission-limits <slug> --json` → `numAllowedNow` is what the team has left
   today, teammates' and website submissions included (CLI 2.2.4+; with an older CLI, count today's UTC
   entries in `kaggle competitions submissions <slug> --format json` against `daily_submissions` in
   `.kaggle-gm/competition.json`). Warn if this uses the last slot.
4. Sanity: compare this file's prediction distribution with the previous best submission (correlation,
   mean); if it is nearly identical (corr > 0.999) say the slot is probably wasted. The hook asks before
   it sends a byte-identical file again.
5. Submit: `kaggle competitions submit <slug> -f <file> -m "<exp_id> | CV <cv> | <short note>"`.
   (Code competitions: submit the notebook version — see `code-competitions`.)
6. Poll `kaggle competitions submissions <slug> --format json` every ~60 s (max ~15 min) until the
   score appears (code competitions: Kaggle reruns the notebook first, which takes hours, so poll every
   ~30 min in the background instead); then `python -m kgkit ledger lb <exp_id> <public_score>` and show
   the updated CV-LB correlation from `python -m kgkit status`.
7. Interpret: does LB move with CV as expected? If not, suggest `/kg-debug`.

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.