Model Deployment
Deployment guide for serving ML models with FastAPI, Docker, and Kubernetes, covering rollout safety and monitoring.
- CCM score
- 48 of 100
- skills.sh installs
- 402
- GitHub stars
- 257
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the path from a saved model file to a running service: FastAPI server, Dockerfile, registry push, and Kubernetes rollout
- Includes liveness and readiness probes, resource limits, a batch prediction endpoint, and rollback commands for failed deploys
- Shows drift detection and performance-threshold checks in CI so a model that fails validation is not deployed
- Designed for teams serving predictions over REST that need health checks, versioned images, and documented rollback steps
Install
$ npx -y skills add secondsky/claude-skills --skill model-deployment -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
ML Model Deployment
Deploy trained models to production with proper serving and monitoring.
Deployment Options
| Method | Use Case | Latency |
|---|---|---|
| REST API | Web services | Medium |
| Batch | Large-scale processing | N/A |
| Streaming | Real-time | Low |
| Edge | On-device | Very low |
FastAPI Model Server
from fastapi import FastAPI
from pydantic import BaseModel
import joblib
import numpy as np
app = FastAPI()
model = joblib.load('model.pkl')
class PredictionRequest(BaseModel):
features: list[float]
class PredictionResponse(BaseModel):
prediction: float
probability: float
@app.get('/health')
def health():
return {'status': 'healthy'}
@app.post('/predict', response_model=PredictionResponse)
def predict(request: PredictionRequest):
features = np.array(request.features).reshape(1, -1)
prediction = model.predict(features)[0]
probability = model.predict_proba(features)[0].max()
return PredictionResponse(prediction=prediction, probability=probability)
Docker Deployment
FROM python:3.12-slim
Details
- Repository
- github.com/secondsky/claude-skills
- Categories
- DevOps & Cloud, Data Science & Analytics
- First seen
- Jun 3, 2026
Questions
What does the model-deployment skill do?
The model-deployment skill guides an agent to deploy trained ML models to production with FastAPI model servers, Docker containers and Kubernetes. It also covers serving predictions, model monitoring, drift detection, health checks and rollback when latency or version issues appear.
How do I install the model-deployment skill?
Run this command in your project: npx -y skills add secondsky/claude-skills --skill model-deployment -y. Once installed, the agent can help you containerize a model, add liveness and readiness probes, and set up rollback steps.
Where does model-deployment rank in the DevOps and Cloud category?
model-deployment is listed in the DevOps and Cloud category on Claude Marketplaces, alongside skills such as azure-diagnostics, azure-prepare, azure-deploy, azure-validate and azure-storage. It is aimed at putting machine learning models into production rather than general cloud infrastructure.
Who is model-deployment for?
It is for developers and MLOps engineers who need to take a trained model, such as a joblib-saved scikit-learn model, and serve it over a REST API. It is especially useful when troubleshooting latency issues, failing health checks or version conflicts.
What does model-deployment need to run?
The skill's examples use Python with FastAPI, Pydantic, NumPy and joblib, plus Docker to build the image and kubectl to deploy to Kubernetes. A saved model file such as model.pkl and a container registry for pushing images are also needed.
More from secondsky/claude-skills
All 116- Jest Generator401
- Thesys Generative Ui392
- Nuxt Studio390
- Maz Ui389
- Woocommerce Code Review388
- Woocommerce Backend Dev387
- Woocommerce Copy Guidelines383
- Woocommerce Dev Cycle383
- Nuxt Seo344
- Tailwind V4 Shadcn8.3K
- Aceternity Ui1.6K
- Vitest Testing1.3K
- Motion1.2K
- Playwright1.1K
- Api Testing924
- Responsive Web Design728
- Zod674
- Nano Banana Prompts645
- Mobile First Design621
- Image Optimization618
- Rest Api Design609
- Web Performance Optimization594
- Inspira Ui585
- Web Performance Audit563
Similar to Model Deployment
More DevOps & Clouddeployment-patternsaffaan-m/ecc13.3K installsDeployment workflows, CI/CD pipelines, Dockerfiles, and health checks for production web apps with pre-release checks.
ml-ops-engineerborghei/claude-skills182 installsMLOps guide covering model serving, training pipelines, drift detection, feature stores, and experiment tracking.
kubernetes-deploymentaj-geddes/useful-ai-prompts768 installsKubernetes deployment guidance covering rolling updates, resource limits, health checks, and RBAC for production workloads.
health-check-endpointssecondsky/claude-skills429 installsHealth check endpoints covering liveness, readiness, and dependency probes for Kubernetes and load balancers.
coolify-deployv1truv1us/ai-eng-system192 installsStep-by-step Coolify deployment guide covering builds, environment variables, health checks, and rollbacks for self-hosted apps.