Skip to content
Back to skills

Data Pipeline

ASecurity

"Prepare, validate, preprocess, filter, standardize, and

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 9, 2026
toolspythonbash

Works with

  • cli

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill data-pipeline --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Data Pipeline?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Data Pipeline
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-data-pipeline-f22d9442/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-data-pipeline-f22d9442)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: data-pipeline
description: "Prepare, validate, preprocess, filter, standardize, and
  deduplicate SMILES datasets with REINVENT4 reinvent_datapre."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Data Pipeline

Use this sub-skill when a task mentions `data_pipeline.toml`, `reinvent_datapre`, SMILES preprocessing, CSV-to-SMI conversion, token filtering, allowed elements, RDKit standardization, `transform_file`, deduplication, or cleaning a dataset before sampling, scoring, transfer learning, staged learning, or enumeration.

## Read First

- `references/data-formats.md` for accepted input files, required config keys, CLI invocation, output files, and helper usage.
- `references/preprocessing-workflow.md` for a safe build-validate-run-scale workflow and what each regex/RDKit filter does.
- `references/troubleshooting.md` for invalid SMILES, unexpected elements, bad delimiters/headers, transform-file mistakes, output writes, multiprocessing, and dependency triage.
- `scripts/validate_data_pipeline_config.py` to parse a TOML config, verify input/output fields and filter structure, and sample-check the selected SMILES column without running `reinvent_datapre`.
- `scripts/make_tiny_smiles_fixture.py` to generate a small CSV/SMI fixture plus matching `data_pipeline.toml` for smoke checks.

## Fast Path

1. Create a TOML config with `input_csv_file`, `smiles_column`, `separator`, `output_smiles_file`, `num_procs`, `chunk_size`, and a `[filter]` table.
2. Use a headered CSV/TSV for tabular data, or `.smi`/`.smi.gz` for headerless SMILES input. For `.smi`, `smiles_column` names the synthetic column used internally.
3. Validate before preprocessing:
   ```bash
   python sub-skills/data-pipeline/scripts/validate_data_pipeline_config.py data_pipeline.toml --sample-rows 20
   ```
4. Run a small preprocessing smoke check:
   ```bash
   reinvent_datapre data_pipeline.toml --log-filename data_pipeline.log
   ```
5. Inspect `output_smiles_file`, the log, and the side-effect `regex.smi` in the working directory before scaling to a large dataset.

## Scope Boundaries

- This sub-skill owns `reinvent_datapre`, `data_pipeline.toml`, CSV/SMI inputs, `smiles_column`, `separator`, regex token filtering, allowed elements, RDKit cleanup, standardization transforms, deduplication, output `.smi`, and tiny-fixture validation.
- For molecule generation after preprocessing, use the `sampling` sub-skill.
- For scoring preprocessed molecules, use the `scoring` sub-skill.
- For transfer learning or staged reinforcement learning on cleaned data, use the `learning` sub-skill.
- For peptide or molecule enumeration, use the `enumeration` sub-skill.

Files in this skill

  • SKILL.md2.6 KB
  • references/data-formats.md4.6 KB
  • references/preprocessing-workflow.md5.3 KB
  • references/troubleshooting.md5 KB
  • scripts/make_tiny_smiles_fixture.py5.9 KB
  • scripts/validate_data_pipeline_config.py18.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.