Agent skill

Datasets Io Utils

by VectorSpaceLab in VectorSpaceLab/AREX-Skill

Use this sub-skill when constructing torchvision datasets, validating dataset roots and downloads, wrapping datasets for transforms v2, decoding or encoding images with torchvision.io, or using…

BSD-3-ClauseAuto-check passedAI & LLM Engineering

Install Datasets Io Utils

skills CLI
$ npx skills add VectorSpaceLab/AREX-Skill --skill datasets-io-utils -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install VectorSpaceLab/AREX-Skill datasets-io-utils --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/repositories/repo-skills/torchvision/sub-skills/datasets-io-utils .claude/skills/datasets-io-utils && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
datasets-io-utils
GitHub stars
331
Token cost
~760 tokens
SKILL.md length
282 words
Files
5 (incl. scripts, references)
Skills in repo
157
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Use this sub-skill when constructing torchvision datasets, validating dataset roots and downloads, wrapping datasets for transforms v2, decoding or encoding images with torchvision.io, or using…

  • AI & LLM Engineering work in your project
  • SKILL.md covers Route by task, Quick safe check, Hard cases this sub-skill… and Boundaries
  • Runs Python scripts from its folder; calls python

What it does

Datasets Io Utils is an agent skill from VectorSpaceLab/AREX-Skill. Use this sub-skill when constructing torchvision datasets, validating dataset roots and downloads, wrapping datasets for transforms v2, decoding or encoding images with torchvision.io, or using torchvision.utils visualization helpers.

Its SKILL.md is about 760 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `references/datasets-and-data-roots.md`, `references/io-and-visualization.md` and `references/troubleshooting.md`).

It sits in AI & LLM Engineering. It works with PyTorch. The repository describes itself as: A Skill Library for Automated Machine Learning. The licence is BSD-3-Clause.

When your agent uses it

  • AI & LLM Engineering work in your project

Example prompts

  • “/datasets-io-utils”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit ac3fe1a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Datasets Io Utils loads about 760 tokens when it runs, and up to ~5.1k if it reads all its reference files. Until then it costs about 63 tokens; SKILL.md has 282 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~760
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from VectorSpaceLab/AREX-Skill at commit ac3fe1a, republished under its BSD-3-Clause licence (© VectorSpaceLab). 282 words, ~760 tokens.

Download SKILL.mdSave it as .claude/skills/datasets-io-utils/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
datasets-io-utils
description
Use this sub-skill when constructing torchvision datasets, validating dataset roots and downloads, wrapping datasets for transforms v2, decoding or encoding images with torchvision.io, or using torchvision.utils visualization helpers.
disable-model-invocation
true
metadata.disco-role
operating
license
BSD 3-Clause

TorchVision Datasets, IO, and Utilities

Use this sub-skill for data ingress and small visual checks in TorchVision workflows: built-in datasets, custom VisionDataset / ImageFolder / DatasetFolder code, safe data roots, wrap_dataset_for_transforms_v2, image decode/encode APIs, and torchvision.utils drawing helpers.

Route by task

  • Dataset construction or root layout: use references/datasets-and-data-roots.md for built-in family selection, ImageFolder/DatasetFolder conventions, FakeData, and no-network smoke fixtures.
  • Transforms v2 dataset wrapping: start here for wrap_dataset_for_transforms_v2 dataset support and target-shape expectations, then route transform pipeline internals to ../transforms-and-tv-tensors/.
  • Image IO and visualization: use references/io-and-visualization.md for decode_image, read_file, encoders/writers, make_grid, draw_bounding_boxes, draw_segmentation_masks, draw_keypoints, and flow_to_image.
  • Failures and warnings: use references/troubleshooting.md for download races, root layout mistakes, image extension or codec failures, dtype/channel mistakes, video/TorchCodec migration, and visualization label/color errors.
  • Model inference or weight preprocessing: route to ../models-and-weights/; this sub-skill only covers loading/decoding/visualizing data around those workflows.

Quick safe check

Run the bundled script when an agent needs to verify local TorchVision dataset, image IO, and utility surfaces without network access:

