2026-03-14 02:35:01 +00:00
|
|
|
---
|
2026-03-16 12:06:12 +00:00
|
|
|
name: hooks-transforms
|
|
|
|
|
description: "OpenClaw hooks transform modules for webhook payload processing"
|
2026-03-14 02:35:01 +00:00
|
|
|
---
|
|
|
|
|
> Auth (CLIENT_KEY) is loaded automatically from `~/.openclaw/.env`.
|
|
|
|
|
|
2026-03-16 12:06:12 +00:00
|
|
|
## Transforms
|
2026-03-14 02:35:01 +00:00
|
|
|
|
2026-03-16 12:06:12 +00:00
|
|
|
### skill-install
|
2026-03-14 02:35:01 +00:00
|
|
|
|
2026-03-16 12:06:12 +00:00
|
|
|
Transform for `skill-update` webhook events. Processes payload containing skill git repos and generates installation instructions.
|
2026-03-14 02:35:01 +00:00
|
|
|
|
2026-03-16 12:06:12 +00:00
|
|
|
**Expected payload:**
|
|
|
|
|
```json
|
|
|
|
|
{
|
|
|
|
|
"skills": [
|
|
|
|
|
{
|
|
|
|
|
"repo_url": "http://...",
|
|
|
|
|
"skill_slug": "my-skill",
|
|
|
|
|
"git_ref": "v1.0.0",
|
|
|
|
|
"repo_subpath": "optional/subpath"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
```
|