CtrlK
BlogDocsLog inGet started
Tessl Logo

model-deployment

Deploy ML models with FastAPI, Docker, Kubernetes. Use for serving predictions, containerization, monitoring, drift detection, or encountering latency issues, health check failures, version conflicts.

94

1.75x
Quality

92%

Does it follow best practices?

Impact

100%

1.75x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Evaluation results

100%

47%

Production API for a Fraud Detection Model

FastAPI ML server setup

Criteria
Without context
With context

Uses FastAPI

100%

100%

Uses joblib

100%

100%

Pydantic request model

100%

100%

Finite value validator

50%

100%

Liveness endpoint

50%

100%

Readiness endpoint

50%

100%

Batch prediction endpoint

100%

100%

model_version in response

100%

100%

latency_ms in response

0%

100%

Request logging middleware

0%

100%

X-Process-Time header

0%

100%

X-Model-Version header

0%

100%

100%

26%

Containerize a Sentiment Analysis API for Production

Docker containerization

Criteria
Without context
With context

Base image python:3.11-slim

0%

100%

Multi-stage build

0%

100%

Non-root user

100%

100%

MODEL_PATH env var

100%

100%

Uvicorn CMD on port 8000

100%

100%

HEALTHCHECK directive

100%

100%

Pinned requirements

100%

100%

Versioned image tag

100%

100%

Build arg for model version

0%

100%

pip --no-cache-dir

100%

100%

WORKDIR /app

100%

100%

EXPOSE 8000

100%

100%

100%

55%

Deploy a Churn Prediction Service to Kubernetes with Drift Monitoring

Kubernetes deployment and monitoring

Criteria
Without context
With context

Memory request 512Mi

0%

100%

Memory limit 1Gi

0%

100%

CPU request 500m

0%

100%

CPU limit 1000m

100%

100%

Liveness probe /health

100%

100%

Readiness probe /ready

0%

100%

Rolling update maxUnavailable 0

0%

100%

maxSurge: 1

100%

100%

KS test for input drift

100%

100%

Jensen-Shannon for prediction drift

0%

100%

Rolling window deque

100%

100%

should_retrain method

100%

100%

Periodic drift check

0%

100%

Repository
secondsky/claude-skills
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.