albumentations
Build, debug, serialize, and integrate Albumentations 2.x augmentation pipelines for images, masks, bboxes, keypoints, volumes, and PyTorch-style datasets.
Skill by VectorSpaceLab
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/vectorspacelab-albumentations
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/albumentations
What's inside
- Skill name
albumentations- Description
- Build, debug, serialize, and integrate Albumentations 2.x augmentation pipelines for images, masks, bboxes, keypoints, volumes, and PyTorch-style datasets.
- License
- MIT
- Metadata
- disco-role: operating
- Instructions
- 78 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (30)
- SKILL.md
- installation-and-maintenance.md · references/
- repo-provenance.md · references/
- repo-routing-metadata.json · references/
- troubleshooting.md · references/
- albumentations_smoke_check.py · scripts/
- SKILL.md · sub-skills/framework-integration/
- optional-dependencies.md · sub-skills/framework-integration/references/
- pytorch-integration.md · sub-skills/framework-integration/references/
- troubleshooting.md · sub-skills/framework-integration/references/
- pytorch_dataset_template.py · sub-skills/framework-integration/scripts/
- SKILL.md · sub-skills/pipeline-composition/
- composition-api.md · sub-skills/pipeline-composition/references/
- troubleshooting.md · sub-skills/pipeline-composition/references/
- check_pipeline_contract.py · sub-skills/pipeline-composition/scripts/
- SKILL.md · sub-skills/serialization-and-reproducibility/
- reproducibility.md · sub-skills/serialization-and-reproducibility/references/
- serialization-api.md · sub-skills/serialization-and-reproducibility/references/
- troubleshooting.md · sub-skills/serialization-and-reproducibility/references/
- roundtrip_pipeline.py · sub-skills/serialization-and-reproducibility/scripts/
- SKILL.md · sub-skills/targets-and-formats/
- data-formats.md · sub-skills/targets-and-formats/references/
- target-recipes.md · sub-skills/targets-and-formats/references/
- troubleshooting.md · sub-skills/targets-and-formats/references/
- validate_targets.py · sub-skills/targets-and-formats/scripts/
- SKILL.md · sub-skills/transform-catalog/
- recipes.md · sub-skills/transform-catalog/references/
- transform-reference.md · sub-skills/transform-catalog/references/
- troubleshooting.md · sub-skills/transform-catalog/references/
- transform_probe.py · sub-skills/transform-catalog/scripts/
SKILL.md (first lines)
# Albumentations Repo Skill
Use this skill when a coding agent needs to work with Albumentations 2.x augmentation pipelines, choose transforms, validate targets, serialize/replay pipelines, or integrate augmentations into PyTorch-style data loading.
Albumentations is a NumPy/OpenCV-based augmentation library for computer vision and medical-imaging workflows. This skill covers the MIT-licensed `albumentations` package at version `2.0.8`. The upstream README states that the original Albumentations repository is no longer maintained and points users to AlbumentationsX for active development; keep that maintenance status in mind when recommending new dependencies or migrations.
## Quick Start
For deterministic/offline agent checks, suppress the package's import-time update check:
```bash
NO_ALBUMENTATIONS_UPDATE=1 python - <<'PY'
import albumentations as A
print(A.__version__)
PY
```
Minimal image pipeline:
```python
import albumentations as A
transform = A.Compose(
[
A.Resize(256, 256),
A.HorizontalFlip(p=0.5),
A.RandomBrightnessContrast(p=0.2),
],
strict=True,
seed=137,
)
result = transform(image=image_np)
augmented = result["image"]
```
Install the base package for NumPy/OpenCV augmentation:
```bash
pip install albumentations
```
Install optional integrations only when needed:
```bash
pip install "albumentations[pytorch]" # ToTensorV2 / ToTensor3D
pip install "albumentations[hub]" # Hugging Face Hub helpers
pip install "albumentations[text]" # text rendering helpers
```
## Route By Task
- Use `sub-skills/pipeline-composition/` to build or debug `Compose`, `ReplayCompose`, `OneOf`, `SomeOf`, `RandomOrder`, `Sequential`, `OneOrOther`, `SelectiveChannelTransform`, strict validation, additional targets, seeds, and pipeline operator edits.
- Use `sub-skills/transform-catalog/` to choose transform families and parameters for pixel/color/noise/blur, crop/resize/pad/geometric, dropout, domain adaptation, spectrogram, text, and segmentation-safe pipelines.
- Use `sub-skills/targets-and-formats/` to handle input/output keys, masks, bboxes, keypoints, labels, additional targets, multiple images, volumes, and 3D masks.
- Use `sub-skills/serialization-and-reproducibility/` to save/load JSON or YAML configs, replay exact random choices, inspect applied parameters, handle custom `Lambda` objects, and reason about reproducibility.
- Use `sub-skills/framework-integration/` for PyTorch-style `Dataset` integration, `ToTensorV2`, `ToTensor3D`, optional extras, tensor shapes, dtype/range expectations, and DataLoader worker seeding.
## Shared References And Helpers
- `references/installation-and-maintenance.md`: package version, Python/dependency expectations, optional extras, maintenance status, and import/update-check behavior.
- `references/troubleshooting.md`: cross-cutting install/import, OpenCV, optional dependency, offline, validation, and migration troubleshooting.
- `references/repo-provenance.md`: source snapshot, evidence paths, and refresh baseline for staleness checks.
- `scripts/albumentations_smoke_check.py`: tiny safe import and pipeline smoke check for installed environments.
## Common Decision Points
- Keep images as NumPy arrays in `H,W,C` until a final framework tensor transform; route tensor issues to `framework-integration`.
- Use `strict=True` while developing pipelines to catch unknown keys and invalid transform arguments early; route Compose-level validation to `pipeline-composition`.
- Declare `bbox_params` and `keypoint_params` on `Compose` whenever calls include `bboxes` or `keypoints`; route coordinate issues to `targets-and-formats`.
- For segmentation masks, prefer nearest-neighbor mask interpolation and explicit `fill_mask`; route transform support decisions to `transform-catalog`.
- For reproducible debugging, use `seed`, `ReplayCompose`, or `save_applied_params=True` depending on whether you need repeatable streams, exact replay, or sampled-parameter inspection.
- Do not assume optional PyTorch, Hub, or text helpers are available from a base install; check extras and imports first.
## Safety And Self-Containment
This generated skill is self-contained. Runtime instructions, references, and helper scripts live inside this skill directory and do not require opening the original repository checkout. Treat original tests and source files as provenance evidence only; use the bundled sub-skills and helpers for future work.From VectorSpaceLab/AREX-Skill, MIT.
More from VectorSpaceLab/AREX-Skill
- 0.563score
data-designer-repo-skill
VectorSpaceLab
Use when you need to design DataDesigner configs, run preview/create/validate workflows, inspect the CLI or agent context, work with plugins or MCP tools, or…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
everos
VectorSpaceLab
Use this skill for EverOS local-first Markdown memory service setup, HTTP memory and knowledge APIs, cascade/OME operations, and observability integration.
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
bentoml
VectorSpaceLab
Use BentoML to author model-serving Services, build and containerize Bentos, run HTTP/gRPC servers and clients, manage models, operate the CLI and BentoCloud…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dash
VectorSpaceLab
Use when building, debugging, testing, or maintaining Plotly Dash applications, callbacks, server backends, component packages, renderer internals, and Dash…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
diffusers
VectorSpaceLab
Use this skill for Hugging Face Diffusers tasks: pipeline inference, schedulers, adapters/loaders, training recipes, modular pipelines, conversion helpers…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
espnet
VectorSpaceLab
Use when working with ESPnet speech AI toolkit: installation, ESPnet2 recipes and training, pretrained inference/model zoo, ESPnet3 stage workflows, and…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
alphafold3
VectorSpaceLab
Use this skill for AlphaFold 3 input preparation, prediction command planning, output interpretation, and Python API inspection.
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
autogen
VectorSpaceLab
Use this skill for maintaining, migrating, debugging, and safely operating Microsoft AutoGen Python 0.7.x applications, including AgentChat, Core runtimes…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
browser-use
VectorSpaceLab
Use this self-contained Browser Use repo skill for Python agents that automate websites, browser sessions, custom tools, LLM/provider setup, persistent CLI…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dagster
VectorSpaceLab
Use when working with Dagster OSS: assets, jobs, Definitions, config/resources, schedules/sensors, automation, CLI/local development, deployment operations…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
datasets
VectorSpaceLab
Use this skill when working with Hugging Face Datasets: loading local or Hub datasets, defining Features schemas, processing/streaming datasets, converting…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
geopandas
VectorSpaceLab
Use when working with GeoPandas GeoDataFrame and GeoSeries workflows, vector geospatial I/O, CRS-aware spatial operations, mapping, geocoding, and…
SkillBFreshness: B★ 341Claude Code +9
Signals
- Stars
- 341
- Forks
- 26
- Open issues
- 0
- Last commit (this folder)
- Aug 26, 2026 (2 months ago)
- Last release
- Sep 2, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/VectorSpaceLab/AREX-Skill
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from VectorSpaceLab
- 0.563score
bentoml
VectorSpaceLab
Use BentoML to author model-serving Services, build and containerize Bentos, run HTTP/gRPC servers and clients, manage models, operate the CLI and BentoCloud…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dagster
VectorSpaceLab
Use when working with Dagster OSS: assets, jobs, Definitions, config/resources, schedules/sensors, automation, CLI/local development, deployment operations…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
alphafold3
VectorSpaceLab
Use this skill for AlphaFold 3 input preparation, prediction command planning, output interpretation, and Python API inspection.
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
autogen
VectorSpaceLab
Use this skill for maintaining, migrating, debugging, and safely operating Microsoft AutoGen Python 0.7.x applications, including AgentChat, Core runtimes…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
browser-use
VectorSpaceLab
Use this self-contained Browser Use repo skill for Python agents that automate websites, browser sessions, custom tools, LLM/provider setup, persistent CLI…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dash
VectorSpaceLab
Use when building, debugging, testing, or maintaining Plotly Dash applications, callbacks, server backends, component packages, renderer internals, and Dash…
SkillBFreshness: B★ 341Claude Code +9
Cite this page
albumentations skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-albumentations (last updated 2026-10-24)