modal

Deploy AI/ML models and workflows on Modal's cloud platform.

13|3|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/tassiovale/claude-code-kit --skill modal-tassiovale
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: modal
Source: https://github.com/tassiovale/claude-code-kit/tree/main/skills/modal
Command: npx skills add https://github.com/tassiovale/claude-code-kit --skill modal-tassiovale

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires modal, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill enables deploying and running AI/ML models and workflows on Modal's cloud platform, simplifying the process of serving models, scaling Python code, and scheduling jobs.

Core Features & Use Cases

  • Deploy AI/ML Models: Serve and scale AI/ML models with serverless functions and GPUs.
  • Serverless Compute: Run Python code serverlessly, with autoscaling and custom container images.
  • Scheduled Jobs: Schedule and run jobs at regular intervals or based on specific criteria.
  • Use Case: Deploy a model to serve predictions to a web endpoint and schedule a job to retrain the model at regular intervals.

Quick Start

Deploy a Python script to run on Modal and serve a model using the Modal Python SDK:

import modal

app = modal.App("my-app")

@app.function(gpu="H100")
def predict(text: str):
    # Run model inference
    return "Model prediction result"

modal deploy script.py

Frequently Asked Questions about modal

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy AI/ML models to a serverless compute endpoint?

Yes, you can run serverless Python code on custom container images by deploying scripts to Modal. This allows you to scale Python workflows serverlessly while maintaining your specific environment dependencies.

Can I schedule jobs to retrain machine learning models at regular intervals?

You can schedule jobs to retrain machine learning models at regular intervals by configuring Modal scheduled jobs. This automates your machine learning workflows based on specific time criteria or intervals.

Do I need the Modal Python SDK to serve predictions with GPUs?

Yes, you need the Modal Python SDK to serve predictions with GPUs. You must configure your credentials and environment variables to deploy functions that utilize GPUs like the H100 for model inference.

What is the best way to scale Python code for serverless computing?

The best way to scale Python code for serverless computing is deploying it as autoscaling functions on Modal. This approach handles custom containers and scheduled jobs without managing underlying infrastructure.

Are there limitations when using custom container images with serverless functions?

Limitations when using custom container images with serverless functions include the requirement to configure specific credentials and environment variables within the Modal Python SDK before deployment.