shepsci/kaggle-skill / skills/kaggle
kaggle
FlaggedUnified Kaggle skill. Use when the user explicitly mentions Kaggle, kaggle.com, a Kaggle URL, Kaggle competitions, Kaggle datasets/models/notebooks, Kaggle forums/discussions/writeups, Kaggle benchmarks, hackathons hosted on Kaggle, Kaggle badges, or Kaggle account setup. Do not use for generic ML, GPU/TPU, notebook, dataset, benchmark, or data-science tasks unless the user clearly ties them to Kaggle.
modules/models/references/kagglehub-models.md
View on GitHub# kagglehub Model Reference
Official source: https://github.com/Kaggle/kagglehub
## Install
```bash
python3 -m pip install "kagglehub>=1.0.2"
python3 -m pip install "kagglehub[signing]>=1.0.2"
```
Use 1.0.2 or later: earlier releases extracted tar archives without a path
check. Signatures below are from 1.0.2.
## Authentication
kagglehub checks `KAGGLE_API_TOKEN`, `~/.kaggle/access_token`, Colab secrets,
legacy `KAGGLE_USERNAME` plus `KAGGLE_KEY`, and `~/.kaggle/kaggle.json`.
Inside Kaggle notebooks, authentication is automatic. Public models download
without a credential; some need their license accepted on kaggle.com first.
## model_download()
```python
kagglehub.model_download(
handle: str, # "owner/model/framework/variation" or with /version
path: str | None = None, # optional file within the version
force_download: bool = False,
output_dir: str | None = None,
) -> str
```
## model_upload()
```python
kagglehub.model_upload(
handle: str, # "owner/model/framework/variation"
local_model_dir: str,
license_name: str | None = None,
version_notes: str = "",
ignore_patterns: list[str] | str | None = None,
sigstore: bool = False,
) -> None
```
The four-part handle downloads the latest version; add `/<number>` for a
specific one. An upload creates the model and the variation if they are new,
and a new version if they exist. New models are private.
Everything in the folder is uploaded except what `ignore_patterns` matches.
The skill's `model-publish` command refuses a folder that holds a credential
file.
Use `sigstore=True` only when `kagglehub[signing]` is installed and the user
has explicitly asked for signed publishing.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |