Skip to content

Guide · Agent skill

How to use the Webhook Event Transforms agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

The webhook-transforms skill teaches an agent to receive events pushed from outside services, such as a text message, a finished meeting or a social media mention, and convert each one into a structured page in a gbrain brain, which is a personal knowledge store. This guide explains what the skill does, how to install it, how to trigger it, and what to check before you expose an endpoint. By the end you will know how to set up the pipeline and where its safety limits are.

Webhook Event Transformsgarrytan/gbrain · MIT

Quick start

  1. 1Install gbrain. Confirm gbrain is installed and configured with put_page, add_timeline_entry and search before anything else.
  2. 2Get a scoped token. Ask your brain host operator for a token with write scope for the source you want to fill.
  3. 3Install the skill. Unzip the downloaded ZIP into ~/.claude/skills/ or a project's .claude/skills/ folder, or upload it under Settings, Capabilities, Skills.
  4. 4Define the transform. Describe your event fields and the page format. The transform must strip HTML and escape script content.
  5. 5Register the webhook URL. Give the external service the endpoint you control so it can send events to it.
  6. 6Send a test event. Trigger one event and check that the page was written and the raw payload was not left in the dead-letter folder.

What the skill makes the agent do

Agent skills are instruction packages that Claude can load to perform a specific kind of task. This one covers the path from an external event to a brain page. You define a transform function that maps the fields of an incoming event to a page, register a webhook URL with the external service, and then the agent processes each event as it arrives.

For each event the agent parses the payload, runs your transform, writes the page with gbrain put, extracts entities, adds timeline entries to mentioned entities, and runs gbrain sync. The output is markdown content plus metadata such as slug, type and citations.

  • SMS: a timeline entry on the sender's brain page, plus a task update if an action item is detected.
  • Finished meeting: delegates to the meeting-ingestion skill.
  • Social mention: a brain page in media/, with entity extraction and backlinks.

Install the webhook-transforms skill

Download the ZIP for this skill from this page. The skill package contains a single file, SKILL.md.

Option one is a personal install: unzip the download into ~/.claude/skills/ so the webhook-transforms folder sits there. Option two is a project install: unzip it into the .claude/skills/ folder inside your project.

Option three is to upload the ZIP in the Claude apps under Settings, then Capabilities, then Skills.

Check the requirements before you start

The skill only works with a webhook-fed pipeline and a running gbrain installation. Before setup, confirm that gbrain is installed and configured with the put_page, add_timeline_entry and search tools.

You also need a brain host that issues a token with write scope for the target source, and an external service that can send webhooks to an endpoint you control. The skill itself runs no scripts, but it does use the network.

  • gbrain installed and configured with put_page, add_timeline_entry and search.
  • A brain host token with write scope for the target source.
  • An external service able to send webhooks to an endpoint you control.

Trigger the skill with natural requests

The skill loads when you ask for one of its trigger phrases. Use wording close to these: set up webhook, process webhook event, or transform this event. Say what the event is and where it should go, so the agent can choose the right transform.

Describe the event type in plain words. For example, you can ask the agent to set up a webhook for incoming text messages, or to transform this event from a meeting tool into a brain page.

  • Set up webhook for incoming SMS messages.
  • Process webhook event from my meeting recorder.
  • Transform this event: a social mention from a platform.

Understand the safety rules and failure handling

External input is written into a persistent store, so the skill sets safety rules. Transforms must strip HTML tags and escape script content, so no raw HTML or script reaches a brain page. Every transformed event gets citations and entity extraction.

If a transform throws an error, the skill writes the raw payload to a dead-letter file under _dead-letter/ with a timestamp, reports the error type, and retries once. A malformed payload is rejected with its parse error and is not written as a partial page.

If a write returns write_pending, the event is accepted and the agent records the request id and polls it, rather than replaying the event under a new id. If the token lacks scope for a source, the agent tells you which grant the brain host operator must add.

  • Do not expose an endpoint until you have reviewed sanitization and token scopes.
  • Inaccurate or hostile payloads can pollute the store, because writes persist.

What people use it for

  • Capture text messages from a contact as timeline entries on that person's brain page.
  • Turn a finished meeting into a structured record by delegating to the meeting-ingestion skill.
  • Store social mentions as pages in media/ with links back to related entities.
  • Route rejected or failed events into _dead-letter/ so no data is silently lost.

Frequently asked questions

How do I install the webhook-transforms skill?

Download the ZIP from this page and unzip it into ~/.claude/skills/ for a personal install, or into .claude/skills/ inside a project. You can also upload the ZIP in the Claude apps under Settings, then Capabilities, then Skills.

What do I need to run the webhook-transforms skill?

You need gbrain installed and configured with put_page, add_timeline_entry and search tools. You also need a brain host token with write scope for your target source, and an external service that can send webhooks to an endpoint you control.

Is the webhook-transforms skill free?

The skill is released under the MIT licence, as stated on this page. Check the licence file in the source repository for the full terms.

Does the skill run scripts or use the network?

According to this page, the skill runs no scripts and does use the network. It receives incoming webhook requests and writes pages through gbrain.

What happens if a transform fails?

The skill logs the raw payload to _dead-letter/ with a timestamp, reports the error type, and retries once. Events are kept rather than dropped.

Should I use this skill if I only write notes by hand?

No. The skill only matters for a webhook-fed pipeline into a running gbrain installation. If you only want to read or write notes manually, you do not need it.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

This skill suits developers and teams who already run gbrain and want SMS, meeting or social mention data captured with citations automatically. Skip it if you only write notes by hand, or if you cannot review input sanitization and token scopes before exposing a webhook endpoint.

Download the skill