datasets-models-sources

v2026.09.24

Kaggle datasets, models, sources, and kagglehub workflows. PROACTIVELY activate for: (1) downloading datasets with kagglehub, (2) uploading datasets, (3) downloading or uploading Kaggle models, (4) competition_download, (5) notebook_output_download, (6) choosing Kaggle CLI vs kagglehub, (7) attaching dataset_sources, competition_sources, kernel_sources, or model_sources, (8) model artifact transfer, (9) source dependency cleanup, (10) kagglehub limitations for notebooks. Provides: dataset/model transfer patterns, source attachment guidance, tool selection, and limitation checks.

GitHub
安装命令
npx skhub add josiahsiegel/datasets-models-sources
Markdown
SKILL.md

Datasets, Models, and Sources

Overview

Use this skill for Kaggle datasets, models, source attachments, and kagglehub workflows. Separate transfer/download tasks from notebook lifecycle tasks: kagglehub is useful for data and model artifacts, but Kaggle CLI remains the notebook push/pull/status/delete tool.

Tool Selection

NeedPrefer
Create/edit/push/delete notebookKaggle CLI or Python API
Check notebook status/logs/filesKaggle CLI or Python API
Download notebook outputsKaggle CLI or kagglehub.notebook_output_download
Download/load/upload datasetskagglehub dataset functions or Kaggle CLI
Download/upload modelskagglehub model functions
Download competition datakagglehub competition_download or Kaggle CLI
Manage metadata/source arrayskernel-metadata.json plus Kaggle CLI push

kagglehub Capabilities

kagglehub supports dataset_download, dataset_load, dataset_upload, model_download, model_upload, competition_download, and notebook_output_download. It does not create, edit, push, delete, or administer Kaggle notebooks, and it does not manage kernel-metadata.json or notebook run status. Route those operations to notebook-lifecycle and kernel-metadata.

Source Attachments

Use dataset_sources, competition_sources, kernel_sources, and model_sources in kernel-metadata.json for Kaggle-hosted notebook dependencies. Prefer explicit Kaggle resource identifiers and remove unused sources to reduce ambiguity, mount clutter, and rule-compliance risk.

Dataset and Model Hygiene

  • Confirm licenses and competition rules before using external datasets or pretrained models.
  • Avoid uploading secrets, private labels, cached tokens, or unredacted logs as dataset/model artifacts.
  • Version artifacts intentionally so notebook runs can be reproduced.
  • Document expected mounted paths under /kaggle/input and output paths under /kaggle/working.
  • Validate checksums or file counts for large downloads when reproducibility matters.

Common Patterns

For competition notebooks, attach competition data through metadata and write submissions to /kaggle/working. For reusable training outputs, download notebook outputs or upload model artifacts with kagglehub after checking license/rule constraints. For local experimentation, use kagglehub downloads to populate local cache while keeping notebook code path-compatible with /kaggle/input.

Safety and Limitations

Require confirmation before overwriting uploaded dataset/model versions or making private assets public. Do not claim kagglehub can push notebooks, change kernel metadata, inspect run logs, or delete kernels. Use Kaggle Secrets guidance for sensitive credentials rather than packaging them into datasets, models, or notebooks.

Sources

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

MIT

源路径

plugins/kaggle-master/skills/datasets-models-sources

默认分支

main

最新提交

5a1b112

Tree SHA

376c8e0