Skip to main content
Arka includes a kaggle skill for downloading and searching Kaggle datasets. It uses the official Kaggle API via the kaggle CLI (preferred) or the Python kaggle package.

Quick examples

Natural language also works:
Or via the CLI subcommand:

Commands

Credentials

Kaggle requires an API token. Create one at kaggle.com/settings (Account → API → Create New Token). Option A — environment variables (recommended for Arka):
Add these to ~/.config/arka/.env. Option B — kaggle.json (standard Kaggle layout):
Run kaggle status to verify credentials before downloading.

Without API keys

The official Kaggle API requires credentials. If you do not have an API token yet, you can still open a dataset page in your browser and download files manually from the Kaggle website.
Natural language:
You can also pass --open (or --browser) on download to open the page instead of failing when credentials are missing:
If you run kaggle download or kaggle search without credentials, Arka prints a short message suggesting kaggle open owner/dataset for manual download.

API approach

The skill prefers the kaggle CLI if it is on PATH:
If the CLI is not installed, it falls back to the Python kaggle package:
See also: Generate data