Agent skill

Serverless Modal

by AI4Scientist in AI4Scientist/nano-scientist

Run GPU workloads on Modal — training, fine-tuning, inference, batch processing.

No licenceAuto-check: notesBackend & APIs

Install Serverless Modal

skills CLI
$ npx skills add AI4Scientist/nano-scientist --skill serverless-modal -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AI4Scientist/nano-scientist serverless-modal --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AI4Scientist/nano-scientist.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/serverless-modal .claude/skills/serverless-modal && rm -rf skills-src

Use ~/.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/

Facts

Skill name
serverless-modal
GitHub stars
128
Used in
4 other repos
Token cost
~3.1k tokens
SKILL.md length
825 words
Files
1
Skills in repo
76
Repo updated
First seen
Licence
None found

At a glance

Run GPU workloads on Modal — training, fine-tuning, inference, batch processing.

  • Works in 6 steps: Analyze Task → Estimate Cost → Choose GPU → Generate Modal Launcher → Run → …
  • User says modal run
  • SKILL.md covers Overview, Authentication, Pricing (source:… and !! Cost Estimation Required !!, plus 6 more sections
  • Calls modal and pip; needs HF_TOKEN

What it does

Serverless Modal is an agent skill from AI4Scientist/nano-scientist. Run GPU workloads on Modal — training, fine-tuning, inference, batch processing. Zero-config serverless: no SSH, no Docker, auto scale-to-zero. Use when user says "modal run", "modal training", "modal inference", "deploy to modal", "need a GPU", "run on modal", "serverless GPU", or needs remote GPU compute.

Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Serverless, GPU and accelerator computing and Data pipelines and ETL. It works with Docker. The repository describes itself as: An autonomous research agent that turns a topic into a peer-reviewed technical report.

When your agent uses it

  • User says modal run
  • Modal inference
  • Deploy to modal
  • Needs remote GPU compute

Example prompts

  • “modal run”
  • “modal training”
  • “modal inference”
  • “/serverless-modal”

Requirements

  • Python 3
  • Docker
  • Pre-approved tools (allowed-tools): Bash(*), Read, Grep, Glob, Edit, Write, Agent

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Analyze Task → Estimate Cost → Choose GPU
  2. Generate Modal Launcher
  3. Run
  4. Verify & Monitor
  5. Collect Results
  6. Cleanup

What it can do on your machine

Read from SKILL.md and the folder at commit 7132192. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(*)
    • Read
    • Grep
    • Glob
    • Edit
    • Write
    • Agent

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • modal
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • modal.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • HF_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Serverless Modal loads about 3.1k tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 825 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~81
When it runs · the whole SKILL.md, loaded when a task matches
~3.1k

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.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash(*), Read, Grep, Glob, Edit, Write, Agent

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.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 825 words (~3,101 tokens).

name
serverless-modal
allowed-tools
Bash(*), Read, Grep, Glob, Edit, Write, Agent
argument-hint
task-description

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/serverless-modal of AI4Scientist/nano-scientist.

Open the folder on GitHubat commit 7132192

Used in 4 other repositories

We found 11 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in AI4Scientist/nano-scientist, which our catalogue first saw on October 7, 2026.

Compare with similar skills

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

Serverless Modal compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Serverless Modal this skillAI4Scientist/nano-scientist1284 repos~3.1kAutomated safety check: NotesNone
Runpodericrisco/rsc-harness156—~2.8kAutomated safety check: PassMIT
ModalK-Dense-AI/scientific-agent-skills48k1 repos~4.5kAutomated safety check: NotesApache-2.0
ModalBioTender-max/awesome-bio-agent-skills197—~3.1kAutomated safety check: NotesApache-2.0
Finetuningawslabs/agent-plugins9121 repos~2.3kAutomated safety check: PassApache-2.0
Model Deploymentawslabs/agent-plugins9121 repos~1.5kAutomated safety check: PassApache-2.0

Similar skills

  • Runpod

    ericrisco/rsc-harness

    A skill your agent uses when running GPU compute on RunPod and deciding between Pods (hourly, always-on) and Serverless (per-second, autoscaling) for training, fine-tuning or inference — serverless…

    156 GitHub stars~2.8k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Modal

    K-Dense-AI/scientific-agent-skills

    Modal is a serverless cloud platform for running Python on demand, including on-demand GPUs.

    48k GitHub starsUsed in 1 repo~4.5k tokens
    Backend & APIsAuto-check: notes
  • Modal

    BioTender-max/awesome-bio-agent-skills

    Cloud computing platform for running Python on GPUs and serverless infrastructure.

    197 GitHub stars~3.1k tokensUpdated 3 mo ago
    Backend & APIsAuto-check: notes
  • Finetuning

    awslabs/agent-plugins

    Official

    Generates code that fine-tunes a base model using SageMaker serverless training jobs.

    912 GitHub starsUsed in 1 repo~2.3k tokens
    Backend & APIsAuto-check passed
  • Model Deployment

    awslabs/agent-plugins

    Official

    Generates code that deploys fine-tuned models from SageMaker Serverless Model Customization to SageMaker endpoints or Bedrock.

    912 GitHub starsUsed in 1 repo~1.5k tokens
    Backend & APIsAuto-check passed
  • Upgrading Mwaa Environments

    aws/agent-toolkit-for-aws

    Official

    Upgrades an MWAA environment to a newer Airflow version — within 2.x, within 3.x, or across the 2.x-to-3.x boundary.

    2.8k GitHub stars~7.3k tokensUpdated today
    Data & AnalyticsAuto-check passed

More from AI4Scientist/nano-scientist

All 76 skills in this repo
  • Formula Derivation

    AI4Scientist/nano-scientist

    Structures and derives research formulas when the user wants to 推导公式, build a theory line, organize assumptions, turn scattered equations into a coherent derivation, or rewrite theory notes into a…

    128 GitHub starsUsed in 6 repos~2.3k tokens
    Auto-check passed
  • Paper Figure

    AI4Scientist/nano-scientist

    Generate publication-quality figures and tables from experiment results.

    128 GitHub starsUsed in 6 repos~2.9k tokens
    Auto-check: notes
  • Proof Writer

    AI4Scientist/nano-scientist

    Writes rigorous mathematical proofs for ML/AI theory. An agent skill from AI4Scientist/nano-scientist.

    128 GitHub starsUsed in 6 repos~1.9k tokens
    Auto-check passed
  • Ablation Planner

    AI4Scientist/nano-scientist

    A skill your agent uses when main results pass result-to-claim (claimsupported=yes or partial) and ablation studies are needed for paper submission.

    128 GitHub starsUsed in 5 repos~1.3k tokens
    Auto-check: notes
  • Paper Navigator

    AI4Scientist/nano-scientist

    Find and read academic papers: disambiguate queries, discover papers (search, citation traversal, recommendations, arXiv monitoring, trending, GitHub search), evaluate (TLDR, citations, code, SOTA)…

    128 GitHub stars~7.7k tokensUpdated 4 mo ago
    Auto-check: notes
  • Arxiv

    AI4Scientist/nano-scientist

    Search, download, and summarize academic papers from arXiv. An agent skill from AI4Scientist/nano-scientist.

    128 GitHub starsUsed in 5 repos~2.1k tokens
    Auto-check: notes

Works with

Questions about Serverless Modal

What does Serverless Modal do?

Run GPU workloads on Modal — training, fine-tuning, inference, batch processing. Serverless Modal is an agent skill from AI4Scientist/nano-scientist. Run GPU workloads on Modal — training, fine-tuning, inference, batch processing.

When should I use Serverless Modal?

Serverless Modal fits situations like: user says modal run; modal inference; deploy to modal; needs remote GPU compute.

How do I install Serverless Modal in Claude Code?

Run `npx skills add AI4Scientist/nano-scientist --skill serverless-modal -a claude-code`. Or copy the skill folder (skills/serverless-modal in AI4Scientist/nano-scientist) into .claude/skills/serverless-modal in your project. Claude Code loads it when a task matches its description.

How do I install Serverless Modal in Codex?

Run `npx skills add AI4Scientist/nano-scientist --skill serverless-modal -a codex`. Or copy the skill folder (skills/serverless-modal in AI4Scientist/nano-scientist) into .agents/skills/serverless-modal in your project. Codex loads it when a task matches its description.

Can I use Serverless Modal in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AI4Scientist/nano-scientist --skill serverless-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/serverless-modal, .gemini/skills/serverless-modal, .github/skills/serverless-modal and .opencode/skills/serverless-modal in your project.

What does Serverless Modal need to run?

Going by SKILL.md and its folder, Serverless Modal needs the command-line tools its instructions call (modal and pip) and credentials named HF_TOKEN. Our summary lists: Python 3; Docker. Its frontmatter pre-approves these tools: Bash(*), Read, Grep, Glob, Edit, Write, Agent.

Does Serverless Modal access the network?

SKILL.md names 1 domain. As links in the text: modal.com. This is read from the text; nothing was executed.

Is Serverless Modal safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Serverless Modal use?

No licence was found for Serverless Modal or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Serverless Modal use?

About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Serverless Modal?

Skills that share tags, products or a category with Serverless Modal: Runpod (ericrisco/rsc-harness, 156 stars), Modal (K-Dense-AI/scientific-agent-skills, 48k stars), Modal (BioTender-max/awesome-bio-agent-skills, 197 stars) and Finetuning (awslabs/agent-plugins, 912 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Serverless Modal?

AI4Scientist (a GitHub organization) maintains it in AI4Scientist/nano-scientist, which has 128 GitHub stars. The repository holds 76 skills in this directory. The repository was last updated on June 3, 2026.

Source: AI4Scientist/nano-scientist on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.