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/configuration.md
View on GitHub# Configuration CLI Reference
Use `kaggle config` to view, set, and unset local Kaggle CLI configuration. The
CLI reads config from a JSON file plus `KAGGLE_` environment variables.
## Prerequisites
- Python 3.11+ with the `kaggle` package installed.
- Write access to the Kaggle config directory when setting or unsetting values.
## Command Hierarchy
```text
kaggle config
├── view
├── set
└── unset
```
## Configuration File Location
- If `KAGGLE_CONFIG_DIR` is set, the CLI uses that directory.
- Otherwise it normally uses `~/.kaggle`.
- On Linux, when `~/.kaggle` does not exist, it follows the XDG config path:
`${XDG_CONFIG_HOME:-~/.config}/kaggle`.
- The config file name is `kaggle.json`.
- Newly created config files are chmodded to `0600`.
- Environment variables beginning with `KAGGLE_` are merged into config values
after file values are read.
## `kaggle config view`
Prints current config values.
**Usage:**
```bash
kaggle config view
```
**Options:**
- None.
**Examples:**
```bash
kaggle config view
```
**Purpose:** Inspect configured username, auth method, path, proxy, and default
competition.
## `kaggle config set`
Sets a configuration value.
**Usage:**
```bash
kaggle config set -n <NAME> -v <VALUE>
```
**Options:**
- `-n, --name <NAME>`: Config key.
- `-v, --value <VALUE>`: Config value.
**Common names:**
- `competition`: Default competition slug.
- `path`: Default download folder.
- `proxy`: Proxy for HTTP requests.
**Examples:**
```bash
kaggle config set -n competition -v titanic
kaggle config set -n path -v /tmp/kaggle-downloads
kaggle config set -n proxy -v http://proxy.example:8080
```
**Purpose:** Persist default values used by other commands.
## `kaggle config unset`
Removes a configuration value from the config file.
**Usage:**
```bash
kaggle config unset -n <NAME>
```
**Options:**
- `-n, --name <NAME>`: Config key to remove.
**Examples:**
```bash
kaggle config unset -n competition
```
**Purpose:** Clear a persisted default and return to fallback behavior.
## Behavior Details
- `set` updates both the in-memory config and the JSON config file.
- `unset` removes a key only from the config file; environment variables can
still provide a value on the next load.
- Download commands use configured `path` as the base default when no explicit
path is provided.
- Competition commands that accept optional competition slugs can use configured
`competition` as the default.
## Notes
- CLI help text names `competition`, `path`, and `proxy` as valid config names.
Authentication-related keys may also appear in config output.
- If the config file is world-readable on non-Windows systems, the CLI prints a
permissions warning.
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 |