model-deployer
Generate deployment artifacts for ML models -- FastAPI serving code, Dockerfiles, cloud configs, batch prediction scripts, and monitoring setup.
Skill by tezansahu
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/tezansahu-model-deployer
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, devops, cloud, ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/model-deployer
What's inside
- Skill name
model-deployer- Description
- Generate deployment artifacts for ML models -- FastAPI serving code, Dockerfiles, cloud configs, batch prediction scripts, and monitoring setup. Trigger when the user asks to "deploy this model", "serve this model", "create an API for this model", "productionize", "Dockerize this model", "deploy to AWS/GCP/Azure", "create a prediction endpoint", "model serving", "batch predictions", or wants to take a trained model from notebook to production. Also triggers on "how to deploy", "model API", "Flask/FastAPI wrapper for model".
- License
- GPL-3.0
- Instructions
- 241 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (2)
- SKILL.md
- cloud-deploy.md · references/
SKILL.md (first lines)
# Model Deployer
Take a trained model from notebook to production with serving code, containers, and cloud deployment.
---
## Workflow
```
1. Identify deployment pattern (real-time API vs batch)
2. Generate serving code
3. Create Docker container
4. Add monitoring and health checks
5. Generate cloud deployment config
```
---
## Step 1 -- Deployment Pattern
| Pattern | When | Framework |
|---|---|---|
| **Real-time API** | Low-latency predictions, user-facing | FastAPI |
| **Batch prediction** | Scheduled scoring of large datasets | Python script + scheduler |
| **Streaming** | Event-driven predictions | Kafka consumer + model |
| **Embedded** | Model runs in app process | Direct library import |
| **Serverless** | Infrequent, bursty traffic | AWS Lambda / GCP Cloud Functions |
**Default**: Real-time API with FastAPI.
---
## Step 2 -- Serving Code
### FastAPI Template
```python
"""Model serving API."""
import joblib
import numpy as np
from fastapi import FastAPI, HTTPException
from pydantic import BaseModel, Field
from typing import Optional
import logging
import time
# --- Config ---
MODEL_PATH = "model_artifacts/best_model.joblib"
APP_TITLE = "ML Model API"
APP_VERSION = "1.0.0"
# --- Setup ---
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
app = FastAPI(title=APP_TITLE, version=APP_VERSION)
# Load model at startup
model = None
@app.on_event("startup")
def load_model():
global model
logger.info(f"Loading model from {MODEL_PATH}")
model = joblib.load(MODEL_PATH)
logger.info("Model loaded successfully")
# --- Schemas ---
class PredictionRequest(BaseModel):
features: dict = Field(..., description="Feature name-value pairs", example={
"age": 35, "income": 75000, "tenure_months": 24
})
class PredictionResponse(BaseModel):
prediction: float | int | str
probability: Optional[list[float]] = None
model_version: str = APP_VERSION
latency_ms: float
# --- Endpoints ---
@app.post("/predict", response_model=PredictionResponse)
async def predict(request: PredictionRequest):
start = time.time()
try:
# Convert features to model input format
feature_names = list(request.features.keys())
feature_values = np.array([list(request.features.values())])
# Handle pandas DataFrame input if model expects it
import pandas as pd
X = pd.DataFrame(feature_values, columns=feature_names)
prediction = model.predict(X)[0]
probability = None
if hasattr(model, "predict_proba"):
probability = model.predict_proba(X)[0].tolist()
latency = (time.time() - start) * 1000
return PredictionResponse(
prediction=prediction,
probability=probability,
latency_ms=round(latency, 2),
)
except Exception as e:
logger.error(f"Prediction error: {e}")
raise HTTPException(status_code=422, detail=str(e))
@app.get("/health")
async def health():
return {"status": "healthy", "model_loaded": model is not None}
@app.get("/model-info")
async def model_info():
info = {"version": APP_VERSION, "type": type(model).__name__}
if hasattr(model, "feature_names_in_"):From tezansahu/ai-garage, GPL-3.0.
More from tezansahu/ai-garage
- 0.605score
generate-structurizr-c4-diagram
tezansahu
Generate C4 software-architecture diagrams in Structurizr DSL from a codebase, folder(s), a description, docs, or an existing diagram, then render them in the…
SkillBFreshness: B★ 16Claude Code +9 - 0.605score
insight-extractor
tezansahu
Extract key, actionable insights from knowledge resources and save as structured markdown files in the knowledge/insights/ folder.
SkillBFreshness: B★ 16Claude Code +9 - 0.605score
arxiv-submission
tezansahu
Submit a paper to arXiv as a preprint.
SkillBFreshness: B★ 16Claude Code +9 - 0.602score
evaluate-skill-with-copilot-sdk
tezansahu
Evaluate a skill with the GitHub Copilot SDK — measure its triggering accuracy and compare its output quality against a no-skill baseline.
SkillBFreshness: B★ 16Claude Code +9 - 0.580score
skill-creator
tezansahu
Create new skills, modify and improve existing skills, and measure skill performance.
SkillBFreshness: B★ 16Claude Code +9 - 0.575score
tdd
tezansahu
Test-driven development.
SkillBFreshness: B★ 16Claude Code +9 - 0.572score
to-spec
tezansahu
Turn the current conversation into a spec and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.
SkillBFreshness: B★ 16Claude Code +9 - 0.572score
to-tickets
tezansahu
Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker —…
SkillBFreshness: B★ 16Claude Code +9 - 0.564score
implement
tezansahu
Implement a piece of work based on a spec or set of tickets.
SkillBFreshness: B★ 16Claude Code +9 - 0.555score
stats-advisor
tezansahu
Recommend and execute the right statistical test for a given question, with plain-English interpretation.
SkillCFreshness: C★ 16Claude Code +9 - 0.555score
eda-autopilot
tezansahu
Perform comprehensive Exploratory Data Analysis on any tabular dataset (CSV, Parquet, Excel, or database table).
SkillCFreshness: C★ 16Claude Code +9 - 0.555score
llm-app-builder
tezansahu
Scaffold and build LLM-powered applications -- RAG pipelines, agentic workflows, structured output chains, tool-calling agents, and chatbot interfaces.
SkillCFreshness: C★ 16Claude Code +9
Signals
- Stars
- 16
- Forks
- 8
- Open issues
- 1
- Last commit (this folder)
- Jul 7, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- GPL-3.0
- Repository
- github.com/tezansahu/ai-garage
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from tezansahu
- 0.605score
generate-structurizr-c4-diagram
tezansahu
Generate C4 software-architecture diagrams in Structurizr DSL from a codebase, folder(s), a description, docs, or an existing diagram, then render them in the…
SkillBFreshness: B★ 16Claude Code +9 - 0.605score
insight-extractor
tezansahu
Extract key, actionable insights from knowledge resources and save as structured markdown files in the knowledge/insights/ folder.
SkillBFreshness: B★ 16Claude Code +9 - 0.605score
arxiv-submission
tezansahu
Submit a paper to arXiv as a preprint.
SkillBFreshness: B★ 16Claude Code +9 - 0.602score
evaluate-skill-with-copilot-sdk
tezansahu
Evaluate a skill with the GitHub Copilot SDK — measure its triggering accuracy and compare its output quality against a no-skill baseline.
SkillBFreshness: B★ 16Claude Code +9 - 0.580score
skill-creator
tezansahu
Create new skills, modify and improve existing skills, and measure skill performance.
SkillBFreshness: B★ 16Claude Code +9 - 0.575score
tdd
tezansahu
Test-driven development.
SkillBFreshness: B★ 16Claude Code +9
Cite this page
model-deployer skill. Agent Mart. https://agentmart.dev/skills/tezansahu-model-deployer (last updated 2026-10-24)