Skip to content
Back to skills

Modal Compute

ASecurity

Run explicitly chosen research benchmark or replication jobs on Modal's serverless infrastructure. Use when a Feynman research workflow needs burst remote GPU compute and the Modal CLI is available.

  • 211 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 21, 2026
toolspythonshellbashdebugging

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 13 files and shows the line behind each finding

Scanned September 21, 2026

npx -y skills add NeverSight/skills_feed --skill modal-compute --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Modal Compute?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Modal Compute
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-modal-compute/badge)](https://www.skillsdirectory.com/skills/neversight-modal-compute)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: modal-compute
description: Run explicitly chosen research benchmark or replication jobs on Modal's serverless infrastructure. Use when a Feynman research workflow needs burst remote GPU compute and the Modal CLI is available.
---

# Modal Compute

Use the `modal` CLI for bounded research experiments that need burst GPU compute. No pod lifecycle to manage; write a decorated Python script, run it, and save raw outputs back into the research artifact folder. Do not use this skill to deploy services or unrelated batch jobs.

## Setup

```bash
pip install modal
modal setup
```

## Commands

| Command | Description |
|---------|-------------|
| `modal run script.py` | Run one research experiment script on Modal |
| `modal run --detach script.py` | Run a long research experiment and record the returned app/run identifier |
| `modal shell --gpu a100` | Open an interactive GPU shell for research environment debugging |

## GPU types

`T4`, `L4`, `A10G`, `L40S`, `A100`, `A100-80GB`, `H100`, `H200`, `B200`

Multi-GPU: `"H100:4"` for 4x H100s.

## Script pattern

```python
import modal

app = modal.App("experiment")
image = modal.Image.debian_slim(python_version="3.11").pip_install("torch==2.8.0")

@app.function(gpu="A100", image=image, timeout=600)
def train():
    import torch
    # training code here

@app.local_entrypoint()
def main():
    train.remote()
```

## When to use

- Bounded replication or benchmark jobs that need burst GPU
- No persistent state needed between runs
- Check availability: `command -v modal`

Files in this skill

  • SKILL.md1.5 KB
  • description_ar.txt334 B
  • description_cn.txt186 B
  • description_de.txt272 B
  • description_en.txt199 B
  • description_es.txt292 B
  • description_fr.txt279 B
  • description_it.txt253 B
  • description_ja.txt371 B
  • description_ko.txt264 B
  • description_ru.txt530 B
  • description_tw.txt181 B
  • stats.json69 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…