AutomationResearch InfrastructureK-Dense-AI/claude-scientific-skillsData & Reproduction
MO

Modal

Maintainer K-Dense Inc. · Last updated April 1, 2026

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.

Claude CodeAnalysisReproductionmodaldata-infrastructurepackagedata management & infrastructure

Original source

K-Dense-AI/claude-scientific-skills

https://github.com/K-Dense-AI/claude-scientific-skills/tree/main/scientific-skills/modal

Maintainer
K-Dense Inc.
License
Apache-2.0
Last updated
April 1, 2026

Skill Snapshot

Key Details From SKILL.md

2 min

Key Notes

  • 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.

Source Doc

Excerpt From SKILL.md

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

Authenticate

Prefer existing credentials before creating new ones:

  1. Check whether MODAL_TOKEN_ID and MODAL_TOKEN_SECRET are already present in the current environment.
  2. If not, check for those values in a local .env file 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 credentials.

This opens a browser for authentication. For CI/CD or headless environments, use environment variables:

If tokens are not already available in the environment or .env, generate them at https://modal.com/settings

Modal offers a free tier with $30/month in credits.

Reference: See references/getting-started.md for detailed setup and first app walkthrough.

App and Functions

A Modal App groups related functions. Functions decorated with @app.function() run remotely in the cloud:

Run with modal run script.py. Deploy with modal deploy script.py.

Reference: See references/functions.md for lifecycle hooks, classes, .map(), .spawn(), and more.

Use cases

  • 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.

Not for

  • Do not rely on this catalog entry alone for installation or maintenance details.

Related skills

Related skills

Back to directory
CE
AutomationResearch Infrastructure

cellular-senescence-agent

Cellular senescence analysis: marker scoring, SASP profiling, tissue aging assessment.

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
CO
AutomationResearch Infrastructure

consensus-sequences

consensus-sequences.

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
DO
AutomationResearch Infrastructure

docx

A user may ask you to create, edit, or analy.

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
FI
AutomationResearch Infrastructure

filtering-best-practices

filtering-best-practices.

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView