xiaoqianran/kaggle-demo / skills
kaggle-cli
VerifiedUse the local Kaggle CLI skill for command guidance, workflows, and troubleshooting across competitions, datasets, kernels/notebooks, models, model variations and versions, inbox file uploads, forums/discussions, benchmarks, configuration, OAuth/API-token authentication, and accelerator quota. Activate this skill when the user asks about kaggle CLI commands, examples, flags, metadata files, download/upload flows, submissions, benchmark tasks, or Kaggle CLI behavior.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.2 KB |
| references/auth.md | markdown | 3.5 KB |
| references/benchmarks.md | markdown | 25.1 KB |
| references/competitions.md | markdown | 11.3 KB |
| references/configuration.md | markdown | 2.7 KB |
| references/datasets.md | markdown | 7.5 KB |
| references/files.md | markdown | 2.0 KB |
| references/forums.md | markdown | 2.9 KB |
| references/kernels.md | markdown | 6.0 KB |
| references/model_variations.md | markdown | 4.2 KB |
| references/model_variations_versions.md | markdown | 3.5 KB |
| references/models.md | markdown | 4.8 KB |
| references/quota.md | markdown | 1.2 KB |
| references/search.md | markdown | 2.4 KB |
references/files.md
View on GitHub# Files CLI Reference
Use `kaggle files` to upload local files or directories to a Kaggle inbox path.
This command is separate from dataset/model/kernel uploads and uses the inbox
file API.
## Prerequisites
- Python 3.11+ with the `kaggle` package installed.
- Kaggle credentials.
- Local filesystem paths to upload.
## Command Hierarchy
```text
kaggle files
└── upload | u
```
## `kaggle files upload`
Uploads one or more local paths to the server inbox.
**Usage:**
```bash
kaggle files upload [options] <LOCAL_PATH> [LOCAL_PATH ...]
```
**Arguments:**
- `<LOCAL_PATH>`: One or more local files or directories. Each path creates a
separate inbox file.
**Options:**
- `-i, --inbox-path <PATH>`: Virtual path on the server where uploaded files are stored.
- `--no-resume`: Skip resumable uploads.
- `--no-compress`: Do not zip directories; upload directories as tar archives.
**Examples:**
```bash
kaggle files upload report.csv
kaggle files upload -i experiments/run-1 output.csv metrics.json
kaggle files upload --no-resume --no-compress local-directory
kaggle files u -i scratch data.zip
```
**Purpose:** Upload arbitrary local files to an inbox location.
## Behavior Details
- The command accepts up to `MAX_NUM_INBOX_FILES_TO_UPLOAD`, currently 1000
local paths.
- Each provided local path is uploaded independently.
- Directory paths are compressed by default as zip archives.
- With `--no-compress`, directory paths are uploaded using tar mode.
- Uploads use resumable upload machinery unless `--no-resume` is set.
- After uploading each blob, the CLI creates an inbox file and prints
`Inbox file created: <name>`.
## Error Scenarios And Notes
- Paths that fail upload are skipped by the upload helper; successfully uploaded
paths still proceed to inbox file creation.
- This command does not create Kaggle Datasets. Use `kaggle datasets create` or
`kaggle datasets version` for dataset uploads.
- This command does not accept `-q/--quiet`; progress/noise behavior comes from
the upload behavior.
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 |