dask

dask is a skill for Claude Code from ualberta-rcg/drac-agent-skills. It costs 58 tokens per session (1,400 once invoked), scanned A, original, MIT.

A Python library for splitting computations into tasks and running them across multiple CPU cores or computers. It works with tables, arrays, text collections, and custom Python functions, including data larger than available memory.

In plain words
What is it for?
Use it for large table or Parquet pipelines, chunked arrays in formats such as Zarr or HDF5, text processing, and parallel parameter sweeps.
Why use it?
It removes the need to manually divide large scientific or data-processing jobs into workers. It can also run workloads on Slurm, a system that schedules jobs on shared research computers.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the community-science plugin — 10 skills shipped together

Good fit Use it for large table or Parquet pipelines, chunked arrays in formats such as Zarr or HDF5, text processing, and parallel parameter sweeps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ualberta-rcg/drac-agent-skills/dask
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ualberta-rcg/drac-agent-skills --skill dask
Clone the repo
git clone --depth 1 https://github.com/ualberta-rcg/drac-agent-skills

Made for: Claude Code.

Or install community-science, the plugin that ships this one along with the rest of its 10 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dask

README.md
[![agentmods](https://agentmods.dev/badge/skills/ualberta-rcg/drac-agent-skills/dask/github.svg)](https://agentmods.dev/skills/ualberta-rcg/drac-agent-skills/dask)
Your own site
<a href="https://agentmods.dev/skills/ualberta-rcg/drac-agent-skills/dask"><img src="https://agentmods.dev/badge/skills/ualberta-rcg/drac-agent-skills/dask/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dask

Your own site · 80×15
<a href="https://agentmods.dev/skills/ualberta-rcg/drac-agent-skills/dask"><img src="https://agentmods.dev/badge/skills/ualberta-rcg/drac-agent-skills/dask.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,400 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.01400
Opus 5.5 $0.00023 $0.00560
Sonnet 5.5 $0.00012 $0.00280
Haiku 4.5 $0.00006 $0.00140

Measured 6d ago against content hash 0f0b8a4df54c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dask scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

community-skills/skills/dask/SKILL.md · 106 lines

How it starts

The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Dask: Out-of-Core & Parallel Scientific Python

Scale NumPy arrays, pandas tables, and custom task graphs across multi-core nodes or larger-than-RAM datasets on $SCRATCH and $SLURM_TMPDIR. Since Dask 2025.1+, expression-based query optimization is built directly into dask.dataframe (never install dask-expr separately).

Component Selection Guide

Workload Dask Collection Best Storage Format
Larger-than-RAM tables / multi-file CSV/Parquet ETL dask.dataframe (dd) Parquet (column pruning + predicate pushdown)
N-dimensional gridded arrays (climate, imaging, simulations) dask.array (da) Zarr or chunked HDF5/NetCDF (pairs with xarray)
Unstructured JSONL / text logs before tabular conversion dask.bag (db) Partitioned .jsonl / .txt -> .to_dataframe()
Dynamic task graphs, parameter sweeps, custom Python objects dask.distributed (Client.submit / map) Explicit inputs/checkpoints on $SCRATCH

Slurm-Safe LocalCluster Setup

Always guard Client / LocalCluster inside if __name__ == "__main__":, match worker/thread counts to SLURM_CPUS_PER_TASK and SLURM_MEM_PER_NODE, and point spill directories to node-local $SLURM_TMPDIR (never /tmp or $HOME):

import os
import dask
from dask.distributed import Client, LocalCluster


def main():
    cpus = int(os.environ.get("SLURM_CPUS_PER_TASK", 4))
    scratch_tmp = os.environ.get("SLURM_TMPDIR", "/tmp")
    dask.config.set({"temporary-directory": scratch_tmp})

    with LocalCluster(
        n_workers=max(1, cpus // 2),
        threads_per_worker=2,
        local_directory=scratch_tmp,
    ) as cluster, Client(cluster) as client:
        print("Dashboard:", client.dashboard_link)
        # Run Dask computations here
        ...


if __name__ == "__main__":
    main()

(For multi-node Slurm jobs, use dask_jobqueue.SLURMCluster or dask-mpi inside an allocation.)

Core Patterns & Critical Performance Rules

Read the full file on GitHub · 106 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 106 lines · 58 tokens per session scan A 0f0b8a4df54c

Subscribe to this mod's changes

dask is a skill published in the GitHub repository ualberta-rcg/drac-agent-skills (2 stars, last pushed 7d ago), licensed MIT. It adds 58 tokens to every session and 1,400 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-25.

Related

dask compared with skills from other repositories

dask next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
daskualberta-rcg/drac-agent-skillsSkill27d agoMITA58Claude Code
jupyter-notebookNousResearch/hermes-agentSkill267ktodayMITA18Claude Code, Codex
matlabK-Dense-AI/scientific-agent-skillsSkill59kyesterdayMITA44Claude Code
pennylaneK-Dense-AI/scientific-agent-skillsSkill59kyesterdayMITA74Claude Code
cuequivariance-torchNVIDIA/skillsSkill4.2ktodayApache-2.0A37Claude Code, Codex
cuequivariance-jaxNVIDIA/skillsSkill4.2ktodayApache-2.0A38Claude Code, Codex
cuopt-numerical-optimization-apiNVIDIA/skillsSkill4.2ktodayApache-2.0A51Claude Code, Codex