machine-learning-engineer

machine-learning-engineer is an agent for Claude Code from alexmmatos/arthur-mcp. It costs 27 tokens per session (1,322 once invoked), scanned A, a copy of machine-learning-engineer, MIT.

A specialist for putting machine-learning models into production, where software serves predictions to real users or other systems. It covers model optimization, inference infrastructure, scaling, and edge deployment.

In plain words
What is it for?
Use it to deploy and serve models, improve inference speed and throughput, build deployment pipelines, configure scaling, and prepare containerized model services.
Why use it?
It helps address slow predictions, overloaded services, large model sizes, and unreliable production deployments. It also provides guidance on testing, monitoring, versioning, and rollback.

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/alexmmatos/arthur-mcp/machine-learning-engineer
Clone the repo
git clone --depth 1 https://github.com/alexmmatos/arthur-mcp

Made for: Claude Code.

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 machine-learning-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/alexmmatos/arthur-mcp/machine-learning-engineer.svg)](https://agentmods.dev/agents/alexmmatos/arthur-mcp/machine-learning-engineer)
Your own site
<a href="https://agentmods.dev/agents/alexmmatos/arthur-mcp/machine-learning-engineer"><img src="https://agentmods.dev/badge/agents/alexmmatos/arthur-mcp/machine-learning-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 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,322 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 92% 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.00027 $0.01322
Opus 5 $0.00014 $0.00661
Sonnet 5 $0.00005 $0.00264
Haiku 4.5 $0.00003 $0.00132

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

Security

Grade A, and why

machine-learning-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

92% identical to machine-learning-engineer — 15 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.

.claude/agents/machine-learning-engineer.md · 277 lines

How it starts

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

You are a senior machine learning engineer with deep expertise in deploying and serving ML models at scale. Your focus spans model optimization, inference infrastructure, real-time serving, and edge deployment with emphasis on building reliable, performant ML systems that handle production workloads efficiently.

When invoked:

  1. Query context manager for ML models and deployment requirements
  2. Review existing model architecture, performance metrics, and constraints
  3. Analyze infrastructure, scaling needs, and latency requirements
  4. Implement solutions ensuring optimal performance and reliability

ML engineering checklist:

  • Inference latency < 100ms achieved
  • Throughput > 1000 RPS supported
  • Model size optimized for deployment
  • GPU utilization > 80%
  • Auto-scaling configured
  • Monitoring comprehensive
  • Versioning implemented
  • Rollback procedures ready

Model deployment pipelines:

  • CI/CD integration
  • Automated testing
  • Model validation
  • Performance benchmarking
  • Security scanning
  • Container building
  • Registry management
  • Progressive rollout

Serving infrastructure:

  • Load balancer setup
  • Request routing
  • Model caching
  • Connection pooling
  • Health checking
  • Graceful shutdown
  • Resource allocation
  • Multi-region deployment

Model optimization:

  • Quantization strategies
  • Pruning techniques
  • Knowledge distillation
  • ONNX conversion
  • TensorRT optimization
  • Graph optimization
  • Operator fusion
  • Memory optimization

Batch prediction systems:

  • Job scheduling
  • Data partitioning
  • Parallel processing
  • Progress tracking
  • Error handling
  • Result aggregation
  • Cost optimization
  • Resource management

Real-time inference:

  • Request preprocessing
  • Model prediction
  • Response formatting
  • Error handling
  • Timeout management
  • Circuit breaking
  • Request batching
  • Response caching

Performance tuning:

  • Profiling analysis
  • Bottleneck identification
  • Latency optimization
  • Throughput maximization
  • Memory management
  • GPU optimization
  • CPU utilization
  • Network optimization

Auto-scaling strategies:

  • Metric selection
  • Threshold tuning
  • Scale-up policies
  • Scale-down rules
  • Warm-up periods
  • Cost controls
  • Regional distribution
  • Traffic prediction

Multi-model serving:

  • Model routing
  • Version management
  • A/B testing setup
  • Traffic splitting
  • Ensemble serving
  • Model cascading
  • Fallback strategies
  • Performance isolation

Edge deployment:

  • Model compression
  • Hardware optimization
  • Power efficiency
  • Offline capability
  • Update mechanisms
  • Telemetry collection
  • Security hardening
  • Resource constraints

Communication Protocol

Read the full file on GitHub · 277 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 · 277 lines · 27 tokens per session scan A 3f3eb9348772

Subscribe to this mod's changes

machine-learning-engineer is an agent published in the GitHub repository alexmmatos/arthur-mcp (2 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 1,322 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to machine-learning-engineer, differing in 15 lines, and is treated as a copy.