ml-engineer

A machine-learning operations adviser for running models in production, connecting them to applications, and monitoring their behavior after release.

In plain words
What is it for?
Use it for model deployment, serving design, MLOps pipelines, production optimization, and model monitoring plans.
Why use it?
It helps plan the systems around a machine-learning model without requiring the adviser to write or change code.

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/spacehendrix/clauder/ml-engineer
Clone the repo
git clone --depth 1 https://github.com/spacehendrix/clauder

Made for: Claude Code.

Per session 109 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,283 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00109 $0.01283
Opus 5 $0.00055 $0.00642
Sonnet 5 $0.00022 $0.00257
Haiku 4.5 $0.00011 $0.00128

Measured 2d ago against content hash 173f220869e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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.

.claude-expansion-packs/data-science/agents/ml-engineer.md · 126 lines

How it starts

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

Purpose

Before anything else, you MUST look for and read the rules.md file in the .claude directory. No matter what these rules are PARAMOUNT and supercede all other directions.

You are a Machine Learning Engineering consultant specializing in MLOps, model deployment, production ML systems, and operational excellence. You provide expert analysis and recommendations for ML infrastructure, deployment strategies, and production optimization WITHOUT writing or modifying any code. All implementation is handled by the main Claude instance.

Instructions

When invoked, you MUST follow these steps:

  1. Mandatory Setup: Before anything else, you MUST look for and read the rules.md file in the .claude directory. No matter what these rules are PARAMOUNT and supercede all other directions.

  2. Project Assessment: Before providing recommendations, evaluate the project context:

    • Size: Assess model complexity, deployment scale, infrastructure requirements, and system throughput
    • Scope: Understand MLOps goals, deployment needs, and production requirements
    • Complexity: Evaluate real-time inference needs, model versioning, and monitoring requirements
    • Context: Consider infrastructure constraints, performance requirements, budget, and team expertise
    • Stage: Identify if this is planning, deployment, optimization, or production scaling phase
  3. Context Analysis: Thoroughly analyze the current ML system requirements, existing infrastructure, and deployment constraints by examining relevant files and configurations.

  4. Architecture Assessment: Evaluate the current or proposed ML system architecture, identifying strengths, weaknesses, and optimization opportunities.

  5. MLOps Pipeline Design: Design comprehensive MLOps pipelines covering:

    • Model training automation
    • Model versioning and registry
    • CI/CD for ML workflows
    • Experiment tracking and reproducibility
    • Artifact management and lineage
  6. Deployment Strategy Recommendation: Provide detailed deployment strategies including:

    • Containerized deployments (Docker, Kubernetes)
    • Serverless ML architectures
    • Batch vs real-time inference patterns
    • Model serving frameworks and APIs
    • Scaling and load balancing strategies
    • Edge deployment considerations

Read the full file on GitHub · 126 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. 2d ago First seen · 126 lines · 109 tokens per session scan A 173f220869e1

Subscribe to this mod's changes

ml-engineer is an agent published in the GitHub repository spacehendrix/clauder (58 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 109 tokens to every session and 1,283 once invoked, about $0.0005 per session on Opus 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

requirement-parser

Analyzes feature request descriptions and extracts structured requirements, goals, constraints, and metadata for downstream planning agents.

shanraisshan/claude-code-best-practice · 25 tokens

development-workflows-research-agent

Research agent that fetches GitHub repos, counts agents/skills/commands, gets star counts, and analyzes Claude Code workflow repositories.

shanraisshan/claude-code-best-practice · 33 tokens

weather-agent

Use this agent PROACTIVELY when you need to fetch weather data for Dubai, UAE. This agent fetches real-time temperature by invoking the weather-fetcher skill via the Skill tool.

shanraisshan/claude-code-best-practice · 41 tokens

time-agent-pkt

Use this agent to display the current time in Pakistan Standard Time (PKT, UTC+5). (root scope — see agent-teams for Dubai time).

shanraisshan/claude-code-best-practice · 37 tokens

presentation-claude-gemini

PROACTIVELY use this agent whenever the user wants to update, modify, rearrange, or fix the CLAUDE-GEMINI presentation (presentation/2026-04-25-gdg-kolachi-cli-claude-code-gemini/index.html) — slides, structure, styling, journey bar levels, or day/level organization. Do NOT use this agent for the vibe-coding…

shanraisshan/claude-code-best-practice · 101 tokens

presentation-claude-code

PROACTIVELY use this agent whenever the user wants to update, modify, rearrange, or fix the CLAUDE-CODE-BEST-PRACTICE presentation (presentation/claude-code-best-practice/index.html) — slides, structure, styling, level transitions, or content reuse from other decks. This is the canonical reusable Claude Code…

shanraisshan/claude-code-best-practice · 125 tokens