dask
Skill by davila7
Guides the assistant through Dask, a Python library for parallel and distributed computing. It helps scale pandas and NumPy style work to datasets larger than memory.
Install dask
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/dask ~/.claude/skills/daskRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/dask ~/.gemini/antigravity-cli/skills/daskAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Dask is a Python library for parallel and distributed computing that scales pandas and NumPy style code beyond available memory. It covers DataFrames for parallel pandas operations, Arrays for parallel NumPy operations, Bags for unstructured data such as text, JSON and logs, Futures for task-based workflows, and Schedulers for choosing how tasks run. The skill points to reference files for each component and for best practices.
The source describes lazy evaluation, where operations build a task graph until compute() is called. It recommends Parquet over CSV, chunk sizes near 100 MB, and avoiding repeated compute() calls. It is aimed at users with datasets larger than RAM, or workloads that need parallel processing on one machine or across a cluster.
Written from the project's SKILL.md and checked against it.
What it can do
- DataFramesRuns parallel pandas-style operations, including reading many files with glob patterns.
- ArraysRuns blocked, parallel NumPy-style operations on arrays larger than memory.
- BagsProcesses text, JSON and log data with functional operations, then converts to DataFrames.
- FuturesSubmits tasks for immediate, task-based parallel execution with dependencies.
- SchedulersChooses between threads, processes, synchronous and distributed execution.
- Best practicesGives performance rules such as chunk sizing and avoiding repeated compute calls.
What you need
- Python
Try asking
- Read all the 2024 CSV files in data/ as one Dask DataFrame and group by category.
- Turn this large NumPy workload into a chunked Dask array and compute the mean.
- Parse these JSON log files with Dask Bag and keep only the valid records.
Good to know
- Futures has about 1 ms overhead per task, so it is not suitable for millions of tiny tasks.
- CSV is compatible but slower and is meant for initial ingestion only.
- Loading data with pandas first and passing it to Dask is listed as a wrong pattern.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cli-tool/components/skills/scientific/dask/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md14 KB -
references/arrays.md11 KB -
references/bags.md11 KB -
references/best-practices.md7 KB -
references/dataframes.md9 KB
Show all 7 files
-
references/futures.md12 KB -
references/schedulers.md11 KB
Alternatives to dask
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
dask: common questions
What is Dask used for?
The source describes Dask as a Python library for parallel and distributed computing. It is used to process data larger than RAM and to speed up computations across cores or machines.
Which file formats does the source recommend?
Parquet, HDF5 and Zarr are described as efficient, columnar, compressed and parallel-friendly. CSV is listed as compatible but slower.
When should I choose the distributed scheduler?
The source recommends it when you need the monitoring dashboard, multi-machine clusters or advanced features.
How do I install dask?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is dask free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is dask safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to dask?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
