[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6QF6DSBZBVP1F08H6PQ5M7N":3,"skill-same:01M6QF6DSBZBVP1F08H6PQ5M7N":83},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":14,"repositoryHtmlUrl":53,"repositoryHomepageUrl":54,"ownerHtmlUrl":55,"ownerBlogUrl":56,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M6QF6DSBZBVP1F08H6PQ5M7N","modal-serverless-gpu",null,"Serverless GPU cloud platform for running ML workloads. Use when you need on-demand GPU access without infrastructure management, deploying ML models as APIs, or running batch jobs with automatic scaling.","Tashima-Tarsh\u002FDisha6.6","Tashima-Tarsh","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F269906498?v=4","01M6PBH98X03XERH0HFT4PFB1P","NITISH KUMAR","01M6PBH9DA0M6KM3Z12P848F0K",0,"MIT","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-modal-serverless-gpu\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"gpu","modal","serverless","modal serverless gpu","use","automatic","for","you","infrastructure management","as","platform","scaling","models","inference","management","access","GPU Cloud","batch","deployment","infrastructure","2026-11-10 10:12:30",false,"---\nname: modal-serverless-gpu\ndescription: Serverless GPU cloud platform for running ML workloads. Use when you need on-demand GPU access without infrastructure management, deploying ML models as APIs, or running batch jobs with automatic scaling.\nlicense: MIT\nmetadata:\n  version: 1.0.0\n  category: ml-inference-and-ops\n  maintainer: Kalaris Labs\n  tags: Infrastructure, Serverless, GPU, Cloud, Deployment, Modal\n  dependencies: modal>=0.64.0\n---\n\n# Modal Serverless GPU\n\nComprehensive guide to running ML workloads on Modal's serverless GPU cloud platform.\n\n## When to use Modal\n\n**Use Modal when:**\n- Running GPU-intensive ML workloads without managing infrastructure\n- Deploying ML models as auto-scaling APIs\n- Running batch processing jobs (training, inference, data processing)\n- Need pay-per-second GPU pricing without idle costs\n- Prototyping ML applications quickly\n- Running scheduled jobs (cron-like workloads)\n\n**Key features:**\n- **Serverless GPUs**: T4, L4, A10G, L40S, A100, H100, H200, B200 on-demand\n- **Python-native**: Define infrastructure in Python code, no YAML\n- **Auto-scaling**: Scale to zero, scale to 100+ GPUs instantly\n- **Sub-second cold starts**: Rust-based infrastructure for fast container launches\n- **Container caching**: Image layers cached for rapid iteration\n- **Web endpoints**: Deploy functions as REST APIs with zero-downtime updates\n\n**Use alternatives instead:**\n- **RunPod**: For longer-running pods with persistent state\n- **Lambda Labs**: For reserved GPU instances\n- **SkyPilot**: For multi-cloud orchestration and cost optimization\n- **Kubernetes**: For complex multi-service architectures\n\n## Quick start\n\n### Installation\n\n```bash\npip install modal\nmodal setup  # Opens browser for authentication\n```\n\n### Hello World with GPU\n\n```python\nimport modal\n\napp = modal.App(\"hello-gpu\")\n\n@app.function(gpu=\"T4\")\ndef gpu_info():\n    import subprocess\n    return subprocess.run([\"nvidia-smi\"], capture_output=True, text=True).stdout\n\n@app.local_entrypoint()\ndef main():\n    print(gpu_info.remote())\n```\n\nRun: `modal run hello_gpu.py`\n\n### Basic inference endpoint\n\n```python\nimport modal\n\napp = modal.App(\"text-generation\")\nimage = modal.Image.debian_slim().pip_install(\"transformers\", \"torch\", \"accelerate\")\n\n@app.cls(gpu=\"A10G\", image=image)\nclass TextGenerator:\n    @modal.enter()\n    def load_model(self):\n        from transformers import pipeline\n        self.pipe = pipeline(\"text-generation\", model=\"gpt2\", device=0)\n\n    @modal.method()\n    def generate(self, prompt: str) -> str:\n        return self.pipe(prompt, max_length=100)[0][\"generated_text\"]\n\n@app.local_entrypoint()\ndef main():\n    print(TextGenerator().generate.remote(\"Hello, world\"))\n```\n\n## Core concepts\n\n### Key components\n\n| Component | Purpose |\n|-----------|---------|\n| `App` | Container for functions and resources |\n| `Function` | Serverless function with compute specs |\n| `Cls` | Class-based functions with lifecycle hooks |\n| `Image` | Container image definition |\n| `Volume` | Persistent storage for models\u002Fdata |\n| `Secret` | Secure credential storage |\n\n### Execution modes\n\n| Command | Description |\n|---------|-------------|\n| `modal run script.py` | Execute and exit |\n| `modal serve script.py` | Development with live reload |\n| `modal deploy script.py` | Persistent cloud deployment |\n\n## GPU configuration\n\n### Available GPUs\n\n| GPU | VRAM | Best For |\n|-----|------|----------|\n| `T4` | 16GB | Budget inference, small models |\n| `L4` | 24GB | Inference, Ada Lovelace arch |\n| `A10G` | 24GB | Training\u002Finference, 3.3x faster than T4 |\n| `L40S` | 48GB | Recommended for inference (best cost\u002Fperf) |\n| `A100-40GB` | 40GB | Large model training |\n| `A100-80GB` | 80GB | Very large models |\n| `H100` | 80GB | Fastest, FP8 + Transformer Engine |\n| `H200` | 141GB | Auto-upgrade from H100, 4.8TB\u002Fs bandwidth |\n| `B200` | Latest | Blackwell architecture |\n\n### GPU specification patterns\n\n```python\n# Single GPU\n@app.function(gpu=\"A100\")\n\n# Specific memory variant\n@app.function(gpu=\"A100-80GB\")\n\n# Multiple GPUs (up to 8)\n@app.function(gpu=\"H100:4\")\n\n# GPU with fallbacks\n@app.function(gpu=[\"H100\", \"A100\", \"L40S\"])\n\n# Any available GPU\n@app.function(gpu=\"any\")\n```\n\n## Container images\n\n```python\n# Basic image with pip\nimage = modal.Image.debian_slim(python_version=\"3.11\").pip_install(\n    \"torch==2.1.0\", \"transformers==4.36.0\", \"accelerate\"\n)\n\n# From CUDA base\nimage = modal.Image.from_registry(\n    \"nvidia\u002Fcuda:12.1.0-cudnn8-devel-ubuntu22.04\",\n    add_python=\"3.11\"\n).pip_install(\"torch\", \"transformers\")\n\n# With system packages\nimage = modal.Image.debian_slim().apt_install(\"git\", \"ffmpeg\").pip_install(\"whisper\")\n```\n\n## Persistent storage\n\n```python\nvolume = modal.Volume.from_name(\"model-cache\", create_if_missing=True)\n\n@app.function(gpu=\"A10G\", volumes={\"\u002Fmodels\": volume})\ndef load_model():\n    import os\n    model_path = \"\u002Fmodels\u002Fllama-7b\"\n    if not os.path.exists(model_path):\n        model = download_model()\n        model.save_pretrained(model_path)\n        volume.commit()  # Persist changes\n    return load_from_path(model_path)\n```\n\n## Web endpoints\n\n### FastAPI endpoint decorator\n\n```python\n@app.function()\n@modal.fastapi_endpoint(method=\"POST\")\ndef predict(text: str) -> dict:\n    return {\"result\": model.predict(text)}\n```\n\n### Full ASGI app\n\n```python\nfrom fastapi import FastAPI\nweb_app = FastAPI()\n\n@web_app.post(\"\u002Fpredict\")\nasync def predict(text: str):\n    return {\"result\": await model.predict.remote.aio(text)}\n\n@app.function()\n@modal.asgi_app()\ndef fastapi_app():\n    return web_app\n```\n\n### Web endpoint types\n\n| Decorator | Use Case |\n|-----------|----------|\n| `@modal.fastapi_endpoint()` | Simple function → API |\n| `@modal.asgi_app()` | Full FastAPI\u002FStarlette apps |\n| `@modal.wsgi_app()` | Django\u002FFlask apps |\n| `@modal.web_server(port)` | Arbitrary HTTP servers |\n\n## Dynamic batching\n\n```python\n@app.function()\n@modal.batched(max_batch_size=32, wait_ms=100)\nasync def batch_predict(inputs: list[str]) -> list[dict]:\n    # Inputs automatically batched\n    return model.batch_predict(inputs)\n```\n\n## Secrets management\n\n```bash\n# Create secret\nmodal secret create huggingface HF_TOKEN=hf_xxx\n```\n\n```python\n@app.function(secrets=[modal.Secret.from_name(\"huggingface\")])\ndef download_model():\n    import os\n    token = os.environ[\"HF_TOKEN\"]\n```\n\n## Scheduling\n\n```python\n@app.function(schedule=modal.Cron(\"0 0 * * *\"))  # Daily midnight\ndef daily_job():\n    pass\n\n@app.function(schedule=modal.Period(hours=1))\ndef hourly_job():\n    pass\n```\n\n## Performance optimization\n\n### Cold start mitigation\n\n```python\n@app.function(\n    container_idle_timeout=300,  # Keep warm 5 min\n    allow_concurrent_inputs=10,  # Handle concurrent requests\n)\ndef inference():\n    pass\n```\n\n### Model loading best practices\n\n```python\n@app.cls(gpu=\"A100\")\nclass Model:\n    @modal.enter()  # Run once at container start\n    def load(self):\n        self.model = load_model()  # Load during warm-up\n\n    @modal.method()\n    def predict(self, x):\n        return self.model(x)\n```\n\n## Parallel processing\n\n```python\n@app.function()\ndef process_item(item):\n    return expensive_computation(item)\n\n@app.function()\ndef run_parallel():\n    items = list(range(1000))\n    # Fan out to parallel containers\n    results = list(process_item.map(items))\n    return results\n```\n\n## Common configuration\n\n```python\n@app.function(\n    gpu=\"A100\",\n    memory=32768,              # 32GB RAM\n    cpu=4,                     # 4 CPU cores\n    timeout=3600,              # 1 hour max\n    container_idle_timeout=120,# Keep warm 2 min\n    retries=3,                 # Retry on failure\n    concurrency_limit=10,      # Max concurrent containers\n)\ndef my_function():\n    pass\n```\n\n## Debugging\n\n```python\n# Test locally\nif __name__ == \"__main__\":\n    result = my_function.local()\n\n# View logs\n# modal app logs my-app\n```\n\n## Common issues\n\n| Issue | Solution |\n|-------|----------|\n| Cold start latency | Increase `container_idle_timeout`, use `@modal.enter()` |\n| GPU OOM | Use larger GPU (`A100-80GB`), enable gradient checkpointing |\n| Image build fails | Pin dependency versions, check CUDA compatibility |\n| Timeout errors | Increase `timeout`, add checkpointing |\n\n## References\n\n- **[Advanced Usage](references\u002Fadvanced-usage.md)** - Multi-GPU, distributed training, cost optimization\n- **[Troubleshooting](references\u002Ftroubleshooting.md)** - Common issues and solutions\n\n## Resources\n\n- **Documentation**: https:\u002F\u002Fmodal.com\u002Fdocs\n- **Examples**: https:\u002F\u002Fgithub.com\u002Fmodal-labs\u002Fmodal-examples\n- **Pricing**: https:\u002F\u002Fmodal.com\u002Fpricing\n- **Discord**: https:\u002F\u002Fdiscord.gg\u002Fmodal\n\n## Agent operating procedure\n\n1. **Check the environment.** Confirm hardware, framework and server versions, model format, and expected load.\n2. **Pin down the inputs.** Confirm formats, identifiers and parameters from the data or the user. Ask rather than guess any value that changes the result.\n3. **Run a small version first.** Serve or log a single request or run end to end before scaling.\n4. **Execute the full task** using the instructions and references above.\n5. **Validate the result.** Measure latency, throughput and output correctness against a reference; check resource usage and costs.\n6. **Report.** State what was run (versions, commands, parameters), what was checked, and what is still uncertain.\n\n| If this happens | Do this |\n|---|---|\n| The server fails to start or OOMs | Check model size versus memory, quantization and parallelism settings. |\n| A function, flag or endpoint in these instructions is missing in the installed version | Check the installed version's own documentation (`help()`, `--help`, official docs), adapt, and tell the user. Never invent an API. |\n| A required input, identifier or parameter is ambiguous | Ask the user, or state the assumption explicitly before running. |\n\n**Integrity rules**\n\n- Never fabricate results, parameters, identifiers, citations or statistics. If something cannot be run or verified, say so plainly.\n- Do not expose services or credentials publicly; confirm cloud costs before provisioning.\n- Treat version-specific details here as possibly outdated: confirm them against the official documentation for the installed version.\n- Ask before actions that cost money, consume shared GPUs or cloud quota, touch personal or patient data, or cannot be undone.\n\n## Related skills\n\n- `modal`: Modal is a serverless cloud platform for running Python on demand, including on-demand GPUs.\n- `skypilot-multi-cloud-orchestration`: Multi-cloud orchestration for ML workloads with automatic cost optimization.\n- `lambda-labs-gpu-cloud`: Reserved and on-demand GPU cloud instances for ML training and inference.\n","# Modal Serverless GPU\n\nComprehensive guide to running ML workloads on Modal's serverless GPU cloud platform.\n\n## When to use Modal\n\n**Use Modal when:**\n- Running GPU-intensive ML workloads without managing infrastructure\n- Deploying ML models as auto-scaling APIs\n- Running batch processing jobs (training, inference, data processing)\n- Need pay-per-second GPU pricing without idle costs\n- Prototyping ML applications quickly\n- Running scheduled jobs (cron-like workloads)\n\n**Key features:**\n- **Serverless GPUs**: T4, L4, A10G, L40S, A100, H100, H200, B200 on-demand\n- **Python-native**: Define infrastructure in Python code, no YAML\n- **Auto-scaling**: Scale to zero, scale to 100+ GPUs instantly\n- **Sub-second cold starts**: Rust-based infrastructure for fast container launches\n- **Container caching**: Image layers cached for rapid iteration\n- **Web endpoints**: Deploy functions as REST APIs with zero-downtime updates\n\n**Use alternatives instead:**\n- **RunPod**: For longer-running pods with persistent state\n- **Lambda Labs**: For reserved GPU instances\n- **SkyPilot**: For multi-cloud orchestration and cost optimization\n- **Kubernetes**: For complex multi-service architectures\n\n## Quick start\n\n### Installation\n\n```bash\npip install modal\nmodal setup  # Opens browser for authentication\n```\n\n### Hello World with GPU\n\n```python\nimport modal\n\napp = modal.App(\"hello-gpu\")\n\n@app.function(gpu=\"T4\")\ndef gpu_info():\n    import subprocess\n    return subprocess.run([\"nvidia-smi\"], capture_output=True, text=True).stdout\n\n@app.local_entrypoint()\ndef main():\n    print(gpu_info.remote())\n```\n\nRun: `modal run hello_gpu.py`\n\n### Basic inference endpoint\n\n```python\nimport modal\n\napp = modal.App(\"text-generation\")\nimage = modal.Image.debian_slim().pip_install(\"transformers\", \"torch\", \"accelerate\")\n\n@app.cls(gpu=\"A10G\", image=image)\nclass TextGenerator:\n    @modal.enter()\n    def load_model(self):\n        from transformers import pipeline\n        self.pipe = pipeline(\"text-generation\", model=\"gpt2\", device=0)\n\n    @modal.method()\n    def generate(self, prompt: str) -> str:\n        return self.pipe(prompt, max_length=100)[0][\"generated_text\"]\n\n@app.local_entrypoint()\ndef main():\n    print(TextGenerator().generate.remote(\"Hello, world\"))\n```\n\n## Core concepts\n\n### Key components\n\n| Component | Purpose |\n|-----------|---------|\n| `App` | Container for functions and resources |\n| `Function` | Serverless function with compute specs |\n| `Cls` | Class-based functions with lifecycle hooks |\n| `Image` | Container image definition |\n| `Volume` | Persistent storage for models\u002Fdata |\n| `Secret` | Secure credential storage |\n\n### Execution modes\n\n| Command | Description |\n|---------|-------------|\n| `modal run script.py` | Execute and exit |\n| `modal serve script.py` | Development with live reload |\n| `modal deploy script.py` | Persistent cloud deployment |\n\n## GPU configuration\n\n### Available GPUs\n\n| GPU | VRAM | Best For |\n|-----|------|----------|\n| `T4` | 16GB | Budget inference, small models |\n| `L4` | 24GB | Inference, Ada Lovelace arch |\n| `A10G` | 24GB | Training\u002Finference, 3.3x faster than T4 |\n| `L40S` | 48GB | Recommended for inference (best cost\u002Fperf) |\n| `A100-40GB` | 40GB | Large model training |\n| `A100-80GB` | 80GB | Very large models |\n| `H100` | 80GB | Fastest, FP8 + Transformer Engine |\n| `H200` | 141GB | Auto-upgrade from H100, 4.8TB\u002Fs bandwidth |\n| `B200` | Latest | Blackwell architecture |\n\n### GPU specification patterns\n\n```python\n# Single GPU\n@app.function(gpu=\"A100\")\n\n# Specific memory variant\n@app.function(gpu=\"A100-80GB\")\n\n# Multiple GPUs (up to 8)\n@app.function(gpu=\"H100:4\")\n\n# GPU with fallbacks\n@app.function(gpu=[\"H100\", \"A100\", \"L40S\"])\n\n# Any available GPU\n@app.function(gpu=\"any\")\n```\n\n## Container images\n\n```python\n# Basic image with pip\nimage = modal.Image.debian_slim(python_version=\"3.11\").pip_install(\n    \"torch==2.1.0\", \"transformers==4.36.0\", \"accelerate\"\n)\n\n# From CUDA base\nimage = modal.Image.from_registry(\n    \"nvidia\u002Fcuda:12.1.0-cudnn8-devel-ubuntu22.04\",\n    add_python=\"3.11\"\n).pip_install(\"torch\", \"transformers\")\n\n# With system packages\nimage = modal.Image.debian_slim().apt_install(\"git\", \"ffmpeg\").pip_install(\"whisper\")\n```\n\n## Persistent storage\n\n```python\nvolume = modal.Volume.from_name(\"model-cache\", create_if_missing=True)\n\n@app.function(gpu=\"A10G\", volumes={\"\u002Fmodels\": volume})\ndef load_model():\n    import os\n    model_path = \"\u002Fmodels\u002Fllama-7b\"\n    if not os.path.exists(model_path):\n        model = download_model()\n        model.save_pretrained(model_path)\n        volume.commit()  # Persist changes\n    return load_from_path(model_path)\n```\n\n## Web endpoints\n\n### FastAPI endpoint decorator\n\n```python\n@app.function()\n@modal.fastapi_endpoint(method=\"POST\")\ndef predict(text: str) -> dict:\n    return {\"result\": model.predict(text)}\n```\n\n### Full ASGI app\n\n```python\nfrom fastapi import FastAPI\nweb_app = FastAPI()\n\n@web_app.post(\"\u002Fpredict\")\nasync def predict(text: str):\n    return {\"result\": await model.predict.remote.aio(text)}\n\n@app.function()\n@modal.asgi_app()\ndef fastapi_app():\n    return web_app\n```\n\n### Web endpoint types\n\n| Decorator | Use Case |\n|-----------|----------|\n| `@modal.fastapi_endpoint()` | Simple function → API |\n| `@modal.asgi_app()` | Full FastAPI\u002FStarlette apps |\n| `@modal.wsgi_app()` | Django\u002FFlask apps |\n| `@modal.web_server(port)` | Arbitrary HTTP servers |\n\n## Dynamic batching\n\n```python\n@app.function()\n@modal.batched(max_batch_size=32, wait_ms=100)\nasync def batch_predict(inputs: list[str]) -> list[dict]:\n    # Inputs automatically batched\n    return model.batch_predict(inputs)\n```\n\n## Secrets management\n\n```bash\n# Create secret\nmodal secret create huggingface HF_TOKEN=hf_xxx\n```\n\n```python\n@app.function(secrets=[modal.Secret.from_name(\"huggingface\")])\ndef download_model():\n    import os\n    token = os.environ[\"HF_TOKEN\"]\n```\n\n## Scheduling\n\n```python\n@app.function(schedule=modal.Cron(\"0 0 * * *\"))  # Daily midnight\ndef daily_job():\n    pass\n\n@app.function(schedule=modal.Period(hours=1))\ndef hourly_job():\n    pass\n```\n\n## Performance optimization\n\n### Cold start mitigation\n\n```python\n@app.function(\n    container_idle_timeout=300,  # Keep warm 5 min\n    allow_concurrent_inputs=10,  # Handle concurrent requests\n)\ndef inference():\n    pass\n```\n\n### Model loading best practices\n\n```python\n@app.cls(gpu=\"A100\")\nclass Model:\n    @modal.enter()  # Run once at container start\n    def load(self):\n        self.model = load_model()  # Load during warm-up\n\n    @modal.method()\n    def predict(self, x):\n        return self.model(x)\n```\n\n## Parallel processing\n\n```python\n@app.function()\ndef process_item(item):\n    return expensive_computation(item)\n\n@app.function()\ndef run_parallel():\n    items = list(range(1000))\n    # Fan out to parallel containers\n    results = list(process_item.map(items))\n    return results\n```\n\n## Common configuration\n\n```python\n@app.function(\n    gpu=\"A100\",\n    memory=32768,              # 32GB RAM\n    cpu=4,                     # 4 CPU cores\n    timeout=3600,              # 1 hour max\n    container_idle_timeout=120,# Keep warm 2 min\n    retries=3,                 # Retry on failure\n    concurrency_limit=10,      # Max concurrent containers\n)\ndef my_function():\n    pass\n```\n\n## Debugging\n\n```python\n# Test locally\nif __name__ == \"__main__\":\n    result = my_function.local()\n\n# View logs\n# modal app logs my-app\n```\n\n## Common issues\n\n| Issue | Solution |\n|-------|----------|\n| Cold start latency | Increase `container_idle_timeout`, use `@modal.enter()` |\n| GPU OOM | Use larger GPU (`A100-80GB`), enable gradient checkpointing |\n| Image build fails | Pin dependency versions, check CUDA compatibility |\n| Timeout errors | Increase `timeout`, add checkpointing |\n\n## References\n\n- **[Advanced Usage](references\u002Fadvanced-usage.md)** - Multi-GPU, distributed training, cost optimization\n- **[Troubleshooting](references\u002Ftroubleshooting.md)** - Common issues and solutions\n\n## Resources\n\n- **Documentation**: https:\u002F\u002Fmodal.com\u002Fdocs\n- **Examples**: https:\u002F\u002Fgithub.com\u002Fmodal-labs\u002Fmodal-examples\n- **Pricing**: https:\u002F\u002Fmodal.com\u002Fpricing\n- **Discord**: https:\u002F\u002Fdiscord.gg\u002Fmodal\n\n## Agent operating procedure\n\n1. **Check the environment.** Confirm hardware, framework and server versions, model format, and expected load.\n2. **Pin down the inputs.** Confirm formats, identifiers and parameters from the data or the user. Ask rather than guess any value that changes the result.\n3. **Run a small version first.** Serve or log a single request or run end to end before scaling.\n4. **Execute the full task** using the instructions and references above.\n5. **Validate the result.** Measure latency, throughput and output correctness against a reference; check resource usage and costs.\n6. **Report.** State what was run (versions, commands, parameters), what was checked, and what is still uncertain.\n\n| If this happens | Do this |\n|---|---|\n| The server fails to start or OOMs | Check model size versus memory, quantization and parallelism settings. |\n| A function, flag or endpoint in these instructions is missing in the installed version | Check the installed version's own documentation (`help()`, `--help`, official docs), adapt, and tell the user. Never invent an API. |\n| A required input, identifier or parameter is ambiguous | Ask the user, or state the assumption explicitly before running. |\n\n**Integrity rules**\n\n- Never fabricate results, parameters, identifiers, citations or statistics. If something cannot be run or verified, say so plainly.\n- Do not expose services or credentials publicly; confirm cloud costs before provisioning.\n- Treat version-specific details here as possibly outdated: confirm them against the official documentation for the installed version.\n- Ask before actions that cost money, consume shared GPUs or cloud quota, touch personal or patient data, or cannot be undone.\n\n## Related skills\n\n- `modal`: Modal is a serverless cloud platform for running Python on demand, including on-demand GPUs.\n- `skypilot-multi-cloud-orchestration`: Multi-cloud orchestration for ML workloads with automatic cost optimization.\n- `lambda-labs-gpu-cloud`: Reserved and on-demand GPU cloud instances for ML training and inference.\n",{"name":5,"license":15,"metadata":44,"description":7},{"tags":45,"version":46,"category":47,"maintainer":48,"dependencies":49},"Infrastructure, Serverless, GPU, Cloud, Deployment, Modal","1.0.0","ml-inference-and-ops","Kalaris Labs","modal>=0.64.0","main","0da4485785ee599388900be50db1635489d53056",".agents\u002Fskills\u002Fkal-modal-serverless-gpu","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6","https:\u002F\u002Fdisha6.6.thenitishkr.in\u002F","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh","www.thenitishkr","thenitishkr | AI • Cyber-security • Research\r\n","2026-11-08 03:33:25",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add Tashima-Tarsh\u002FDisha6.6 --skill modal-serverless-gpu",{"tool":65,"command":66},"bunx","bunx skills add Tashima-Tarsh\u002FDisha6.6 --skill modal-serverless-gpu",{"tool":68,"command":69},"pnpm","pnpm dlx skills add Tashima-Tarsh\u002FDisha6.6 --skill modal-serverless-gpu","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-modal-serverless-gpu\u002FSKILL.md",true,[73,79],{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fadvanced-usage.md","REFERENCE","参考文档",10903,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-modal-serverless-gpu\u002Freferences\u002Fadvanced-usage.md",{"path":80,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Ftroubleshooting.md",10516,"https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fkal-modal-serverless-gpu\u002Freferences\u002Ftroubleshooting.md",[84,115,138,165,188,212],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":95,"publishedAt":39},"01M6QRD07D4TGNDK6VJ4EHF8BV","youtube-full","Use when the user needs YouTube transcripts, video search, channel browsing, playlist extraction, or content monitoring. Trigger phrases: 'get the transcript for', 'search YouTube for', 'what are the latest videos on', 'list this playlist', 'monitor this channel', or any request involving a YouTube URL, video ID, or @handle. Do NOT use for downloading video or audio files, YouTube engagement data (likes, comments), or private\u002Fage-restricted videos.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fyoutube-full\u002FSKILL.md",[90],{"categoryNo":91,"categoryName":92,"taxonomyType":93,"taxonomyTypeDesc":94},"01JBSEEDCAT000000000000016","图像与多媒体","SCENARIO","使用场景",[96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,25,112,113,114],"youtube full","youtube","full","transcript","search","monitoring","data","Video","Audio","list","files","do","get","age","trigger","URL","browsing","request","youtube transcripts",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":39},"01M6QRCJ3112VYPA97YG7KGMC2","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[122,123,124,125,100,126,127,128,129,130,131,132,133,134,23,29,135,136,137,25],"twitter","x twitter growth","growth","research","content","engineering","plan","web search","competitors","analyze","engine","write","strategy","grow","posting","competitive",{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":147,"publishedAt":39},"01M6QRBN3EHQNJY42RERP7A149","write-a-skill","Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, build, or author a new skill.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwrite-a-skill\u002FSKILL.md",[144],{"categoryNo":145,"categoryName":146,"taxonomyType":93,"taxonomyTypeDesc":94},"01JBSEEDCAT000000000000023","Skill与智能体开发",[148,133,149,150,151,152,153,154,23,155,156,50,157,158,159,160,161,162,163,164],"write a skill","github","create","https","productivity","matt pocock","direct","example","build","new skill","structure","new agent","resources","with","tree","progressive disclosure","author",{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":39},"01M6QRB6G8P33PNGAF9Y69EJ9T","wrap-up","Close out a launched Claude Managed Agent — recap every primitive the founder now owns, regenerate the single-file overview page, and suggest the next 1-2 upgrades. Use when the user says \"wrap up\", \"close this out\", \"what do I own now\", \"give me the summary\", \"recap the agent\", or when the orchestrator routes phase=wrap-up. primitives_inventory.py tables everything owned (agent, environment, session, memory, outcome, deployment); overview_page.py regenerates a self-contained .\u002Fmy-agent\u002Fagent-overview.html; upgrade_suggester.py ranks the next moves from recorded deferrals plus standing hardening steps. Companion to run-without-you; the last stop before phase=done.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwrap-up\u002FSKILL.md",[],[172,173,174,175,37,176,177,178,179,23,180,107,181,182,183,184,26,185,186,187],"wrap up","up","wrap","gemini","run","file","hardening","closeout","stop","upgrade","founder","close","companion","tables","directions","phase",{"skillNo":189,"name":190,"nameZh":6,"description":191,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":192,"categories":193,"keywords":195,"publishedAt":39},"01M6QRA5AYC1RBFZ39GTWGS3N8","workflow-builder","Design and write deterministic multi-agent workflow scripts (.js files in .claude\u002Fworkflows\u002F) for Claude Code's Workflow tool. Use when a user wants to build, create, author, scaffold, or run a custom Claude Code workflow, orchestrate sub-agents (fan-out, pipeline, loop, judge-panel), or automate a repeatable multi-step task across fresh-context agents.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworkflow-builder\u002FSKILL.md",[194],{"categoryNo":145,"categoryName":146,"taxonomyType":93,"taxonomyTypeDesc":94},[196,197,198,199,200,150,176,201,202,203,204,205,133,206,106,207,208,209,210,211],"workflow","workflow builder","builder","design","workflows","code","orchestrate","pipeline","loop","multi-agent","context","across","fresh","scripts","judge","claude code workflow",{"skillNo":213,"name":214,"nameZh":6,"description":215,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":216,"categories":217,"keywords":218,"publishedAt":39},"01M6QR7QMCZESKQA0ERW1E657M","weekly-review","Use when someone wants to run a weekly review, close open loops, audit stalled projects and commitments, get their system back to trusted, restart a lapsed review habit, or says \"\u002Fcs:weekly-review\". Walks David Allen's three-phase loop — GET CLEAR, GET CURRENT, GET CREATIVE — with deterministic scripts that inventory open loops, gate the checklist with named gaps, and score commitment health 0-100.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fweekly-review\u002FSKILL.md",[],[219,220,221,222,223,224,225,226,227,204,228,229,230,231,232,233,108,234,235,187],"review","weekly review","weekly","deterministic scripts","reflect","feeds","inventory","open","team","projects","project-management","scanner","conversation","back","project","sprint","cadence"]