agentleFS
aiagentwithdhruvaiagentwithdhruv/skills/add-webhook/SKILL.md

add-webhook

Skill16 starsChanged 9 months agoMITView on GitHub

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

3 other projects use a version of this, 3 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 1 is common, 0 are distinctive, and 1 is very specific to this project.

  • 1

    Common

    Most of the 3 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Common:

    Create new Modal webhooks for event-driven Claude orchestration.

    line 9
  2. Very specific:

    Add entry to execution/webhooks.json:

    line 22

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Add Webhook

Goal

Create new Modal webhooks for event-driven Claude orchestration.

Process

  1. Create Directive File Create directives/your_directive.md with:
    • Goal
    • Inputs
    • Process steps
    • Outputs
    • Edge cases
  2. Add to webhooks.json Add entry to execution/webhooks.json:
    {
      "your-webhook-slug": {
        "directive": "your_directive",
        "description": "What this webhook does",
        "tools": ["send_email", "read_sheet", "update_sheet"]
      }
    }
  3. Deploy
    modal deploy execution/modal_webhook.py
  4. Test
    curl "https://your-modal-username--claude-orchestrator-directive.modal.run?slug=your-webhook-slug"

Available Tools for Webhooks

  • send_email
  • read_sheet
  • update_sheet

Endpoints

  • List: https://your-modal-username--claude-orchestrator-list-webhooks.modal.run
  • Execute: https://your-modal-username--claude-orchestrator-directive.modal.run?slug={slug}

Schema

Inputs

NameTypeRequiredDescription
slugstringYesWebhook slug identifier
directivestringYesDirective file name (without .md)
descriptionstringYesWhat this webhook does
toolsarrayYesList of tools the webhook can use

Outputs

NameTypeDescription
webhook_urlstringModal webhook URL for execution

Credentials

NameSource
MODAL_TOKEN_IDModal dashboard
MODAL_TOKEN_SECRETModal dashboard

Composable With

Skills that chain well with this one: modal-deploy

Cost

Modal compute (pay-per-use)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.