senior-ml-engineer
БесплатноЗапускает вложенные скриптыНе проверенProductionize ML models and LLM features: deployment specs, drift monitoring, RAG design and cost control. Use when deploying a model, building RAG, or…
от borghei★ 1 250 звёзд на GitHubОб этом скилле
Senior ML Engineer
Production ML engineering patterns for model deployment, MLOps infrastructure, and LLM integration.
Core Capabilities
- Model deployment — export to ONNX/TorchScript/SavedModel, containerize, canary rollout, and serve via FastAPI, Triton, TF Serving, TorchServe, or Ray Serve with p95<100ms / error<0.1% gates.
- MLOps pipelines — feature stores (Feast/Tecton), experiment tracking (MLflow/W&B), model registry, A/B testing, and drift-triggered retraining.
- LLM integration — provider abstraction, retry/fallback with exponential backoff, token counting, response caching, cost tracking, and Pydantic output validation.
- RAG systems — vector database selection, chunking strategies, ingestion, retrieval, and reranking.
- Model monitoring — latency/error tracking, input drift detection (KS test, PSI), prediction-shift alerts, and automated retraining triggers.
When to Use
- Deploying a trained model to production with canary rollout and monitoring.
- Standing up MLOps infrastructure (feature store, registry, retraining).
- Integrating LLM APIs with provider abstraction and cost control.
- Building a RAG pipeline (vector DB + chunking + retrieval + reranking).
- Setting up drift detection and model-health alerting.
Clarify First
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.
- Task: model deployment / RAG pipeline build / monitoring setup (selects the script and workflow).
- Serving target & rollout: container vs K8s and canary vs direct (drives the generated Dockerfile/manifests and health gates; the tool writes a rolling-update Deployment, so canary splitting is configured by hand from the references).
- Model or data interface: the input/output contract, and for RAG the corpus + vector store (shapes the scaffold).
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.
Tools
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.
References
Load the reference that matches the task — keep this file lean and pull detail on demand:
- references/production-ml-workflows.md — the five step-by-step workflows (model deployment, MLOps setup, LLM integration, RAG, monitoring) with all code templates, serving/vector-DB/chunking/cost tables, the troubleshooting matrix, and success criteria. Read when executing any workflow.
- references/tool-reference.md — flags, spec fields, decision rules, thresholds, exit codes and sample output for the three scripts. Read when running the tools or interpreting their output.
Установить senior-ml-engineer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл senior-ml-engineer?
Productionize ML models and LLM features: deployment specs, drift monitoring, RAG design and cost control. Use when deploying a model, building RAG, or monitoring drift.
Как установить скилл senior-ml-engineer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл senior-ml-engineer запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic