dask
Skill15 starsChanged 43 days agoMITView on GitHub
Expert Dask distributed computing assistance covering Dask DataFrames, Arrays, Futures, and cluster scaling. Use when analyzing datasets too large for pandas on a single machine or multi-node cluster.
14 other projects use a version of this.
Adopted by
Most recently taken up by
- BrightGold70/skillstheir own version, first seen Nov 8, 2026
- MarieLynneBlock/arcanum-artifextheir own version, first seen Nov 1, 2026
- davidanthonyn/claude-skillstheir own version, first seen Oct 20, 2026
- patoangolano/bio-stacktheir own version, first seen Oct 15, 2026
- Luooops/skillstheir own version, first seen Oct 13, 2026
- garri333/Skillstheir own version, first seen Oct 11, 2026
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- wu-yc/LabClaw★ 1.1ksame name
- LeonChaoX/qinyan-academic-skills★ 910same name
- qinyan-ai/qinyan-academic-skills★ 80same name
- Barrios88/barrios-skills★ 63same name
- tondevrel/scientific-agent-skills★ 22same name
- MarieLynneBlock/arcanum-artifex★ 4same name
- JunMA98/Computer-science-claude-skills★ 3same name
- BrightGold70/skills★ 1same name
- garri333/Skills★ 1same name
- Luooops/skills★ 1same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository350 other files it gives its agents.
- airflowSkill
- catboostSkill
- claudeSkill
- comfyuiSkill
- cursor-aiSkill
- dalleSkill
- dbtSkill
- deepseekSkill
- fastaiSkill
- geminiSkill
- github-copilotSkill
- huggingfaceSkill
- jaxSkill
- jupyterSkill
- kerasSkill
- langchainSkill
- lightgbmSkill
- llamaindexSkill
- llamaSkill
- matplotlibSkill
- midjourneySkill
- mistralSkill
- mlflowSkill
- nltkSkill
- numpySkill
- ollamaSkill
- openai-gptSkill
- opencvSkill
- pandasSkill
- perplexitySkill
- plotlySkill
- polarsSkill
- pytorchSkill
- raySkill
- scikit-learnSkill
- seabornSkill
- spacySkill
- sparkSkill
- stable-diffusionSkill
- tensorflowSkill
- vaexSkill
- weights-biasesSkill
- whisperSkill
- xgboostSkill
- api-gatewaySkill
- clean-architectureSkill
- cqrsSkill
- domain-driven-designSkill
- event-drivenSkill
- event-sourcingSkill
- graphqlSkill
- grpcSkill
- hexagonalSkill
- microservicesSkill
- modular-monolithSkill
- monolithSkill
- rest-apiSkill
- sagaSkill
- serverlessSkill
- service-meshSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 118
Use the Dask Distributed Client with asynchronous futures:
- Distinctive: line 138
Check the Dask Web Dashboard (typically on port 8787) to monitor memory pressure, task streams, and bottlenecks.
- Very specific: line 145
Call .compute() inside loops.
- Distinctive: line 146
Use Dask if data fits comfortably in RAM.
- Distinctive: line 147
Create millions of tiny delayed tasks.
“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dask
Dask provides distributed computing in Python, mirroring familiar NumPy, Pandas, and Scikit-learn APIs with dynamic task scheduling, high-performance shuffles, and GPU acceleration.
When to Use
- Larger-than-Memory Tabular Computation: Processing 10GB-1TB CSV/Parquet datasets on a single machine or multi-node cluster.
- Parallelizing Custom Python Workflows: Using
dask.delayedto parallelize arbitrary Python loops and task graphs. - Distributed Machine Learning: Integrating with Scikit-learn, XGBoost, and LightGBM across distributed worker nodes.
- NumPy & Pandas Scaling: Drop-in familiar APIs for out-of-core array and DataFrame calculations.
Quick Start
import dask.dataframe as dd
# Read multi-gigabyte partitioned CSV files lazily
df = dd.read_csv('data/transactions_*.csv')
# Compute aggregated statistics in parallel across all CPU cores
result = df.groupby('category').amount.mean().compute()
print(result)Core Concepts
Out-of-Core Processing with Dask DataFrame
Loading partitioned Parquet files and computing aggregations lazily:
import dask.dataframe as dd
from dask.distributed import Client
# Initialize local distributed cluster
client = Client(n_workers=4, threads_per_worker=2, memory_limit='4GB')
print(f"Dask Dashboard running at: {client.dashboard_link}")
# Lazy load multi-file dataset
df = dd.read_parquet(
's3://analytics-bucket/transactions/*.parquet',
columns=['customer_id', 'amount', 'status', 'country'],
engine='pyarrow'
)
# Build computational graph lazily
filtered = df[df['status'] == 'completed']
metrics = filtered.groupby('country')['amount'].agg(['mean', 'sum', 'count'])
# Execute graph and return concrete Pandas DataFrame
result_df = metrics.compute()
print(result_df)Custom Task Graphs with dask.delayed
Parallelizing independent function executions:
from dask import delayed, compute
import time
@delayed
def fetch_api_data(endpoint: str) -> dict:
time.sleep(0.5) # Simulating I/O
return {'endpoint': endpoint, 'status': 200, 'items': [1, 2, 3]}
@delayed
def transform_payload(data: dict) -> int:
return sum(data['items'])
@delayed
def aggregate_totals(totals: list[int]) -> int:
return sum(totals)
# Construct dependency DAG
endpoints = ['users', 'orders', 'inventory', 'payments']
fetched = [fetch_api_data(ep) for ep in endpoints]
transformed = [transform_payload(f) for f in fetched]
final_total = aggregate_totals(transformed)
# Execute all tasks in parallel across the cluster
total_result = final_total.compute()
print("Grand Total:", total_result)Dask Array for Distributed Linear Algebra
Manipulating massive multi-dimensional arrays:
import dask.array as da
# Create a 50,000 x 50,000 array split into 5,000 x 5,000 chunks
x = da.random.normal(10, 0.1, size=(50000, 50000), chunks=(5000, 5000))
# Perform calculations lazily
y = x + x.T
z = y[::2, ::2].mean(axis=0)
# Compute result
result = z.compute()
print("Computed array mean shape:", result.shape)Common Patterns
Distributed Futures for Irregular Parallel Task Graphs
Problem: Custom parallel computations that don't fit neatly into DataFrame/Array row/column structures.
Solution: Use the Dask Distributed Client with asynchronous futures:
from dask.distributed import Client
client = Client(n_workers=4, threads_per_worker=2)
def train_partition(part_id: int):
# Train local sub-model
return f"Model {part_id} trained"
futures = [client.submit(train_partition, i) for i in range(10)]
results = client.gather(futures)
print(results)Best Practices
Do:
- Check the Dask Web Dashboard (typically on port 8787) to monitor memory pressure, task streams, and bottlenecks.
- Choose chunk sizes between 100MB and 300MB in memory for optimal parallel efficiency.
- Persist intermediate DataFrames (
df = df.persist()) when querying the same transformed data repeatedly. - Filter columns and rows early using column projections and predicate pushdown.
Don't:
- Call
.compute()inside loops; build the complete task graph and callcompute()once. - Use Dask if data fits comfortably in RAM; native Pandas and Polars are significantly faster for in-memory tasks.
- Create millions of tiny delayed tasks; excessive task overhead degrades scheduler performance.
Troubleshooting
| Error | Cause | Solution |
KilledWorker: Worker exceeded 95% memory budget | Task partition too large to fit in worker RAM during compute. | Increase number of partitions: df.repartition(npartitions=100). |
UserWarning: Sending large object to workers | Large NumPy array or DataFrame passed as direct function argument. | Scatter data once with client.scatter(data) before submitting tasks. |
Slow compute: Too many tiny tasks | Thousands of micro-partitions causing task scheduling overhead. | Merge small partitions using repartition(partition_size="100MB"). |
References
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

