Agent skill · software engineering · k-dense-ai

modal

Modal is a serverless cloud platform for running Python on demand, including on-demand GPUs. Use when deploying or serving AI/ML models, running GPU-accelerated workloads (training, fine-tuning, inference), serving web endpoints, scheduling batch jobs, or scaling Python code to cloud containers with the Modal SDK.

Why this skill is useful

Provides specific commands and patterns for deploying AI/ML models on the Modal platform that the AI wouldn't reliably generate on its own.

What it needs

Requires modal installed locally. Requires modal account access. About 8k tokens when loaded. Last updated 2026-08-03. 32,849 stars on the source repository.

What this skill does

Modal Overview Modal is a cloud platform for running Python code serverlessly, with a focus on AI/ML workloads. Key capabilities: GPU compute on demand (T4, L4, A10, L40S, A100, H100, H200, B200) Serverless functions with autoscaling from zero to thousands of containers Custom container images built entirely in Python code Persistent storage via Volumes for model weights and datasets Web endpoints for serving models and APIs Scheduled jobs via cron or fixed intervals Sub-second cold starts for low-latency inference Everything in Modal is defined as code — no YAML, no Dockerfiles required (though both are supported). When to Use This Skill Use this skill when: Deploy or serve AI/ML models in the cloud Run GPU-accelerated computations (training, inference, fine-tuning) Create serverless web APIs or endpoints Scale batch processing jobs in parallel Schedule recurring tasks (data pipelines, retraining, scraping) Need persistent cloud storage for model weights or datasets Want to run code in custom container environments Build job queues or async task processing systems Installation and Authentication Install The Modal Python SDK supports Python 3.10–3.14. This skill targets the stable modal>=1.0 API (current release: 1.4.x). Authenticate Prefer existing credentials before creating new ones. Only the two Modal-specific variables below are relevant — do not read, load, or expose any other environment variables or .env file contents: 1. Check whether MODALTOKENID and MODALTOKENSECRET are already set in the current environment. 2. If not, look up only those two keys in a local .env file (ignore all other entries) and load them if appropriate for the workflow. 3. Only fall back to interactive modal setup or generating fresh tokens if neither source already provides those two values. This opens a browser for authentication. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills k-dense-ai/modal

View the source on GitHub

Browse the @skills marketplace