executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
bag-bytes-workflowsUse for Dask Bag, dask.bytes, text/byte IO, JSON-like records, Avro, fsspec storage, compression, foldby/frequencies, and small-file deterministic workflows.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when an agent needs to build, debug, or explain Dask workflows around unordered Python objects, text lines, byte blocks, semi-structured records, and filesystem-backed small-file pipelines.
dask.bag.from_sequence, read_text, read_avro, from_delayed, concat, map, and map_partitions.dask.bag or dask.bytes.frequencies, fold, foldby, distinct, topk, and count without forcing dataframe shuffles too early.dask.dataframe with explicit meta, or to per-partition delayed values for custom outputs.storage_options, optional Avro dependencies, ordering surprises, and heterogeneous records.dataframe-workflows for dataframe-first analytics, joins, parquet/CSV dataframe IO, divisions, and dataframe groupby/shuffle tuning.core-graphs-schedulers for generic task graph, delayed, scheduler, compute, persist, and graph-optimization questions.configuration-diagnostics-cli for Dask configuration, CLI, diagnostics, dashboard, and environment-level reporting.references/api-reference.md for public bag/bytes APIs and when to choose each one.references/io-and-data-formats.md for text, bytes, fsspec URLs, compression, Avro, and storage behavior.references/workflows.md for practical recipes, including malformed JSON rows and explicit dataframe metadata.references/troubleshooting.md for common failures and fixes.Run python scripts/bag_text_smoke.py --help to inspect options. Run python scripts/bag_text_smoke.py to create a temporary newline-JSON fixture, parse it through Dask Bag, tolerate malformed rows, count records by status, convert to a dataframe with explicit meta, and clean up automatically.
compute() or persist() while defining collection transformations unless the user explicitly wants a local result.foldby over groupby for per-key reductions because groupby performs a full shuffle.meta to Bag.to_dataframe for heterogeneous records, empty first partitions, or production code where inference would be expensive or incorrect.blocksize=None for compressed text/bytes unless the compression format supports random access; chunked reads on typical gzip/bz2/xz streams fail or behave poorly.