Pipeline augmentation

From VectorSpaceLab/AREX-Skill · View interactive version

Pipeline augmentation is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Directory-backed Augmentor Pipeline workflows for folder scanning, class-aware disk augmentation, output control, sampling, status, seeding, and threading.

How to use this skill

Skill file

Pipeline Augmentation

Use this sub-skill when the task is a directory-backed Augmentor.Pipeline workflow: scan image folders, interpret class subfolders, add pipeline-level operations, write augmented samples to disk, process every image once, set output save formats, inspect status, set seeds, or decide whether to disable multithreading.

Fast routing

Core API facts

Minimal disk pattern

import Augmentor

p = Augmentor.Pipeline("train_images", output_directory="output")
p.rotate(probability=0.7, max_left_rotation=10, max_right_rotation=10)
p.flip_left_right(probability=0.5)
p.resize(probability=1.0, width=224, height=224)
p.set_save_format("PNG")

p.set_seed(123)
p.sample(500, multi_threaded=False)  # deterministic transform order is easiest single-threaded

Use p.process() when each source image should be processed once, usually with every required operation set to probability=1. If exact single-threaded execution matters, prefer p.sample(0, multi_threaded=False).

Bundled references and helper

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.