modal-deploy
Modal Cloud Deployment
Goal
Deploy execution scripts to Modal for serverless cloud execution.
Deploy Command
modal deploy execution/modal_webhook.py
Key Endpoints
| Endpoint | Purpose |
|---|---|
directive |
Execute a directive by slug |
list_webhooks |
List available webhooks |
general_agent |
Run general agent tasks |
scrape_leads |
Lead scraping endpoint |
generate_proposal |
Proposal generation |
youtube_outliers |
YouTube outlier scraping |
Adding New Functions
- Add function to
execution/modal_webhook.py - Decorate with
@app.function()or@app.function(schedule=modal.Cron(...)) - Deploy:
modal deploy execution/modal_webhook.py
Environment
Modal secrets are configured in the Modal dashboard, not local .env.
Cron Jobs
@app.function(schedule=modal.Cron("0 * * * *")) # Every hour
def my_scheduled_function():
pass
Schema
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
file |
file_path | No | File to deploy (default: execution/modal_webhook.py) |
Outputs
| Name | Type | Description |
|---|---|---|
deployed |
boolean | Whether deployment succeeded |
endpoints |
array | List of deployed endpoint URLs |
Credentials
| Name | Source |
|---|---|
MODAL_TOKEN_ID |
Modal dashboard |
MODAL_TOKEN_SECRET |
Modal dashboard |
Composable With
Skills that chain well with this one: add-webhook
Cost
Modal compute (pay-per-use)
More from aiagentwithdhruv/skills
image-to-video
Generate AI video from static images using Kling 3.0, Hailuo, Luma Ray3, Runway Gen-4.5, and 8 other tools. Covers free vs paid tools, prompt writing (motion-only), camera control, and face stability. Use when user asks to animate an image, create AI video, or convert photo to video.
91mac-control
MCP server for AI-powered macOS control — apps, display, audio, files, screenshots, clipboard
60gmaps-leads
Scrape Google Maps for B2B leads with deep website enrichment and contact extraction. Use when user asks to find local businesses, scrape Google Maps, generate contractor lists, or build local service business databases.
42excalidraw-visuals
Use when someone asks for a hand-drawn visual, PNG image, rendered diagram, visual explanation, or says "excalidraw image" or "excalidraw visual". This generates PNG images, not editable files.
34video-edit
Complete video editing toolkit - silence removal, auto-captions, vertical crop, YouTube clipping, 3D transitions, and social media compression. Use when user asks to edit video, remove silences, add captions/subtitles, crop to vertical/shorts, download YouTube clips, compress video, or create video teasers.
29design-website
Generate a premium mockup website for a prospect using the buildinamsterdam.com template style. Use when user asks to design a website, create a mockup, or build a prospect website.
27