Agent skill
modal-labs
Modal Labs (modal.com) — run Python on serverless containers with GPUs, batch jobs, and autoscaling. Precision wrapper to avoid confusion with UI “modal dialogs”.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/modal-labs
Metadata
Additional technical details for this skill
- skill author
- Local wrapper (VCO)
- routing notes
- Prefer this skill over `modal` for auto-routing; reserve `modal` for explicit calls to avoid UI ambiguity.
- upstream skill
- modal
SKILL.md
Modal Labs (modal.com)
Overview
This is a precision wrapper for the upstream modal skill (Modal Labs, modal.com). It exists because “modal” is also a common term for UI dialogs (React/Vue/AntD/etc.).
Use this skill only when the user clearly means Modal Labs (modal.com).
When to Use
Route here when prompts mention one or more of:
modal.com/ “Modal Labs”- CLI verbs:
modal run,modal deploy,modal serve - serverless containers for Python, batch jobs, autoscaling
- GPU workloads (inference, training, rendering) in a serverless setup
Do not use this skill for UI “modal dialog” tasks.
Setup (CLI)
# Install
uv uv pip install modal
# Login (writes token to ~/.modal.toml)
modal token new
Minimal Example
import modal
app = modal.App("hello-modal")
@app.function()
def hello():
return "hello from Modal"
@app.local_entrypoint()
def main():
print(hello.remote())
Run:
modal run script.py
Next Actions (choose based on intent)
- One-off run:
modal run - Long-running endpoint:
modal deploy/modal serve - GPU function: add
@app.function(gpu="H100")(or another GPU type)
If you need deeper patterns (images, volumes, secrets, web endpoints), follow the upstream modal skill guidance.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?