modal
Run Python code in the cloud with serverless containers, GPUs, and autoscaling. Use when deploying ML models, running batch processing jobs, scheduling compute-intensive tasks, or serving APIs that require GPU acceleration or dynamic scaling.
npx skills add LeonChaoX/qinyan-academic-skills --skill modal --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Modal ## Overview Modal is a serverless platform for running Python code in the cloud with minimal configuration. Execute functions on powerful GPUs, scale automatically to thousands of containers, and pay only for compute used. Modal is particularly suited for AI/ML workloads, high-performance batch processing, scheduled jobs, GPU inference, and serverless APIs. Sign up for free at https://modal.com and receive $30/month in credits. ## When to Use This Skill Use Modal for: - Deploying and serving ML models (LLMs, image generation, embedding models) - Running GPU-accelerated computation (training, inference, rendering) - Batch processing large datasets in parallel - Scheduling compute-intensive jobs (daily data processing, model training) - Building serverless APIs that need automatic scaling - Scientific computing requiring distributed compute or specialized hardware ## Authentication and Setup Modal requires authentication via API token. ### Initial Setup ```bash # Install Modal uv uv pip install modal # Authenticate (opens browser for login) modal token new ``` This creates a token stored in `~/.modal.toml`. The token authenticates all Modal operations. ### Verify Setup ```pyt
- Overview
- When to Use This Skill
- Authentication and Setup
- Initial Setup
- Verify Setup
- Core Capabilities
- 1. Define Container Images
- 2. Create Functions
- 3. Request GPUs
- 4. Configure Resources
- 5. Scale Automatically
- 6. Store Data Persistently
- 7. Manage Secrets
- 8. Deploy Web Endpoints
Install Modal uv uv pip install modal Authenticate (opens browser for login) modal token new modal secret create my-secret KEY=value API_TOKEN=xyz modal deploy script.py
What does the modal skill do?
Run Python code in the cloud with serverless containers, GPUs, and autoscaling. Use when deploying ML models, running batch processing jobs, scheduling compute-intensive tasks, or serving APIs that require GPU acceleration or dynamic scaling.
How do I install it?
Run `npx skills add LeonChaoX/qinyan-academic-skills --skill modal --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From LeonChaoX/qinyan-academic-skills, a repository with 759 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
