Modal
BioTender-max/awesome-bio-agent-skills
Cloud computing platform for running Python on GPUs and serverless infrastructure.
Run Python code in the cloud with serverless containers, GPUs, and autoscaling.
$ npx skills add davila7/claude-code-templates --skill modal -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install davila7/claude-code-templates modal --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/scientific/modal .claude/skills/modal && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "modal" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/scientific/modal into .claude/skills/modal/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "modal", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/scientific/modalType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add davila7/claude-code-templates --skill modal -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install davila7/claude-code-templates modal --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .agents/skills && cp -r skills-src/cli-tool/components/skills/scientific/modal .agents/skills/modal && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "modal" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/scientific/modal into .agents/skills/modal/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "modal", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add davila7/claude-code-templates --skill modal -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install davila7/claude-code-templates modal --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/cli-tool/components/skills/scientific/modal .cursor/skills/modal && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "modal" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/scientific/modal into .cursor/skills/modal/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "modal", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/davila7/claude-code-templates.git --path cli-tool/components/skills/scientific/modal--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add davila7/claude-code-templates --skill modal -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install davila7/claude-code-templates modal --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/cli-tool/components/skills/scientific/modal .gemini/skills/modal && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "modal" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/scientific/modal into .gemini/skills/modal/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "modal", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install davila7/claude-code-templates modalInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add davila7/claude-code-templates --skill modal -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .github/skills && cp -r skills-src/cli-tool/components/skills/scientific/modal .github/skills/modal && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "modal" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/scientific/modal into .github/skills/modal/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "modal", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add davila7/claude-code-templates --skill modal -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install davila7/claude-code-templates modal --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/cli-tool/components/skills/scientific/modal .opencode/skills/modal && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "modal" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/scientific/modal into .opencode/skills/modal/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "modal", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
modalRun Python code in the cloud with serverless containers, GPUs, and autoscaling.
Modal is an agent skill from davila7/claude-code-templates. 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.
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including reference files (for example `references/api_reference.md`, `references/examples.md` and `references/functions.md`).
It sits in Backend & APIs, covering Machine learning, Serverless and Data pipelines and ETL. It works with Python. The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.
9 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 14680ec. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
modaluvFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
modal.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
HF_TOKENAPI_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Modal loads about 2.6k tokens when it runs, and up to ~17k if it reads all its reference files. Until then it costs about 62 tokens; SKILL.md has 703 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from davila7/claude-code-templates at commit 14680ec, republished under its MIT licence (© davila7). 703 words, ~2,642 tokens.
.claude/skills/modal/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.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.
Use Modal for:
Modal requires authentication via API token.
# Install Modal
uv uv pip install modal
# Authenticate (opens browser for login)
modal token newThis creates a token stored in ~/.modal.toml. The token authenticates all Modal operations.
import modal
app = modal.App("test-app")
@app.function()
def hello():
print("Modal is working!")Run with: modal run script.py
Modal provides serverless Python execution through Functions that run in containers. Define compute requirements, dependencies, and scaling behavior declaratively.
Specify dependencies and environment for functions using Modal Images.
import modal
# Basic image with Python packages
image = (
modal.Image.debian_slim(python_version="3.12")
.uv_pip_install("torch", "transformers", "numpy")
)
app = modal.App("ml-app", image=image)Common patterns:
.uv_pip_install("pandas", "scikit-learn").apt_install("ffmpeg", "git")modal.Image.from_registry("nvidia/cuda:12.1.0-base").add_local_python_source("my_module")See references/images.md for comprehensive image building documentation.
Define functions that run in the cloud with the @app.function() decorator.
@app.function()
def process_data(file_path: str):
import pandas as pd
df = pd.read_csv(file_path)
return df.describe()Call functions:
# From local entrypoint
@app.local_entrypoint()
def main():
result = process_data.remote("data.csv")
print(result)Run with: modal run script.py
See references/functions.md for function patterns, deployment, and parameter handling.
Attach GPUs to functions for accelerated computation.
@app.function(gpu="H100")
def train_model():
import torch
assert torch.cuda.is_available()
# GPU-accelerated code hereAvailable GPU types:
T4, L4 - Cost-effective inferenceA10, A100, A100-80GB - Standard training/inferenceL40S - Excellent cost/performance balance (48GB)H100, H200 - High-performance trainingB200 - Flagship performance (most powerful)Request multiple GPUs:
@app.function(gpu="H100:8") # 8x H100 GPUs
def train_large_model():
passSee references/gpu.md for GPU selection guidance, CUDA setup, and multi-GPU configuration.
Request CPU cores, memory, and disk for functions.
@app.function(
cpu=8.0, # 8 physical cores
memory=32768, # 32 GiB RAM
ephemeral_disk=10240 # 10 GiB disk
)
def memory_intensive_task():
passDefault allocation: 0.125 CPU cores, 128 MiB memory. Billing based on reservation or actual usage, whichever is higher.
See references/resources.md for resource limits and billing details.
Modal autoscales functions from zero to thousands of containers based on demand.
Process inputs in parallel:
@app.function()
def analyze_sample(sample_id: int):
# Process single sample
return result
@app.local_entrypoint()
def main():
sample_ids = range(1000)
# Automatically parallelized across containers
results = list(analyze_sample.map(sample_ids))Configure autoscaling:
@app.function(
max_containers=100, # Upper limit
min_containers=2, # Keep warm
buffer_containers=5 # Idle buffer for bursts
)
def inference():
passSee references/scaling.md for autoscaling configuration, concurrency, and scaling limits.
Use Volumes for persistent storage across function invocations.
volume = modal.Volume.from_name("my-data", create_if_missing=True)
@app.function(volumes={"/data": volume})
def save_results(data):
with open("/data/results.txt", "w") as f:
f.write(data)
volume.commit() # Persist changesVolumes persist data between runs, store model weights, cache datasets, and share data between functions.
See references/volumes.md for volume management, commits, and caching patterns.
Store API keys and credentials securely using Modal Secrets.
@app.function(secrets=[modal.Secret.from_name("huggingface")])
def download_model():
import os
token = os.environ["HF_TOKEN"]
# Use token for authenticationCreate secrets in Modal dashboard or via CLI:
modal secret create my-secret KEY=value API_TOKEN=xyzSee references/secrets.md for secret management and authentication patterns.
Serve HTTP endpoints, APIs, and webhooks with @modal.web_endpoint().
@app.function()
@modal.web_endpoint(method="POST")
def predict(data: dict):
# Process request
result = model.predict(data["input"])
return {"prediction": result}Deploy with:
modal deploy script.pyModal provides HTTPS URL for the endpoint.
See references/web-endpoints.md for FastAPI integration, streaming, authentication, and WebSocket support.
Run functions on a schedule with cron expressions.
@app.function(schedule=modal.Cron("0 2 * * *")) # Daily at 2 AM
def daily_backup():
# Backup data
pass
@app.function(schedule=modal.Period(hours=4)) # Every 4 hours
def refresh_cache():
# Update cache
passScheduled functions run automatically without manual invocation.
See references/scheduled-jobs.md for cron syntax, timezone configuration, and monitoring.
import modal
# Define dependencies
image = modal.Image.debian_slim().uv_pip_install("torch", "transformers")
app = modal.App("llm-inference", image=image)
# Download model at build time
@app.function()
def download_model():
from transformers import AutoModel
AutoModel.from_pretrained("bert-base-uncased")
# Serve model
@app.cls(gpu="L40S")
class Model:
@modal.enter()
def load_model(self):
from transformers import pipeline
self.pipe = pipeline("text-classification", device="cuda")
@modal.method()
def predict(self, text: str):
return self.pipe(text)
@app.local_entrypoint()
def main():
model = Model()
result = model.predict.remote("Modal is great!")
print(result)@app.function(cpu=2.0, memory=4096)
def process_file(file_path: str):
import pandas as pd
df = pd.read_csv(file_path)
# Process data
return df.shape[0]
@app.local_entrypoint()
def main():
files = ["file1.csv", "file2.csv", ...] # 1000s of files
# Automatically parallelized across containers
for count in process_file.map(files):
print(f"Processed {count} rows")@app.function(
gpu="A100:2", # 2x A100 GPUs
timeout=3600 # 1 hour timeout
)
def train_model(config: dict):
import torch
# Multi-GPU training code
model = create_model(config)
train(model)
return metricsDetailed documentation for specific features:
references/getting-started.md - Authentication, setup, basic conceptsreferences/images.md - Image building, dependencies, Dockerfilesreferences/functions.md - Function patterns, deployment, parametersreferences/gpu.md - GPU types, CUDA, multi-GPU configurationreferences/resources.md - CPU, memory, disk managementreferences/scaling.md - Autoscaling, parallel execution, concurrencyreferences/volumes.md - Persistent storage, data managementreferences/secrets.md - Environment variables, authenticationreferences/web-endpoints.md - APIs, webhooks, endpointsreferences/scheduled-jobs.md - Cron jobs, periodic tasksreferences/examples.md - Common patterns for scientific computing.uv_pip_install() for reproducible buildsmax_containers and min_containers based on workload.map() for parallel processing instead of sequential loops"Module not found" errors:
.uv_pip_install("package-name")GPU not detected:
@app.function(gpu="A100")torch.cuda.is_available()Function timeout:
@app.function(timeout=3600)Volume changes not persisting:
volume.commit() after writing filesFor additional help, see Modal documentation at https://modal.com/docs or join Modal Slack community.
© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 12 other files (references) in cli-tool/components/skills/scientific/modal of davila7/claude-code-templates.
Open the folder on GitHubat commit 14680ec
We found 19 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 8 other GitHub owners. This page covers the copy in davila7/claude-code-templates, which our catalogue first saw on October 7, 2026.
Modal next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Modal this skilldavila7/claude-code-templates | 32k | 8 repos | ~2.6k | Automated safety check: Pass | MIT | |
| ModalBioTender-max/awesome-bio-agent-skills | 197 | — | ~3.1k | Automated safety check: Notes | Apache-2.0 | |
| ModalK-Dense-AI/scientific-agent-skills | 48k | 1 repos | ~4.5k | Automated safety check: Notes | Apache-2.0 | |
| Testing Mwaa Workflowaws/agent-toolkit-for-aws | 2.8k | — | ~3.8k | Automated safety check: Pass | Apache-2.0 | |
| Time Series Analytics Useropen-edge-platform/edge-ai-libraries | 169 | — | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| Authoring Mwaa Workflowaws/agent-toolkit-for-aws | 2.8k | — | ~2.8k | Automated safety check: Pass | Apache-2.0 |
BioTender-max/awesome-bio-agent-skills
Cloud computing platform for running Python on GPUs and serverless infrastructure.
K-Dense-AI/scientific-agent-skills
Modal is a serverless cloud platform for running Python on demand, including on-demand GPUs.
aws/agent-toolkit-for-aws
Tests Amazon MWAA workflow execution end-to-end: trigger a run and monitor it to completion for Provisioned (Python DAG, via Airflow REST API) and Serverless (YAML workflow, via StartWorkflowRun).
open-edge-platform/edge-ai-libraries
Build a new time-series analytics use case on top of the deployed Time Series Analytics microservice — bring it up with Docker Compose (from a repo clone, or by fetching the compose files from…
aws/agent-toolkit-for-aws
Authors and deploys MWAA workflow artifacts: Python Airflow DAGs for provisioned environments or YAML workflow files for Serverless.
majiayu000/claude-skill-registry
Run Python code on cloud GPUs using Modal serverless platform.
davila7/claude-code-templates
Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.
davila7/claude-code-templates
Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.
davila7/claude-code-templates
Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.
davila7/claude-code-templates
Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.
davila7/claude-code-templates
Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.
davila7/claude-code-templates
Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.
Works with
Categories
Run Python code in the cloud with serverless containers, GPUs, and autoscaling. Modal is an agent skill from davila7/claude-code-templates. Run Python code in the cloud with serverless containers, GPUs, and autoscaling.
Modal fits situations like: deploying ML models; running batch processing jobs; scheduling compute-intensive tasks; serving APIs that require GPU acceleration.
Run `npx skills add davila7/claude-code-templates --skill modal -a claude-code`. Or copy the skill folder (cli-tool/components/skills/scientific/modal in davila7/claude-code-templates) into .claude/skills/modal in your project. Claude Code loads it when a task matches its description.
Run `npx skills add davila7/claude-code-templates --skill modal -a codex`. Or copy the skill folder (cli-tool/components/skills/scientific/modal in davila7/claude-code-templates) into .agents/skills/modal in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill modal -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/modal, .gemini/skills/modal, .github/skills/modal and .opencode/skills/modal in your project.
Going by SKILL.md and its folder, Modal needs the command-line tools its instructions call (modal and uv) and credentials named HF_TOKEN and API_TOKEN. Our summary lists: Python 3; Docker; A credential in API_TOKEN.
SKILL.md names 1 domain. As links in the text: modal.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Modal is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 14k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Modal: Modal (BioTender-max/awesome-bio-agent-skills, 197 stars), Modal (K-Dense-AI/scientific-agent-skills, 48k stars), Testing Mwaa Workflow (aws/agent-toolkit-for-aws, 2.8k stars) and Time Series Analytics User (open-edge-platform/edge-ai-libraries, 169 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,463 GitHub stars. The repository holds 477 skills in this directory. The repository was last updated on October 8, 2026.
Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.