/engineering-advanced-skills:senior-ml-engineerfrom engineering-advanced-skills
Productionizes ML models and LLM features: deployment specs, drift monitoring, RAG design, and cost control. Use when deploying a model, building RAG, or monitoring drift.
Ships in engineering-advanced-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Production ML engineering patterns for model deployment, MLOps infrastructure, and LLM integration.
Before generating artifacts, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
All three tools use the Python standard library only, run offline and give the same output for the same input. Each has --example (prints a sample input) and --format text|json, writes only under --output, and refuses to overwrite existing files unless you pass --force. Sample inputs are in assets/.
| Tool | Purpose | Command |
|---|---|---|
model_deployment_pipeline.py | Generate a Dockerfile (pinned slim base, non-root user, HEALTHCHECK), Kubernetes Deployment, Service and HPA with probes and resource requests/limits, a health/readiness serve.py stub and a requirements stub; flags latest tags, missing limits, root, privileged ports and single replicas | python scripts/model_deployment_pipeline.py --input assets/deployment_spec.json --output deploy/ |
rag_system_builder.py | Plan a RAG pipeline from corpus size, document types, query volume, latency budget, embedding dimension and update frequency: chunking per type, index choice with memory estimate, dense or hybrid retrieval, reranking and top-k, update strategy and evaluation plan, each with its reason; writes rag_config.json and pipeline_plan.md | python scripts/rag_system_builder.py --input assets/rag_spec.json --output rag-plan/ |
ml_monitoring_suite.py | Compare a baseline and a current CSV: PSI per feature (quantile bins for numeric, category shares for categorical), two-sample KS for numeric features, missing-rate change, and accuracy or MAE drift from prediction and label columns, mapped to OK/WARN/ALERT; writes drift_report.json and Prometheus-style alert_rules.yaml | python scripts/ml_monitoring_suite.py --baseline assets/monitoring_baseline.csv --current assets/monitoring_current.csv --prediction-col prediction --label-col label --exclude customer_id --output monitoring/ |
ml_monitoring_suite.py exits 1 when the overall status reaches --fail-on (default alert), so it can gate a CI or scheduled job; it exits 2 on bad input. The other two exit 0 on success and 1 on bad input. See references/tool-reference.md for every flag, spec field, rule and threshold, with real output from the samples.
Load the reference that matches the task — keep this file lean and pull detail on demand:
This skill covers:
This skill does NOT cover:
senior-data-scientist)senior-data-engineer)senior-prompt-engineer)senior-computer-vision)Tool limits:
model_deployment_pipeline.py writes artifacts but does not build images, push them or apply manifests, and it does not generate canary or traffic-splitting config. serve.py is a stub: model loading and /predict are yours to implement, and requirements.txt lists packages without versions until you pin them.rag_system_builder.py plans from a spec; it does not read documents, compute embeddings or measure retrieval. Memory figures are estimates from vector count and dimension, it names no vendor and quotes no prices, and its starting eval targets need calibration on your data.ml_monitoring_suite.py works on two CSV snapshots in memory. It has no streaming, scheduling or dashboards, and it does not track latency or error rates. The KS p-value is the asymptotic approximation and is loose below about 50 rows per side, and PSI is inflated by sampling noise on small files; the tool notes both. ID-like categorical columns are skipped rather than tested. The alert rules assume metric names you must export or rename.| Skill | Integration | Data Flow |
|---|---|---|
senior-data-scientist | Receives trained models and evaluation metrics for deployment | Data Scientist exports model artifacts and baseline metrics; ML Engineer packages and deploys |
senior-data-engineer | Consumes feature pipelines and data quality outputs | Data Engineer builds ETL and feature pipelines; ML Engineer reads from feature store for serving |
senior-prompt-engineer | Provides LLM serving infrastructure for prompt workflows | Prompt Engineer designs prompts; ML Engineer deploys provider abstraction and manages cost/latency |
senior-devops | Leverages CI/CD and Kubernetes infrastructure for model serving | DevOps manages cluster and pipelines; ML Engineer defines deployment manifests and health checks |
senior-computer-vision | Deploys vision models through shared serving infrastructure | CV Engineer trains and exports models; ML Engineer handles Triton/TorchServe deployment and monitoring |
senior-security | Applies security scanning to model containers and API endpoints | Security reviews container images and endpoint auth; ML Engineer remediates findings before promotion |
Mistake: Model names and per-token prices written into application code. Why it happens: It is the fastest way to get a first call working. Instead: Read model ids and prices from configuration with an as-of date. Upgrades and price changes then become config changes, and stale numbers are visible.
Mistake: Shipping a model with no stored reference distribution of its inputs and predictions.
Why it happens: Monitoring feels like a later task.
Instead: Save the training or launch-week distribution as the baseline at deploy time, then run ml_monitoring_suite.py against it on a schedule; PSI above 0.25 on a key feature is the usual "investigate" line.
Mistake: Tuning prompts when answers are wrong, without checking whether retrieval returned the right passages. Why it happens: The generation step is the visible one. Instead: Measure retrieval first (hit rate or recall@k on a labelled question set); most RAG failures are retrieval failures.
| File | Purpose |
|---|---|
scripts/model_deployment_pipeline.py | Dockerfile, Kubernetes manifest, serving stub and requirements from a deployment spec |
scripts/ml_monitoring_suite.py | PSI / drift checks between baseline and current data |
scripts/rag_system_builder.py | RAG architecture plan with index sizing and retrieval strategy |
assets/ | Deployment spec and baseline/current CSV samples for the tools |
references/*.md | Workflows, tool reference, MLOps patterns, LLM integration, RAG architecture |
Last Updated: November 2026 Version: 1.1.0
assets/deployment_spec.json (opens in a new tab)assets/monitoring_baseline.csv (opens in a new tab)assets/monitoring_current.csv (opens in a new tab)assets/rag_spec.json (opens in a new tab)references/llm_integration_guide.md (opens in a new tab)references/mlops_production_patterns.md (opens in a new tab)references/production-ml-workflows.md (opens in a new tab)references/rag_system_architecture.md (opens in a new tab)references/tool-reference.md (opens in a new tab)scripts/ml_monitoring_suite.py (opens in a new tab)scripts/model_deployment_pipeline.py (opens in a new tab)scripts/rag_system_builder.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ml-pipelines, model-deployment, mlops, rag, llm-integration, drift-monitoring
npx claudepluginhub borghei/claude-skills --plugin engineering-advanced-skills100 skills in this plugin
/a11y-auditStatic WCAG scan of HTML files (alt text, headings, labels, ARIA, lang, landmarks) and colour contrast checks for colour pairs or CSS. Use when auditing templates for accessibility, checking contrast, or adding an a11y gate to CI.
/agent-designerDesigns multi-agent system architectures with orchestration patterns, tool schemas, and performance evaluation. Use when building AI agent systems, designing agent workflows, creating tool schemas, or evaluating agent performance.
/agent-harnessTest and evaluation harness for AI agents — scenario suites, deterministic replay, regression diffing, cost and latency budgets. Use when agent quality is vibe-checked, before shipping a prompt or model change, or when evals drift.
Other plugins' skills for the same job