bash
python sub-skills/datasets-io-utils/scripts/check_dataset_io.py

The script creates a temporary two-class ImageFolder fixture, uses FakeData, attempts torchvision.io PNG round-trip if the image extension is available, and exercises make_grid plus draw_bounding_boxes.

Hard cases this sub-skill supports

  • Build a tiny ImageFolder fixture, validate class discovery/order, attach a transform, and verify tensors without downloading real data.
  • Diagnose image decode failures by separating path/layout errors, missing image extension support, optional AVIF/HEIC decoder requirements, and PIL fallback options.

Boundaries

  • Do not put augmentation policy details here; link to ../transforms-and-tv-tensors/ for v2 pipelines, TVTensor metadata, bounding-box transform semantics, and dtype/range conversion details.
  • Do not cover model output interpretation beyond visualization input requirements; link to ../models-and-weights/ or ../ops-and-detection/ as appropriate.
  • Treat legacy C++ IO examples as reference-only gaps; prefer public Python torchvision.io and TorchCodec migration guidance.

© VectorSpaceLab, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references) in skills/repositories/repo-skills/torchvision/sub-skills/datasets-io-utils of VectorSpaceLab/AREX-Skill.

  • SKILL.md
  • references/datasets-and-data-roots.md
  • references/io-and-visualization.md
  • references/troubleshooting.md
  • scripts/check_dataset_io.py

Open the folder on GitHubat commit ac3fe1a

Compare with similar skills

Datasets Io Utils next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Datasets Io Utils compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Datasets Io Utils this skillVectorSpaceLab/AREX-Skill331—~760Automated safety check: PassBSD-3-Clause
Add Uint Supportpytorch/pytorch104k2 repos~2.3kAutomated safety check: PassCustom licence
CLIP Image-Text MatchingOrchestra-Research/AI-Research-SKILLs13k7 repos~1.7kAutomated safety check: PassMIT
Add Torch Shapes Examplefacebook/pyrefly7.1k—~1.3kAutomated safety check: PassMIT
MUSA GPU Training Optimizeropen-infra-skills/infra-skills141—~1.7kAutomated safety check: PassApache-2.0
Ghstack CIpytorch/pytorch104k—~1.4kAutomated safety check: PassCustom licence

Similar skills

  • Add Uint Support

    pytorch/pytorch

    Add unsigned integer (uint) type support to PyTorch operators by updating ATDISPATCH macros.

    104k GitHub starsUsed in 2 repos~2.3k tokens
    AI & LLM EngineeringAuto-check passed
  • CLIP Image-Text Matching

    Orchestra-Research/AI-Research-SKILLs

    Explains OpenAI's CLIP model for zero-shot image classification, image-text similarity, semantic image search and content moderation, with install steps and code patterns.

    13k GitHub starsUsed in 7 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Add Torch Shapes Example

    facebook/pyrefly

    Official

    A skill your agent uses when adding a new PyTorch model to Pyrefly's shape-tracking example corpus under tensor-shapes/pyrefly-torch-stubs/examples — i.e.

    7.1k GitHub stars~1.3k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • MUSA GPU Training Optimizer

    open-infra-skills/infra-skills

    Profiles, benchmarks and tunes AI training workloads on Moore Threads MUSA GPUs with a measurement-first process that keeps model behavior unchanged.

    141 GitHub stars~1.7k tokensUpdated 3 mo ago
    AI & LLM EngineeringAuto-check passed
  • Ghstack CI

    pytorch/pytorch

    Manage CI for PyTorch ghstack stacks by running CI where its results are useful now and deferring other PRs with [no-ci].

    104k GitHub stars~1.4k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Depth Estimation

    SharpAI/DeepCamera

    Real-time depth map privacy transforms using Depth Anything v2 (CoreML + PyTorch)

    3.1k GitHub stars~945 tokensUpdated 23 days ago
    AI & LLM EngineeringAuto-check passed

More from VectorSpaceLab/AREX-Skill

