Communitygithub.com

aiagentwithdhruv/skills

新增 Modal Webhook,實現事件驅動的執行。當使用者要求建立 Webhook、添加端點或設定事件觸發器時使用。

skills 是什麼?

此技能會建立新的 Modal Webhook,以便在 Claude 中實現事件驅動的編排。它透過建立指令檔案、更新 `webhooks.json` 設定、部署 Modal 函數並進行測試,提供一個結構化的流程來定義和公開端點。使用者可以定義指令(例如目標、步驟、輸入/輸出),將這些指令連結到特定的 Webhook 端點,然後執行這些端點,並可選地使用工具,例如 `send_email`、`read_sheet` 和 `update_sheet`。此技能支援的端點包括列出所有 Webhook 的端點和執行特定 Webhook 的端點,適合用於需要按需執行或透過外部觸發器整合到 Claude 工作流程中的自動化任務。它與 `modal-deploy` 技能搭配使用效果最佳,且運行成本基於 Modal 的按用量計費模式。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/aiagentwithdhruv/skills/tree/HEAD/add-webhook

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

新增 Webhook

目標

建立新的 Modal Webhook,實現事件驅動的 Claude 編排。

流程

  1. 建立指令檔案 在 directives/your_directive.md 中建立包含以下內容的檔案:

    • 目標
    • 輸入
    • 流程步驟
    • 輸出
    • 邊緣狀況
  2. 新增至 webhooks.json 在 execution/webhooks.json 中新增項目:

    {
      "your-webhook-slug": {
        "directive": "your_directive",
        "description": "此 Webhook 的功能說明",
        "tools": ["send_email", "read_sheet", "update_sheet"]
      }
    }
    
  3. 部署

    modal deploy execution/modal_webhook.py
    
  4. 測試

    curl "https://your-modal-username--claude-orchestrator-directive.modal.run?slug=your-webhook-slug"
    

可用的 Webhook 工具

  • send_email
  • read_sheet
  • update_sheet

端點

  • 列出所有 Webhook:https://your-modal-username--claude-orchestrator-list-webhooks.modal.run
  • 執行特定 Webhook:https://your-modal-username--claude-orchestrator-directive.modal.run?slug={slug}

結構

輸入

名稱類型必填說明
slugstring是Webhook 的唯一識別代號
directivestring是指令檔案名稱(不含 .md)
descriptionstring是此 Webhook 的功能說明
toolsarray是Webhook 可使用的工具清單

輸出

名稱類型說明
webhook_urlstring用於執行的 Modal Webhook URL

憑證

名稱來源
MODAL_TOKEN_IDModal 控制台
MODAL_TOKEN_SECRETModal 控制台

可搭配的技能

與此技能搭配效果良好的技能:modal-deploy

費用

Modal 運算(按用量計費)

Individual skills in this repo

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

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

Deploy execution scripts to Modal cloud. Use when user asks to deploy to Modal, push code to cloud, or update Modal functions.

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.

相關技能