Communitygithub.com

aiagentwithdhruv/skills

実行スクリプトをModalクラウドにデプロイします。ユーザーがModalへのデプロイ、コードのクラウドへのプッシュ、Modal関数の更新を依頼した場合に使用します。

skills とは?

このスキルは、Modalクラウド上でサーバーレスなスクリプト実行を可能にするためのデプロイ機能を提供します。開発者は、`modal deploy execution/modal_webhook.py` コマンドを使用して、エージェントの指示実行、Webhook一覧取得、リードスクレイピング、提案生成、YouTube異常値検出などのエンドポイントをデプロイできます。Modalダッシュボードで設定されたシークレット(`MODAL_TOKEN_ID`、`MODAL_TOKEN_SECRET`)を使用し、新しい関数を追加する際は `@app.function()` デコレータとModal Cronスケジューリングを利用します。このスキルはClaude Code、Cursor、CodexなどのAIエージェントと互換性があり、`add-webhook` スキルと組み合わせて使用することで、より複雑なワークフローを実現できます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/aiagentwithdhruv/skills/tree/HEAD/modal-deploy

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Modal クラウドデプロイメント

目標

実行スクリプトをModalにデプロイし、サーバーレスクラウド実行を実現します。

デプロイコマンド

modal deploy execution/modal_webhook.py

主要なエンドポイント

エンドポイント目的
directiveスラグによるディレクティブの実行
list_webhooks利用可能なWebhookの一覧表示
general_agent汎用エージェントタスクの実行
scrape_leadsリードスクレイピングエンドポイント
generate_proposal提案書の生成
youtube_outliersYouTube異常値のスクレイピング

新しい関数の追加

  1. execution/modal_webhook.py に関数を追加する
  2. @app.function() または @app.function(schedule=modal.Cron(...)) でデコレートする
  3. デプロイ: modal deploy execution/modal_webhook.py

環境

Modalシークレットは、ローカルの.envではなく、Modalダッシュボードで設定します。

Cronジョブ

@app.function(schedule=modal.Cron("0 * * * *"))  # 毎時
def my_scheduled_function():
    pass

スキーマ

入力

名前型必須説明
filefile_pathいいえデプロイするファイル(デフォルト: execution/modal_webhook.py)

出力

名前型説明
deployedbooleanデプロイが成功したかどうか
endpointsarrayデプロイされたエンドポイントURLのリスト

認証情報

名前ソース
MODAL_TOKEN_IDModalダッシュボード
MODAL_TOKEN_SECRETModalダッシュボード

組み合わせ可能なスキル

このスキルと連携しやすいスキル: add-webhook

コスト

Modalコンピュート(従量課金制)

Individual skills in this repo

This repo contains 10 individual skills — each has its own dedicated page.

aiagentwithdhruv/skills

Add new Modal webhooks for event-driven execution. Use when user asks to create a webhook, add an endpoint, or set up event triggers.

aiagentwithdhruv/skills

Answer Euron Gen AI Bootcamp doubts instantly. Covers Euri API setup across all frameworks (Python, LangChain, OpenAI SDK, TypeScript, n8n, curl), MCP server setup, common errors, model recommendations, and token limits. Use when someone in the bootcamp asks a question.

aiagentwithdhruv/skills

Manage emails across multiple Gmail accounts with unified tooling. Use when user asks to check email, read inbox, label emails, archive messages, or manage Gmail across accounts.

aiagentwithdhruv/skills

Auto-label Gmail emails into Action Required, Waiting On, and Reference categories. Use when user asks to label emails, triage inbox, categorize emails, or organize Gmail.

aiagentwithdhruv/skills

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.

aiagentwithdhruv/skills

Run Claude orchestrator locally with Cloudflare tunneling. Use when user asks to run locally, start local server, or test webhooks locally.

aiagentwithdhruv/skills

MCP server for AI-powered macOS control — apps, display, audio, files, screenshots, clipboard

aiagentwithdhruv/skills

Scrape and verify business leads using Apify, classify with LLM, enrich emails, and save to Google Sheets. Use when user asks to find leads, scrape businesses, generate prospect lists, or build lead databases for any industry or location.

aiagentwithdhruv/skills

Query Skool community content using RAG pipeline with vector search. Use when user asks to search Skool knowledge, find community answers, or query Skool content.

aiagentwithdhruv/skills

Scrape Upwork jobs and generate personalized proposals with cover letters. Use when user asks to find Upwork jobs, create Upwork proposals, or apply to Upwork listings.

関連スキル