[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72CPCDKWGKSBKBQDEMVDZ2C":3,"skill-same:01M72CPCDKWGKSBKBQDEMVDZ2C":97},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M72CPCDKWGKSBKBQDEMVDZ2C","modal",null,"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.","Sansar35\u002Fclaude-agent","Sansar35","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F145020281?v=4","01M724CQ2SCC86MGNSD87D0D4K","01M724CQ3965G9WJ3QXE3AJ5YY",1,"MIT","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fmodal\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: modal\ndescription: 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.\n---\n\n# Modal\n\n## Overview\n\nModal 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.\n\nModal is particularly suited for AI\u002FML workloads, high-performance batch processing, scheduled jobs, GPU inference, and serverless APIs. Sign up for free at https:\u002F\u002Fmodal.com and receive $30\u002Fmonth in credits.\n\n## When to Use This Skill\n\nUse Modal for:\n- Deploying and serving ML models (LLMs, image generation, embedding models)\n- Running GPU-accelerated computation (training, inference, rendering)\n- Batch processing large datasets in parallel\n- Scheduling compute-intensive jobs (daily data processing, model training)\n- Building serverless APIs that need automatic scaling\n- Scientific computing requiring distributed compute or specialized hardware\n\n## Authentication and Setup\n\nModal requires authentication via API token.\n\n### Initial Setup\n\n```bash\n# Install Modal\nuv uv pip install modal\n\n# Authenticate (opens browser for login)\nmodal token new\n```\n\nThis creates a token stored in `~\u002F.modal.toml`. The token authenticates all Modal operations.\n\n### Verify Setup\n\n```python\nimport modal\n\napp = modal.App(\"test-app\")\n\n@app.function()\ndef hello():\n    print(\"Modal is working!\")\n```\n\nRun with: `modal run script.py`\n\n## Core Capabilities\n\nModal provides serverless Python execution through Functions that run in containers. Define compute requirements, dependencies, and scaling behavior declaratively.\n\n### 1. Define Container Images\n\nSpecify dependencies and environment for functions using Modal Images.\n\n```python\nimport modal\n\n# Basic image with Python packages\nimage = (\n    modal.Image.debian_slim(python_version=\"3.12\")\n    .uv_pip_install(\"torch\", \"transformers\", \"numpy\")\n)\n\napp = modal.App(\"ml-app\", image=image)\n```\n\n**Common patterns:**\n- Install Python packages: `.uv_pip_install(\"pandas\", \"scikit-learn\")`\n- Install system packages: `.apt_install(\"ffmpeg\", \"git\")`\n- Use existing Docker images: `modal.Image.from_registry(\"nvidia\u002Fcuda:12.1.0-base\")`\n- Add local code: `.add_local_python_source(\"my_module\")`\n\nSee `references\u002Fimages.md` for comprehensive image building documentation.\n\n### 2. Create Functions\n\nDefine functions that run in the cloud with the `@app.function()` decorator.\n\n```python\n@app.function()\ndef process_data(file_path: str):\n    import pandas as pd\n    df = pd.read_csv(file_path)\n    return df.describe()\n```\n\n**Call functions:**\n```python\n# From local entrypoint\n@app.local_entrypoint()\ndef main():\n    result = process_data.remote(\"data.csv\")\n    print(result)\n```\n\nRun with: `modal run script.py`\n\nSee `references\u002Ffunctions.md` for function patterns, deployment, and parameter handling.\n\n### 3. Request GPUs\n\nAttach GPUs to functions for accelerated computation.\n\n```python\n@app.function(gpu=\"H100\")\ndef train_model():\n    import torch\n    assert torch.cuda.is_available()\n    # GPU-accelerated code here\n```\n\n**Available GPU types:**\n- `T4`, `L4` - Cost-effective inference\n- `A10`, `A100`, `A100-80GB` - Standard training\u002Finference\n- `L40S` - Excellent cost\u002Fperformance balance (48GB)\n- `H100`, `H200` - High-performance training\n- `B200` - Flagship performance (most powerful)\n\n**Request multiple GPUs:**\n```python\n@app.function(gpu=\"H100:8\")  # 8x H100 GPUs\ndef train_large_model():\n    pass\n```\n\nSee `references\u002Fgpu.md` for GPU selection guidance, CUDA setup, and multi-GPU configuration.\n\n### 4. Configure Resources\n\nRequest CPU cores, memory, and disk for functions.\n\n```python\n@app.function(\n    cpu=8.0,           # 8 physical cores\n    memory=32768,      # 32 GiB RAM\n    ephemeral_disk=10240  # 10 GiB disk\n)\ndef memory_intensive_task():\n    pass\n```\n\nDefault allocation: 0.125 CPU cores, 128 MiB memory. Billing based on reservation or actual usage, whichever is higher.\n\nSee `references\u002Fresources.md` for resource limits and billing details.\n\n### 5. Scale Automatically\n\nModal autoscales functions from zero to thousands of containers based on demand.\n\n**Process inputs in parallel:**\n```python\n@app.function()\ndef analyze_sample(sample_id: int):\n    # Process single sample\n    return result\n\n@app.local_entrypoint()\ndef main():\n    sample_ids = range(1000)\n    # Automatically parallelized across containers\n    results = list(analyze_sample.map(sample_ids))\n```\n\n**Configure autoscaling:**\n```python\n@app.function(\n    max_containers=100,      # Upper limit\n    min_containers=2,        # Keep warm\n    buffer_containers=5      # Idle buffer for bursts\n)\ndef inference():\n    pass\n```\n\nSee `references\u002Fscaling.md` for autoscaling configuration, concurrency, and scaling limits.\n\n### 6. Store Data Persistently\n\nUse Volumes for persistent storage across function invocations.\n\n```python\nvolume = modal.Volume.from_name(\"my-data\", create_if_missing=True)\n\n@app.function(volumes={\"\u002Fdata\": volume})\ndef save_results(data):\n    with open(\"\u002Fdata\u002Fresults.txt\", \"w\") as f:\n        f.write(data)\n    volume.commit()  # Persist changes\n```\n\nVolumes persist data between runs, store model weights, cache datasets, and share data between functions.\n\nSee `references\u002Fvolumes.md` for volume management, commits, and caching patterns.\n\n### 7. Manage Secrets\n\nStore API keys and credentials securely using Modal Secrets.\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    # Use token for authentication\n```\n\n**Create secrets in Modal dashboard or via CLI:**\n```bash\nmodal secret create my-secret KEY=value API_TOKEN=xyz\n```\n\nSee `references\u002Fsecrets.md` for secret management and authentication patterns.\n\n### 8. Deploy Web Endpoints\n\nServe HTTP endpoints, APIs, and webhooks with `@modal.web_endpoint()`.\n\n```python\n@app.function()\n@modal.web_endpoint(method=\"POST\")\ndef predict(data: dict):\n    # Process request\n    result = model.predict(data[\"input\"])\n    return {\"prediction\": result}\n```\n\n**Deploy with:**\n```bash\nmodal deploy script.py\n```\n\nModal provides HTTPS URL for the endpoint.\n\nSee `references\u002Fweb-endpoints.md` for FastAPI integration, streaming, authentication, and WebSocket support.\n\n### 9. Schedule Jobs\n\nRun functions on a schedule with cron expressions.\n\n```python\n@app.function(schedule=modal.Cron(\"0 2 * * *\"))  # Daily at 2 AM\ndef daily_backup():\n    # Backup data\n    pass\n\n@app.function(schedule=modal.Period(hours=4))  # Every 4 hours\ndef refresh_cache():\n    # Update cache\n    pass\n```\n\nScheduled functions run automatically without manual invocation.\n\nSee `references\u002Fscheduled-jobs.md` for cron syntax, timezone configuration, and monitoring.\n\n## Common Workflows\n\n### Deploy ML Model for Inference\n\n```python\nimport modal\n\n# Define dependencies\nimage = modal.Image.debian_slim().uv_pip_install(\"torch\", \"transformers\")\napp = modal.App(\"llm-inference\", image=image)\n\n# Download model at build time\n@app.function()\ndef download_model():\n    from transformers import AutoModel\n    AutoModel.from_pretrained(\"bert-base-uncased\")\n\n# Serve model\n@app.cls(gpu=\"L40S\")\nclass Model:\n    @modal.enter()\n    def load_model(self):\n        from transformers import pipeline\n        self.pipe = pipeline(\"text-classification\", device=\"cuda\")\n\n    @modal.method()\n    def predict(self, text: str):\n        return self.pipe(text)\n\n@app.local_entrypoint()\ndef main():\n    model = Model()\n    result = model.predict.remote(\"Modal is great!\")\n    print(result)\n```\n\n### Batch Process Large Dataset\n\n```python\n@app.function(cpu=2.0, memory=4096)\ndef process_file(file_path: str):\n    import pandas as pd\n    df = pd.read_csv(file_path)\n    # Process data\n    return df.shape[0]\n\n@app.local_entrypoint()\ndef main():\n    files = [\"file1.csv\", \"file2.csv\", ...]  # 1000s of files\n    # Automatically parallelized across containers\n    for count in process_file.map(files):\n        print(f\"Processed {count} rows\")\n```\n\n### Train Model on GPU\n\n```python\n@app.function(\n    gpu=\"A100:2\",      # 2x A100 GPUs\n    timeout=3600       # 1 hour timeout\n)\ndef train_model(config: dict):\n    import torch\n    # Multi-GPU training code\n    model = create_model(config)\n    train(model)\n    return metrics\n```\n\n## Reference Documentation\n\nDetailed documentation for specific features:\n\n- **`references\u002Fgetting-started.md`** - Authentication, setup, basic concepts\n- **`references\u002Fimages.md`** - Image building, dependencies, Dockerfiles\n- **`references\u002Ffunctions.md`** - Function patterns, deployment, parameters\n- **`references\u002Fgpu.md`** - GPU types, CUDA, multi-GPU configuration\n- **`references\u002Fresources.md`** - CPU, memory, disk management\n- **`references\u002Fscaling.md`** - Autoscaling, parallel execution, concurrency\n- **`references\u002Fvolumes.md`** - Persistent storage, data management\n- **`references\u002Fsecrets.md`** - Environment variables, authentication\n- **`references\u002Fweb-endpoints.md`** - APIs, webhooks, endpoints\n- **`references\u002Fscheduled-jobs.md`** - Cron jobs, periodic tasks\n- **`references\u002Fexamples.md`** - Common patterns for scientific computing\n\n## Best Practices\n\n1. **Pin dependencies** in `.uv_pip_install()` for reproducible builds\n2. **Use appropriate GPU types** - L40S for inference, H100\u002FA100 for training\n3. **Leverage caching** - Use Volumes for model weights and datasets\n4. **Configure autoscaling** - Set `max_containers` and `min_containers` based on workload\n5. **Import packages in function body** if not available locally\n6. **Use `.map()` for parallel processing** instead of sequential loops\n7. **Store secrets securely** - Never hardcode API keys\n8. **Monitor costs** - Check Modal dashboard for usage and billing\n\n## Troubleshooting\n\n**\"Module not found\" errors:**\n- Add packages to image with `.uv_pip_install(\"package-name\")`\n- Import packages inside function body if not available locally\n\n**GPU not detected:**\n- Verify GPU specification: `@app.function(gpu=\"A100\")`\n- Check CUDA availability: `torch.cuda.is_available()`\n\n**Function timeout:**\n- Increase timeout: `@app.function(timeout=3600)`\n- Default timeout is 5 minutes\n\n**Volume changes not persisting:**\n- Call `volume.commit()` after writing files\n- Verify volume mounted correctly in function decorator\n\nFor additional help, see Modal documentation at https:\u002F\u002Fmodal.com\u002Fdocs or join Modal Slack community.\n","# Modal\n\n## Overview\n\nModal 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.\n\nModal is particularly suited for AI\u002FML workloads, high-performance batch processing, scheduled jobs, GPU inference, and serverless APIs. Sign up for free at https:\u002F\u002Fmodal.com and receive $30\u002Fmonth in credits.\n\n## When to Use This Skill\n\nUse Modal for:\n- Deploying and serving ML models (LLMs, image generation, embedding models)\n- Running GPU-accelerated computation (training, inference, rendering)\n- Batch processing large datasets in parallel\n- Scheduling compute-intensive jobs (daily data processing, model training)\n- Building serverless APIs that need automatic scaling\n- Scientific computing requiring distributed compute or specialized hardware\n\n## Authentication and Setup\n\nModal requires authentication via API token.\n\n### Initial Setup\n\n```bash\n# Install Modal\nuv uv pip install modal\n\n# Authenticate (opens browser for login)\nmodal token new\n```\n\nThis creates a token stored in `~\u002F.modal.toml`. The token authenticates all Modal operations.\n\n### Verify Setup\n\n```python\nimport modal\n\napp = modal.App(\"test-app\")\n\n@app.function()\ndef hello():\n    print(\"Modal is working!\")\n```\n\nRun with: `modal run script.py`\n\n## Core Capabilities\n\nModal provides serverless Python execution through Functions that run in containers. Define compute requirements, dependencies, and scaling behavior declaratively.\n\n### 1. Define Container Images\n\nSpecify dependencies and environment for functions using Modal Images.\n\n```python\nimport modal\n\n# Basic image with Python packages\nimage = (\n    modal.Image.debian_slim(python_version=\"3.12\")\n    .uv_pip_install(\"torch\", \"transformers\", \"numpy\")\n)\n\napp = modal.App(\"ml-app\", image=image)\n```\n\n**Common patterns:**\n- Install Python packages: `.uv_pip_install(\"pandas\", \"scikit-learn\")`\n- Install system packages: `.apt_install(\"ffmpeg\", \"git\")`\n- Use existing Docker images: `modal.Image.from_registry(\"nvidia\u002Fcuda:12.1.0-base\")`\n- Add local code: `.add_local_python_source(\"my_module\")`\n\nSee `references\u002Fimages.md` for comprehensive image building documentation.\n\n### 2. Create Functions\n\nDefine functions that run in the cloud with the `@app.function()` decorator.\n\n```python\n@app.function()\ndef process_data(file_path: str):\n    import pandas as pd\n    df = pd.read_csv(file_path)\n    return df.describe()\n```\n\n**Call functions:**\n```python\n# From local entrypoint\n@app.local_entrypoint()\ndef main():\n    result = process_data.remote(\"data.csv\")\n    print(result)\n```\n\nRun with: `modal run script.py`\n\nSee `references\u002Ffunctions.md` for function patterns, deployment, and parameter handling.\n\n### 3. Request GPUs\n\nAttach GPUs to functions for accelerated computation.\n\n```python\n@app.function(gpu=\"H100\")\ndef train_model():\n    import torch\n    assert torch.cuda.is_available()\n    # GPU-accelerated code here\n```\n\n**Available GPU types:**\n- `T4`, `L4` - Cost-effective inference\n- `A10`, `A100`, `A100-80GB` - Standard training\u002Finference\n- `L40S` - Excellent cost\u002Fperformance balance (48GB)\n- `H100`, `H200` - High-performance training\n- `B200` - Flagship performance (most powerful)\n\n**Request multiple GPUs:**\n```python\n@app.function(gpu=\"H100:8\")  # 8x H100 GPUs\ndef train_large_model():\n    pass\n```\n\nSee `references\u002Fgpu.md` for GPU selection guidance, CUDA setup, and multi-GPU configuration.\n\n### 4. Configure Resources\n\nRequest CPU cores, memory, and disk for functions.\n\n```python\n@app.function(\n    cpu=8.0,           # 8 physical cores\n    memory=32768,      # 32 GiB RAM\n    ephemeral_disk=10240  # 10 GiB disk\n)\ndef memory_intensive_task():\n    pass\n```\n\nDefault allocation: 0.125 CPU cores, 128 MiB memory. Billing based on reservation or actual usage, whichever is higher.\n\nSee `references\u002Fresources.md` for resource limits and billing details.\n\n### 5. Scale Automatically\n\nModal autoscales functions from zero to thousands of containers based on demand.\n\n**Process inputs in parallel:**\n```python\n@app.function()\ndef analyze_sample(sample_id: int):\n    # Process single sample\n    return result\n\n@app.local_entrypoint()\ndef main():\n    sample_ids = range(1000)\n    # Automatically parallelized across containers\n    results = list(analyze_sample.map(sample_ids))\n```\n\n**Configure autoscaling:**\n```python\n@app.function(\n    max_containers=100,      # Upper limit\n    min_containers=2,        # Keep warm\n    buffer_containers=5      # Idle buffer for bursts\n)\ndef inference():\n    pass\n```\n\nSee `references\u002Fscaling.md` for autoscaling configuration, concurrency, and scaling limits.\n\n### 6. Store Data Persistently\n\nUse Volumes for persistent storage across function invocations.\n\n```python\nvolume = modal.Volume.from_name(\"my-data\", create_if_missing=True)\n\n@app.function(volumes={\"\u002Fdata\": volume})\ndef save_results(data):\n    with open(\"\u002Fdata\u002Fresults.txt\", \"w\") as f:\n        f.write(data)\n    volume.commit()  # Persist changes\n```\n\nVolumes persist data between runs, store model weights, cache datasets, and share data between functions.\n\nSee `references\u002Fvolumes.md` for volume management, commits, and caching patterns.\n\n### 7. Manage Secrets\n\nStore API keys and credentials securely using Modal Secrets.\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    # Use token for authentication\n```\n\n**Create secrets in Modal dashboard or via CLI:**\n```bash\nmodal secret create my-secret KEY=value API_TOKEN=xyz\n```\n\nSee `references\u002Fsecrets.md` for secret management and authentication patterns.\n\n### 8. Deploy Web Endpoints\n\nServe HTTP endpoints, APIs, and webhooks with `@modal.web_endpoint()`.\n\n```python\n@app.function()\n@modal.web_endpoint(method=\"POST\")\ndef predict(data: dict):\n    # Process request\n    result = model.predict(data[\"input\"])\n    return {\"prediction\": result}\n```\n\n**Deploy with:**\n```bash\nmodal deploy script.py\n```\n\nModal provides HTTPS URL for the endpoint.\n\nSee `references\u002Fweb-endpoints.md` for FastAPI integration, streaming, authentication, and WebSocket support.\n\n### 9. Schedule Jobs\n\nRun functions on a schedule with cron expressions.\n\n```python\n@app.function(schedule=modal.Cron(\"0 2 * * *\"))  # Daily at 2 AM\ndef daily_backup():\n    # Backup data\n    pass\n\n@app.function(schedule=modal.Period(hours=4))  # Every 4 hours\ndef refresh_cache():\n    # Update cache\n    pass\n```\n\nScheduled functions run automatically without manual invocation.\n\nSee `references\u002Fscheduled-jobs.md` for cron syntax, timezone configuration, and monitoring.\n\n## Common Workflows\n\n### Deploy ML Model for Inference\n\n```python\nimport modal\n\n# Define dependencies\nimage = modal.Image.debian_slim().uv_pip_install(\"torch\", \"transformers\")\napp = modal.App(\"llm-inference\", image=image)\n\n# Download model at build time\n@app.function()\ndef download_model():\n    from transformers import AutoModel\n    AutoModel.from_pretrained(\"bert-base-uncased\")\n\n# Serve model\n@app.cls(gpu=\"L40S\")\nclass Model:\n    @modal.enter()\n    def load_model(self):\n        from transformers import pipeline\n        self.pipe = pipeline(\"text-classification\", device=\"cuda\")\n\n    @modal.method()\n    def predict(self, text: str):\n        return self.pipe(text)\n\n@app.local_entrypoint()\ndef main():\n    model = Model()\n    result = model.predict.remote(\"Modal is great!\")\n    print(result)\n```\n\n### Batch Process Large Dataset\n\n```python\n@app.function(cpu=2.0, memory=4096)\ndef process_file(file_path: str):\n    import pandas as pd\n    df = pd.read_csv(file_path)\n    # Process data\n    return df.shape[0]\n\n@app.local_entrypoint()\ndef main():\n    files = [\"file1.csv\", \"file2.csv\", ...]  # 1000s of files\n    # Automatically parallelized across containers\n    for count in process_file.map(files):\n        print(f\"Processed {count} rows\")\n```\n\n### Train Model on GPU\n\n```python\n@app.function(\n    gpu=\"A100:2\",      # 2x A100 GPUs\n    timeout=3600       # 1 hour timeout\n)\ndef train_model(config: dict):\n    import torch\n    # Multi-GPU training code\n    model = create_model(config)\n    train(model)\n    return metrics\n```\n\n## Reference Documentation\n\nDetailed documentation for specific features:\n\n- **`references\u002Fgetting-started.md`** - Authentication, setup, basic concepts\n- **`references\u002Fimages.md`** - Image building, dependencies, Dockerfiles\n- **`references\u002Ffunctions.md`** - Function patterns, deployment, parameters\n- **`references\u002Fgpu.md`** - GPU types, CUDA, multi-GPU configuration\n- **`references\u002Fresources.md`** - CPU, memory, disk management\n- **`references\u002Fscaling.md`** - Autoscaling, parallel execution, concurrency\n- **`references\u002Fvolumes.md`** - Persistent storage, data management\n- **`references\u002Fsecrets.md`** - Environment variables, authentication\n- **`references\u002Fweb-endpoints.md`** - APIs, webhooks, endpoints\n- **`references\u002Fscheduled-jobs.md`** - Cron jobs, periodic tasks\n- **`references\u002Fexamples.md`** - Common patterns for scientific computing\n\n## Best Practices\n\n1. **Pin dependencies** in `.uv_pip_install()` for reproducible builds\n2. **Use appropriate GPU types** - L40S for inference, H100\u002FA100 for training\n3. **Leverage caching** - Use Volumes for model weights and datasets\n4. **Configure autoscaling** - Set `max_containers` and `min_containers` based on workload\n5. **Import packages in function body** if not available locally\n6. **Use `.map()` for parallel processing** instead of sequential loops\n7. **Store secrets securely** - Never hardcode API keys\n8. **Monitor costs** - Check Modal dashboard for usage and billing\n\n## Troubleshooting\n\n**\"Module not found\" errors:**\n- Add packages to image with `.uv_pip_install(\"package-name\")`\n- Import packages inside function body if not available locally\n\n**GPU not detected:**\n- Verify GPU specification: `@app.function(gpu=\"A100\")`\n- Check CUDA availability: `torch.cuda.is_available()`\n\n**Function timeout:**\n- Increase timeout: `@app.function(timeout=3600)`\n- Default timeout is 5 minutes\n\n**Volume changes not persisting:**\n- Call `volume.commit()` after writing files\n- Verify volume mounted correctly in function decorator\n\nFor additional help, see Modal documentation at https:\u002F\u002Fmodal.com\u002Fdocs or join Modal Slack community.\n",{"name":5,"description":7},"main","d046d088ce5a79a083f0abc0fe1b7ded73bc5b1f","claude-config\u002Fskills\u002Fmodal","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent","https:\u002F\u002Fgithub.com\u002FSansar35","2026-05-10 16:04:53",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add Sansar35\u002Fclaude-agent --skill modal",{"tool":35,"command":36},"bunx","bunx skills add Sansar35\u002Fclaude-agent --skill modal",{"tool":38,"command":39},"pnpm","pnpm dlx skills add Sansar35\u002Fclaude-agent --skill modal","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fmodal\u002FSKILL.md",true,[43,49,53,57,61,65,69,73,77,81,85,89,93],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},".skill-source.json","REFERENCE","参考文档",453,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fmodal\u002F.skill-source.json",{"path":50,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fapi_reference.md",956,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fmodal\u002Freferences\u002Fapi_reference.md",{"path":54,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fexamples.md",9782,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fmodal\u002Freferences\u002Fexamples.md",{"path":58,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Ffunctions.md",4457,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fmodal\u002Freferences\u002Ffunctions.md",{"path":62,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fgetting-started.md",1984,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fmodal\u002Freferences\u002Fgetting-started.md",{"path":66,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fgpu.md",3551,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fmodal\u002Freferences\u002Fgpu.md",{"path":70,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fimages.md",5414,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fmodal\u002Freferences\u002Fimages.md",{"path":74,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fresources.md",2681,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fmodal\u002Freferences\u002Fresources.md",{"path":78,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fscaling.md",5354,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fmodal\u002Freferences\u002Fscaling.md",{"path":82,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fscheduled-jobs.md",6032,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fmodal\u002Freferences\u002Fscheduled-jobs.md",{"path":86,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fsecrets.md",3922,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fmodal\u002Freferences\u002Fsecrets.md",{"path":90,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fvolumes.md",6081,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fmodal\u002Freferences\u002Fvolumes.md",{"path":94,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fweb-endpoints.md",6928,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fmodal\u002Freferences\u002Fweb-endpoints.md",[98,105,112,119,126,134],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":18},"01M72DVAN1JYEA302MT0C5MGD6","zustand-store-ts","Create Zustand stores following established patterns with proper TypeScript types and middleware.","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":18},"01M72DV8J5NBRRM4RPDFRV95N7","zod-validation-expert","Expert in Zod — TypeScript-first schema validation. Covers parsing, custom errors, refinements, type inference, and integration with React Hook Form, Next.js, and tRPC.","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzod-validation-expert\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":18},"01M72DV5EMHW0BHP9BZ167MDCB","zinc-database","Access ZINC (230M+ purchasable compounds). Search by ZINC ID\u002FSMILES, similarity searches, 3D-ready structures for docking, analog discovery, for virtual screening and drug discovery.","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzinc-database\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":18},"01M72DV216QY0E693ZPEVQ0DBS","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":130,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":18},"01M72DTXQREMCRKA8NHCVKHN4W","zapier-workflows","Manage and trigger pre-built Zapier workflows and MCP tool orchestration. Use when user mentions workflows, Zaps, automations, daily digest, research, search, lead tracking, expenses, or asks to \"run\" any process. Also handles Perplexity-based research and Google Sheets data tracking.","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzapier-workflows\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzapier-workflows\u002FSKILL.md",[],[],{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":18},"01M72DTT17TBSJ0Y8J2XZ4C9TZ","zapier-make-patterns","No-code automation democratizes workflow building. Zapier and Make (formerly Integromat) let non-developers automate business processes without writing code. But no-code doesn't mean no-complexity - these platforms have their own patterns, pitfalls, and breaking points.  This skill covers when to use which platform, how to build reliable automations, and when to graduate to code-based solutions. Key insight: Zapier optimizes for simplicity and integrations (7000+ apps), Make optimizes for power","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzapier-make-patterns\u002FSKILL.md",[],[]]