Communitygithub.com

aiagentwithdhruv/skills

新增 Modal Webhook 端点,实现事件驱动的执行。当用户要求创建 Webhook、添加端点或设置事件触发器时使用。

skills 是什么?

该技能用于在 Modal 平台上创建新的 Webhook 端点,使 Claude 能够通过事件驱动的方式被调用。它通过定义指令文件、注册 webhooks.json 配置、部署 Modal 应用以及使用 curl 测试端点来简化流程。支持 send_email、read_sheet 等工具,可组合 modal-deploy 技能。需要设置 MODAL_TOKEN_ID 和 MODAL_TOKEN_SECRET 凭证。适用于需要根据外部事件(如 HTTP 请求)触发 Claude Agent 执行特定指令的场景。

兼容平台✓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

端点

  • 列表:https://your-modal-username--claude-orchestrator-list-webhooks.modal.run
  • 执行: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.

相关技能