All 157 skills in this repo
  • Agent Lightning

    VectorSpaceLab/AREX-Skill

    Use this repo skill for Agent Lightning package tasks: authoring trainable agents, tracing rewards and spans, running LightningStore/Trainer loops, using agl CLI services, choosing examples, and…

    331 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Agent Tools

    VectorSpaceLab/AREX-Skill

    A skill your agent uses when configuring LiteLLM for MCP tools, A2A agents, Claude Code/Cursor agent gateway traffic, MCP auth/OAuth, tool permissions, semantic filtering, or agent-specific proxy…

    331 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Agents And Awel

    VectorSpaceLab/AREX-Skill

    Build and debug DB-GPT agents, tools, skills, teams, and AWEL workflows, including deterministic local DAG runs and HTTP-trigger topology without assuming an LLM, credential, or external service.

    331 GitHub stars~2.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Agents And Middleware

    VectorSpaceLab/AREX-Skill

    Work on the actively maintained LangChain v1 agent package: initchatmodel, createagent, structured output, tools, middleware, embeddings initialization, provider routing, and agent runtime…

    331 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Agents Workflows

    VectorSpaceLab/AREX-Skill

    A skill your agent uses for giskard.agents async chat workflows, tools, prompt templates, structured outputs, retries, rate limiting, embeddings, and optional LiteLLM backend.

    331 GitHub stars~500 tokensUpdated 1 mo ago
    Auto-check passed
  • Alphafold3

    VectorSpaceLab/AREX-Skill

    A skill your agent uses for AlphaFold 3 input preparation, prediction command planning, output interpretation, and Python API inspection.

    331 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Datasets Io Utils

What does Datasets Io Utils do?

Use this sub-skill when constructing torchvision datasets, validating dataset roots and downloads, wrapping datasets for transforms v2, decoding or encoding images with torchvision.io, or using…. Datasets Io Utils is an agent skill from VectorSpaceLab/AREX-Skill.utils visualization helpers.

When should I use Datasets Io Utils?

Datasets Io Utils fits situations like: AI & LLM Engineering work in your project.

How do I install Datasets Io Utils in Claude Code?

Run `npx skills add VectorSpaceLab/AREX-Skill --skill datasets-io-utils -a claude-code`. Or copy the skill folder (skills/repositories/repo-skills/torchvision/sub-skills/datasets-io-utils in VectorSpaceLab/AREX-Skill) into .claude/skills/datasets-io-utils in your project. Claude Code loads it when a task matches its description.

How do I install Datasets Io Utils in Codex?

Run `npx skills add VectorSpaceLab/AREX-Skill --skill datasets-io-utils -a codex`. Or copy the skill folder (skills/repositories/repo-skills/torchvision/sub-skills/datasets-io-utils in VectorSpaceLab/AREX-Skill) into .agents/skills/datasets-io-utils in your project. Codex loads it when a task matches its description.

Can I use Datasets Io Utils in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add VectorSpaceLab/AREX-Skill --skill datasets-io-utils -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/datasets-io-utils, .gemini/skills/datasets-io-utils, .github/skills/datasets-io-utils and .opencode/skills/datasets-io-utils in your project.

What does Datasets Io Utils need to run?

Going by SKILL.md and its folder, Datasets Io Utils needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Datasets Io Utils access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Datasets Io Utils safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Datasets Io Utils use?

Datasets Io Utils is published under the BSD-3-Clause licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Datasets Io Utils use?

About 760 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.3k tokens, read only when the agent opens those files.

What are the alternatives to Datasets Io Utils?

Skills that share tags, products or a category with Datasets Io Utils: Add Uint Support (pytorch/pytorch, 104k stars), CLIP Image-Text Matching (Orchestra-Research/AI-Research-SKILLs, 13k stars), Add Torch Shapes Example (facebook/pyrefly, 7.1k stars) and MUSA GPU Training Optimizer (open-infra-skills/infra-skills, 141 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Datasets Io Utils?

VectorSpaceLab (a GitHub organization) maintains it in VectorSpaceLab/AREX-Skill, which has 331 GitHub stars. The repository holds 157 skills in this directory. The repository was last updated on September 3, 2026.

Source: VectorSpaceLab/AREX-Skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.