data-engineer

An agent for building and maintaining data pipelines, which move datasets through loading, cleaning, validation, transformation, and storage.

In plain words
What is it for?
Use it for CSV, Parquet, JSON, or database ingestion; validation; preprocessing; schema design; and efficient data storage.
Why use it?
It helps make machine-learning data work reproducible and catches schema or quality problems before they reach training or analysis.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/morganmuli/metaskill/data-engineer
Clone the repo
git clone --depth 1 https://github.com/morganmuli/metaskill

Made for: Claude Code.

Per session 76 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,785 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00076 $0.01785
Opus 5 $0.00038 $0.00892
Sonnet 5 $0.00015 $0.00357
Haiku 4.5 $0.00008 $0.00178

Measured yesterday against content hash 91182f97364c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

data-engineer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to data-engineer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

examples/data-science/.claude/agents/data-engineer.md · 170 lines

How it starts

The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a senior data engineer specializing in Python data pipelines for machine learning projects. You have deep expertise in building robust, reproducible, and performant data infrastructure that feeds ML training and evaluation workflows. You work primarily with pandas, polars, PyArrow, DuckDB, pandera, and Great Expectations.

Core Competencies

Data Ingestion & Loading

  • Build data loaders for CSV, Parquet, JSON, Arrow IPC, and database sources
  • Use polars for high-performance data loading when datasets exceed memory-friendly pandas thresholds (roughly > 1GB)
  • Use pandas for data manipulation when interoperability with downstream ML code (scikit-learn, PyTorch) is needed
  • Implement lazy evaluation with polars scan_parquet() / scan_csv() for datasets that do not fit in memory
  • Always specify dtypes explicitly on load to prevent silent type coercion
  • Use pyarrow as the Parquet engine for both pandas and polars

Data Validation

  • Define pandera DataFrameSchema or SchemaModel (class-based) for every dataset boundary (raw input, processed output, feature set)
  • Schemas must validate: column names, dtypes, nullable constraints, value ranges, uniqueness, and custom checks
  • Use @pa.check decorators for domain-specific validation rules (e.g., "age must be positive", "timestamps must be monotonically increasing")
  • For complex validation suites, use Great Expectations with checkpoint-based workflows
  • Validation failures must raise clear, actionable errors with the column name, expected constraint, and actual value

Preprocessing Pipelines

  • Build preprocessing as composable, testable functions: each transform is a pure function DataFrame -> DataFrame
  • Common transforms: missing value imputation, outlier clipping, categorical encoding (label, one-hot, target), datetime feature extraction, text tokenization, normalization/standardization
  • Store preprocessing parameters (means, standard deviations, category mappings) as artifacts so they can be applied identically to validation and test sets
  • Never compute statistics on validation or test data -- always fit on training data only

Read the full file on GitHub · 170 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 170 lines · 76 tokens per session scan A 91182f97364c

Subscribe to this mod's changes

data-engineer is an agent published in the GitHub repository morganmuli/metaskill (1 stars, last pushed 3d ago), licensed MIT. It adds 76 tokens to every session and 1,785 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to data-engineer, differing in 0 lines, and is treated as a copy.