- Home
- Skills
- Data & Databases
- etl pipeline skill
etl pipeline skill
A composable Python ETL skeleton for reading, transforming, and writing structured CSV and JSON data.
Free
Works with the AI tools you already use
etl pipeline skill
Example session with this skill installed
Set up a Python ETL pipeline that reads 'users.csv', adds a 'status' field set to 'active', and saves the result to 'processed_users.json'.
- Read your context and instructions
- Compiled the etl pipeline
- Generated the data export
I have structured the ETL pipeline using the requested directory layout. The implementation separates the file reading, the transformation logic, and the JSON output sink.
ETL Pipeline Implementation
# scripts/pipeline/transform.py
def add_status_field(records):
"""Appends status field to each record."""
for record in records:
record['status'] = 'active'
return records
# scripts/pipeline/sinks.py
import json
def write_json(records, filepath):
"""Writes list of dicts to a JSON file."""
with open(filepath, 'w', encoding='utf-8') as f:
json.dump(records, f, indent=4)
# main.py
import sys
import os
from pipeline.io_ops import read_csv
from pipeline.transform import add_status_field
from pipeline.sinks import write_json
def main():
# 1. Extract
input_file = "users.csv"
if not os.path.exists(input_file):
print(f"Error: {input_file} not found.")
return
raw_data = read_csv(input_file)
# 2. Transform
processed_data = add_status_field(raw_data)
# 3. Load
write_json(processed_data, "processed_users.json")
print("Pipeline executed successfully: processed_users.json created.")
if __name__ == "__main__":
main()
Next steps
- Place your
users.csvin the root directory. - Run
python main.pyto generate the JSON output. - Add more functions to
transform.pyto handle additional data cleaning needs.
etl-pipeline-skill.csv
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
The problem
Writing boilerplate for CSV ingestion and data transformation is repetitive and prone to error. Manually handling list-of-dict conversions, file I/O, and pipeline composition slows down simple batch processing tasks.
What it does
- Reads CSV files into a standard list-of-dictionaries format.
- Provides a modular transform stage for record-level processing.
- Supports multiple output sinks including compact CSV and JSON.
- Maintains a clean separation between I/O operations and business logic.
Frameworks & tools
Python 3.x, standard library CSV, and JSON modules.
Why this beats prompting it yourself
Instead of generating one-off scripts that vary in structure, this skill provides a consistent, composable architectural pattern. It ensures your data pipelines follow a predictable read-transform-write flow that is easy to extend without rewriting the I/O layer.
Use cases
- Normalizing raw CSV exports for database ingestion.
- Creating reproducible data preprocessing steps for AI agent workflows.
- Building lightweight ETL prototypes without the overhead of heavy frameworks.
Known limitations
Designed for small to medium batch processing. Does not include native support for Parquet or streaming large datasets that exceed memory.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
4 installs
Downloaded by developers to date
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 24 days ago
- Free to download with an account