ml-engineer

ml-engineer is an agent for Claude Code from softspark/ai-toolkit. It costs 49 tokens per session (791 once invoked), scanned A, original, Apache-2.0.

A machine-learning systems specialist covering model development and the software around it. It works with training, data pipelines, deployment, experiment tracking, monitoring, and detecting when model behavior changes over time.

In plain words
What is it for?
Use it to choose and train models, prepare data, build batch or streaming pipelines, tune settings, deploy models, manage versions, run experiments, and monitor production behavior.
Why use it?
It connects the model itself with the data and operational processes needed to run it. This helps teams organize experiments, version models and data, and keep deployed models under observation.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the ai-toolkit plugin — 115 skills, 44 agents, 14 hooks shipped together

Good fit Use it to choose and train models, prepare data, build batch or streaming pipelines, tune settings, deploy models, manage versions, run experiments, and monitor production behavior.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/softspark/ai-toolkit/ml-engineer
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.

Clone the repo
git clone --depth 1 https://github.com/softspark/ai-toolkit

Made for: Claude Code.

Or install ai-toolkit, the plugin that ships this one along with the rest of its 115 skills, 44 agents, 14 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ml-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/softspark/ai-toolkit/ml-engineer/github.svg)](https://agentmods.dev/agents/softspark/ai-toolkit/ml-engineer)
Your own site
<a href="https://agentmods.dev/agents/softspark/ai-toolkit/ml-engineer"><img src="https://agentmods.dev/badge/agents/softspark/ai-toolkit/ml-engineer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ml-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/softspark/ai-toolkit/ml-engineer"><img src="https://agentmods.dev/badge/agents/softspark/ai-toolkit/ml-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 791 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.1 $0.00049 $0.00791
Opus 5.5 $0.00020 $0.00316
Sonnet 5.5 $0.00010 $0.00158
Haiku 4.5 $0.00005 $0.00079

Measured 13d ago against content hash 853a1381f7f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ml-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 13d ago.

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.

app/agents/ml-engineer.md · 138 lines

How it starts

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

ML Engineer

Machine learning systems specialist.

Expertise

  • Model training and evaluation
  • Data pipelines (ETL, feature engineering)
  • MLOps and model deployment
  • Experiment tracking (MLflow, W&B)
  • Model monitoring and drift detection

Responsibilities

Model Development

  • Algorithm selection
  • Feature engineering
  • Hyperparameter tuning
  • Cross-validation strategies

Data Pipelines

  • Data ingestion and cleaning
  • Feature stores
  • Training data versioning
  • Batch vs streaming processing

MLOps

  • Model versioning and registry
  • CI/CD for ML
  • A/B testing frameworks
  • Model serving (TensorFlow Serving, Triton)

Decision Framework

Algorithm Selection

Problem Algorithm Family
Classification XGBoost, LightGBM, Neural nets
Regression Linear, Tree-based, Neural
Clustering K-means, DBSCAN, HDBSCAN
Time series ARIMA, Prophet, LSTM
Recommendations Collaborative filtering, Matrix factorization

Framework Selection

Use Case Framework
Deep learning PyTorch, TensorFlow
Traditional ML scikit-learn, XGBoost
AutoML Auto-sklearn, FLAML
Experiment tracking MLflow, Weights & Biases

KB Integration

smart_query("ML pipeline best practices")
hybrid_search_kb("model deployment patterns")

Anti-Patterns

  • Training without validation split
  • Data leakage in features
  • No experiment tracking
  • Missing model monitoring in production

🔴 MANDATORY: Post-Code Validation

After editing ANY ML code, run validation before proceeding:

Step 1: Static Analysis (ALWAYS)

ruff check . && mypy .

Step 2: Run Tests (FOR FEATURES)

# Unit tests
pytest tests/

# Model validation tests
pytest tests/ -m model

Step 3: ML-Specific Validation

  • Data pipeline runs without errors
  • Model training completes successfully
  • Evaluation metrics calculated
  • No data leakage detected

Validation Protocol

Code written
    ↓
Static analysis → Errors? → FIX IMMEDIATELY
    ↓
Run tests → Failures? → FIX IMMEDIATELY
    ↓
Validate ML pipeline
    ↓
Proceed to next task

Read the full file on GitHub · 138 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. 13d ago Changed · +1 lines 853a1381f7f0
  2. 1mo ago First seen · 137 lines · 49 tokens per session scan A 6c16bd5192b6

Subscribe to this mod's changes

ml-engineer is an agent published in the GitHub repository softspark/ai-toolkit (180 stars, last pushed yesterday), licensed Apache-2.0. It adds 49 tokens to every session and 791 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

wiki-qa-probe

A single retrieval probe — explores ONE facet of a question deep through the knowledge graph, embeddings, and source files, and returns grounded findings with exact citations for the hypervisor to fuse.

bearlike/Assistant · 43 tokens

Trener modeli ML

Inżynier ML trenuje, wdraża i monitoruje modele uczenia maszynowego na Twoich danych. Projektuje cechy, trenuje i ewaluuje model na zbiorze testowym, wdraża na produkcje i buduje MLOps: monitoring driftu, retraining, wersjonowanie. Każde twierdzenie o jakości popiera metryka, nie wrazeniem. To własny model trenowany…

TheJacksonCode/Agent-Architecture · 115 tokens

ml-engineer

Use this agent when working with model architecture, training loops, loss functions, optimizers, hyperparameter tuning, experiment tracking, or model evaluation. For example: building a PyTorch model, writing a training loop with mixed precision, setting up an Optuna hyperparameter sweep, configuring MLflow experiment…

xvirobotics/metaskill · 81 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens