MCPInstall

machine-learning-engineer

Use when user needs ML model deployment, production serving infrastructure, optimization strategies, and real-time inference systems. Designs and implements scalable ML systems with focus on reliability and performance.

Installs
788
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill machine-learning-engineer
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads machine-learning-engineer automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Machine Learning Engineer

Purpose

Provides ML engineering expertise specializing in model deployment, production serving infrastructure, and real-time inference systems. Designs scalable ML platforms with model optimization, auto-scaling, and monitoring for reliable production machine learning workloads.

When to Use

  • ML model deployment to production
  • Real-time inference API development
  • Model optimization and compression
  • Batch prediction systems
  • Auto-scaling and load balancing
  • Edge deployment for IoT/mobile
  • Multi-model serving orchestration
  • Performance tuning and latency optimization

This skill provides expert ML engineering capabilities for deploying and serving machine learning models at scale. It focuses on model optimization, inference infrastructure, real-time serving, and edge deployment with emphasis on building reliable, performant ML systems for production workloads.

When to Use

User needs:

  • ML model deployment to production
  • Real-time inference API development
  • Model optimization and compression
  • Batch prediction systems
  • Auto-scaling and load balancing
  • Edge deployment for IoT/mobile
  • Multi-model serving orchestration
  • Performance tuning and latency optimization

What This Skill Does

This skill deploys ML models to production with comprehensive infrastructure. It optimizes models for inference, builds serving pipelines, configures auto-scaling, implements monitoring, and ensures models meet performance, reliability, and scalability requirements in production environments.

ML Deployment Components

  • Model optimization and compression
  • Serving infrastructure (REST/gRPC APIs, batch jobs)
  • Load balancing and request routing
  • Auto-scaling and resource management
  • Real-time and batch prediction systems
  • Monitoring, logging, and observability
  • Edge deployment and model compression
  • A/B testing and canary deployments

Core Capabilities

Model Deployment Pipelines

  • CI/CD integration for ML models
  • Automated testing and validation
  • Model performance benchmarking
  • Security scanning and vulnerability assessment
  • Container building and registry management
  • Progressive rollout and blue-green deployment

Serving Infrastructure

  • Load balancer configuration (NGINX, HAProxy)
  • Request routing and model caching
  • Connection pooling and health checking
  • Graceful shutdown and resource allocation
  • Multi-region deployment and failover
  • Container orchestration (Kubernetes, ECS)

Model Optimization

  • Quantization (FP32, FP16, INT8, INT4)
  • Model pruning and sparsification
  • Knowledge distillation techniques
  • ONNX and TensorRT conversion
  • Graph optimization and operator fusion
  • Memory optimization and throughput tuning

Real-time Inference

  • Request preprocessing and validation
  • Model prediction execution
  • Response formatting and error handling
  • Timeout management and circuit breaking
  • Request batching and response caching
  • Streaming predictions and async processing

Batch Prediction Systems

  • Job scheduling and orchestration
  • Data partitioning and parallel processing
  • Progress tracking and error handling
  • Result aggregation and storage
  • Cost optimization and resource management

Auto-scaling Strategies

  • Metric-based scaling (CPU, GPU, request rate)
  • Scale-up and scale-down policies
  • Warm-up periods and predictive scaling
  • Cost controls and regional distribution
  • Traffic prediction and capacity planning

Multi-model Serving

  • Model routing and version management
  • A/B testing and traffic splitting
  • Ensemble serving and model cascading
  • Fallback strategies and performance isolation
  • Shadow mode testing and validation

Edge Deployment

  • Model compression for edge devices
  • Hardware optimization and power efficiency
  • Offline capability and update mechanisms
  • Telemetry collection and security hardening
  • Resource constraints and optimization

Tool Restrictions

  • Read: Access model artifacts, infrastructure configs, and monitoring data
  • Write/Edit: Create deployment configs, serving code, and optimization scripts
  • Bash: Execute deployment commands, monitoring setup, and performance tests
  • Glob/Grep: Search codebases for model integration and serving endpoints

Integration with Other Skills

  • ml-engineer: Model optimization and training pipeline integration
  • mlops-engineer: Infrastructure and platform setup
  • data-engineer: Data pipelines and feature stores
  • devops-engineer: CI/CD and deployment automation
  • cloud-architect: Cloud infrastructure and architecture
  • sre-engineer: Reliability and availability
  • performance-engineer: Performance profiling and optimization
  • ai-engineer: Model selection and integration

Example Interactions

Scenario 1: Real-time Inference API Deployment

User: "Deploy our ML model as a real-time API with auto-scaling"

Interaction:

  1. Skill analyzes model characteristics and requirements
  2. Implements serving infrastructure:
    • Optimizes model with ONNX conversion (60% size reduction)
    • Creates FastAPI/gRPC serving endpoints
    • Configures GPU auto-scaling based on request rate
    • Implements request batching for throughput
    • Sets up monitoring and alerting
  3. Deploys to Kubernetes with horizontal pod autoscaler
  4. Achieves <50ms P99 latency and 2000+ RPS throughput

Scenario 2: Multi-model Serving Platform

User: "Build a platform to serve 50+ models with intelligent routing"

Interaction:

  1. Skill designs multi-model architecture:
    • Model registry and version management
    • Intelligent routing based on request type
    • Specialist models for different use cases
    • Fallback and circuit breaking
    • Cost optimization with smaller models for simple queries
  2. Implements serving framework with:
    • Model loading and unloading
    • Request queuing and load balancing
    • A/B testing and traffic splitting
    • Ensemble serving for critical paths
  3. Deploys with comprehensive monitoring and cost tracking

Scenario 3: Edge Deployment for IoT

User: "Deploy ML model to edge devices with limited resources"

Interaction:

  1. Skill analyzes device constraints and requirements
  2. Optimizes model for edge:
    • Quantizes to INT8 (4x size reduction)
    • Prunes and compresses model
    • Implements ONNX Runtime for efficient inference
    • Adds offline capability and local caching
  3. Creates deployment package:
    • Edge-optimized inference runtime
    • Update mechanism with delta updates
    • Telemetry collection and monitoring
    • Security hardening and encryption
  4. Tests on target hardware and validates performance

Best Practices

  • Performance: Target <100ms P99 latency for real-time inference
  • Reliability: Implement graceful degradation and fallback models
  • Monitoring: Track latency, throughput, error rates, and resource usage
  • Testing: Conduct load testing and validate against production traffic patterns
  • Security: Implement authentication, encryption, and model security
  • Documentation: Document all deployment configurations and operational procedures
  • Cost: Optimize resource usage and implement auto-scaling for cost efficiency

Examples

Example 1: Real-Time Inference API for Production

Scenario: Deploy a fraud detection model as a real-time API with auto-scaling.

Deployment Approach:

  1. Model Optimization: Converted model to ONNX (60% size reduction)
  2. Serving Framework: Built FastAPI endpoints with async processing
  3. Infrastructure: Kubernetes deployment with Horizontal Pod Autoscaler
  4. Monitoring: Integrated Prometheus metrics and Grafana dashboards

Configuration:

# FastAPI serving with optimization
from fastapi import FastAPI
import onnxruntime as ort

app = FastAPI()
session = ort.InferenceSession("model.onnx")

@app.post("/predict")
async def predict(features: List[float]):
    input_tensor = np.array([features])
    outputs = session.run(None, {"input": input_tensor})
    return {"prediction": outputs[0].tolist()}

Performance Results:

MetricValue
P99 Latency45ms
Throughput2,500 RPS
Availability99.99%
Auto-scaling2-50 pods

Example 2: Multi-Model Serving Platform

Scenario: Build a platform serving 50+ ML models for different prediction types.

Architecture Design:

  1. Model Registry: Central registry with versioning
  2. Router: Intelligent routing based on request type
  3. Resource Manager: Dynamic resource allocation per model
  4. Fallback System: Graceful degradation for unavailable models

Implementation:

  • Model loading/unloading based on request patterns
  • A/B testing framework for model comparisons
  • Cost optimization with model prioritization
  • Shadow mode testing for new models

Results:

  • 50+ models deployed with 99.9% uptime
  • 40% reduction in infrastructure costs
  • Zero downtime during model updates
  • 95% cache hit rate for frequent requests

Example 3: Edge Deployment for Mobile Devices

Scenario: Deploy image classification model to iOS and Android apps.

Edge Optimization:

  1. Model Compression: Quantized to INT8 (4x size reduction)
  2. Runtime Selection: CoreML for iOS, TFLite for Android
  3. On-Device Caching: Intelligent model caching and updates
  4. Privacy Compliance: All processing on-device

Performance Metrics:

PlatformModel SizeInference TimeAccuracy
Original25 MB150ms94.2%
Optimized6 MB35ms93.8%

Results:

  • 80% reduction in app download size
  • 4x faster inference on device
  • Offline capability with local inference
  • GDPR compliant (no data leaves device)

Best Practices

Model Optimization

  • Quantization: Start with FP16, move to INT8 for edge
  • Pruning: Remove unnecessary weights for efficiency
  • Distillation: Transfer knowledge to smaller models
  • ONNX Export: Standard format for cross-platform deployment
  • Benchmarking: Always test on target hardware

Production Serving

  • Health Checks: Implement /health and /ready endpoints
  • Graceful Degradation: Fallback to simpler models or heuristics
  • Circuit Breakers: Prevent cascade failures
  • Rate Limiting: Protect against abuse and overuse
  • Caching: Cache predictions for identical inputs

Monitoring and Observability

  • Latency Tracking: Monitor P50, P95, P99 latencies
  • Error Rates: Track failures and error types
  • Prediction Distribution: Alert on distribution shifts
  • Resource Usage: CPU, GPU, memory monitoring
  • Business Metrics: Track model impact on KPIs

Security and Compliance

  • Model Security: Protect model weights and artifacts
  • Input Validation: Sanitize all prediction inputs
  • Output Filtering: Prevent sensitive data exposure
  • Audit Logging: Log all prediction requests
  • Compliance: Meet industry regulations (HIPAA, GDPR)

Anti-Patterns

Model Deployment Anti-Patterns

  • Manual Deployment: Deploying models without automation - implement CI/CD for models
  • No Versioning: Replacing models without tracking versions - maintain model version history
  • Hotfix Culture: Making urgent model changes without testing - require validation before deployment
  • Black Box Deployment: Deploying models without explainability - implement model interpretability

Performance Anti-Patterns

  • No Baselines: Deploying without performance benchmarks - establish performance baselines
  • Over-Optimization: Tuning beyond practical benefit - focus on customer-impacting metrics
  • Ignore Latency: Focusing only on accuracy, ignoring latency - optimize for real-world use cases
  • Resource Waste: Over-provisioning infrastructure - right-size resources based on actual load

Monitoring Anti-Patterns

  • Silent Failures: Models failing without detection - implement comprehensive health checks
  • Metric Overload: Monitoring too many metrics - focus on actionable metrics
  • Data Drift Blindness: Not detecting model degradation - monitor input data distribution
  • Alert Fatigue: Too many alerts causing ignored warnings - tune alert thresholds

Scalability Anti-Patterns

  • No Load Testing: Deploying without performance testing - test with production-like traffic
  • Single Point of Failure: No redundancy in serving infrastructure - implement failover
  • No Autoscaling: Manual capacity management - implement automatic scaling
  • Stateful Design: Inference that requires state - design stateless inference

Output Format

This skill delivers:

  • Complete model serving infrastructure (Docker, Kubernetes configs)
  • Production deployment pipelines and CI/CD workflows
  • Real-time and batch prediction APIs
  • Model optimization artifacts and configurations
  • Auto-scaling policies and infrastructure as code
  • Monitoring dashboards and alert configurations
  • Performance benchmarks and load test reports

All outputs include:

  • Detailed architecture documentation
  • Deployment scripts and configurations
  • Performance metrics and SLA validations
  • Security hardening guidelines
  • Operational runbooks and troubleshooting guides
  • Cost analysis and optimization recommendations

FAQ

What does the machine-learning-engineer skill do?

Use when user needs ML model deployment, production serving infrastructure, optimization strategies, and real-time inference systems. Designs and implements scalable ML systems with focus on reliability and performance.

How do I install machine-learning-engineer?

Run npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill machine-learning-engineer in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/machine-learning-engineer/ (personal) or .claude/skills/machine-learning-engineer/ (project).

Which AI agents can use machine-learning-engineer?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is machine-learning-engineer safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains machine-learning-engineer?

It is published by 404kidwiz in 404kidwiz/claude-supercode-skills. It has 788 recorded installs.

More from 404kidwiz/claude-supercode-skills

View all →

frontend-ui-ux-engineer

404kidwiz/claude-supercode-skills

A designer-turned-developer who crafts stunning UI/UX even without design mockups. Code may be a bit messy, but the visual output is always fire.

quant-analyst

404kidwiz/claude-supercode-skills

Expert in quantitative finance, algorithmic trading, and financial data analysis using Python (Pandas/NumPy), statistical modeling, and machine learning.

Business & Finance1.1K installs

project-manager

404kidwiz/claude-supercode-skills

Project management expert specializing in planning, execution, monitoring, and closure of projects. Masters traditional and agile methodologies to deliver projects on time, within budget, and to quality standards.

DevOps & Cloud983 installs

dotnet-framework-4.8-expert

404kidwiz/claude-supercode-skills

Legacy .NET Framework expert specializing in .NET Framework 4.8, WCF services, ASP.NET MVC, and maintaining enterprise applications with modern integration patterns.

Backend & APIs722 installs

codebase-exploration

404kidwiz/claude-supercode-skills

Deep contextual grep for codebases. Expert at finding patterns, architectures, implementations, and answering "Where is X?", "Which file has Y?", and "Find code that does Z" questions. Use when exploring unfamiliar codebases, finding specific implementations, understanding code organization, discovering patterns across multiple files, or locating functionality in a project. Supports three thoroughness levels quick, medium, very thorough.

market-researcher

404kidwiz/claude-supercode-skills

Open the skill to read its SKILL.md instructions.

389 installs

Popular ai & agents skills

View category →

google-agents-cli-publish

google/agents-cli

This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).

AI & Agents513.9K installs

google-agents-cli-eval

google/agents-cli

This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).

AI & Agents513.5K installs

skill-creator

anthropics/skills

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

OfficialAI & Agents416.4K installs

codex-pet

prime-skills/runcomfy-agent-skills

Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.

AI & Agents402.1K installs

full-output-enforcement

leonxlnx/taste-skill

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

AI & Agents401K installs

executing-plans

obra/superpowers

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

AI & Agents245.7K installs