← 返回 Skills 市场
mrzilvis

Fieldy AI Webhook

作者 mrzilvis · GitHub ↗ · v0.1.2
cross-platform ✓ 安全检测通过
2244
总下载
3
收藏
3
当前安装
3
版本数
在 OpenClaw 中安装
/install fieldy-ai-webhook
功能描述
Wire a Fieldy webhook transform into Moltbot hooks.
使用说明 (SKILL.md)

What this sets up

You’ll configure Moltbot Gateway webhooks so an incoming request to POST /hooks/fieldy runs through a transform module (fieldy-webhook.js) before triggering an agent run.

Behavior notes (defaults in fieldy-webhook.js):

  • Saying "Hey, Fieldy" (or just "Fieldy") will trigger the agent with the text after the wake word.
  • Transcripts without the wake word will not wake the agent; they’ll only be logged to JSONL files by fieldy-webhook.js (under \x3Cworkspace>/fieldy/transcripts/).
  • You can adjust wake words, parsing, and logging behavior by editing fieldy-webhook.js.

1) Put the transform script in the configured transforms dir

Your hooks.transformsDir is:

/root/clawd/skills/fieldy/scripts

Move the script from this repo:

  • From: src/fieldy-webhook.js
  • To: /root/clawd/skills/fieldy/scripts/fieldy-webhook.js

Notes:

  • Make sure the destination filename is exactly fieldy-webhook.js (matches the config below).

2) Add the webhook mapping to ~/.clawdbot/moltbot.json

Add this config:

"hooks": {
  "token": "insert-your-token",
  "transformsDir": "/root/clawd/skills/fieldy/scripts",
  "mappings": [
    {
      "match": {
        "path": "fieldy"
      },
      "action": "agent",
      "name": "Fieldy",
      "messageTemplate": "{{message}}",
      "deliver": true,
      "transform": {
        "module": "fieldy-webhook.js"
      }
    }
  ]
}

Important:

  • hooks.token is required when hooks are enabled (see Webhooks docs).
  • Ensure hooks.enabled: true exists somewhere in your config (and optionally hooks.path, default is /hooks).

3) Restart the Gateway

Plugins/config changes generally require a gateway restart. After restarting, the webhook endpoint should be live.

4) Configure the webhook URL in the Fieldy app

  • Log in to your Fieldy app
  • Go to SettingsDeveloper Settings
  • Set Webhook Endpoint URL to:

https://your-url.com/hooks/fieldy?token=insert-your-token

Note: Moltbot supports sending the token via header too, but many webhook providers only support query params. Moltbot still accepts ?token= (see Webhooks docs).

5) Test

Example request (adjust host/port and token):

curl -X POST "http://127.0.0.1:18789/hooks/fieldy" \
  -H "Authorization: Bearer insert-your-token" \
  -H "Content-Type: application/json" \
  -d '{"transcript":"Hey Fieldy summarize this: hello world"}'
安全使用建议
This skill appears to do what it says: parse incoming webhook payloads, log transcripts to <workspace>/fieldy/transcripts, and trigger the agent when a wake word is detected. Before installing: 1) Do not drop the script into a privileged system directory — use a workspace owned by a non-root user. The SKILL.md suggests /root/...; adapt that to a non-root path if appropriate. 2) Protect your Moltbot hooks token: prefer sending it in an Authorization header rather than embedding it in a public URL query string, and rotate it if exposed. 3) Transcripts may contain sensitive data — ensure the transcripts directory has appropriate filesystem permissions and retention policies. 4) If you need stricter verification of webhook origin (signatures, IP allowlist), add that into the transform — the current script does not validate source authenticity. 5) Review and test the transform in a safe environment to confirm the workspace detection logic uses the intended directory and that no unexpected files are read/written.
功能分析
Type: OpenClaw Skill Name: fieldy-ai-webhook Version: 0.1.2 The skill bundle is designed to set up a Moltbot webhook transform for a 'Fieldy' integration. The `SKILL.md` provides clear, human-readable instructions for configuration, and does not contain any prompt injection attempts against the AI agent. The `src/fieldy-webhook.js` script primarily parses webhook input, performs wake word detection, and logs non-wake-word transcripts to a specific, controlled directory (`<workspace>/fieldy/transcripts/`) using `fs.appendFileSync`. This file system access is explicitly documented and aligns with the stated purpose of logging. No evidence of data exfiltration, malicious execution, persistence, or other harmful behaviors was found.
能力评估
Purpose & Capability
Name/description (Fieldy webhook → Moltbot transform) align with the included transform script and the SKILL.md instructions. The skill requires no unrelated credentials or binaries and the script only reads/parses incoming webhook payloads, writes transcript JSONL files to a workspace subdirectory, and returns a message to trigger an agent run.
Instruction Scope
Instructions are focused on placing the transform in the transformsDir and adding a Moltbot mapping; they explicitly instruct editing ~/.clawdbot/moltbot.json and restarting the gateway. The transform writes transcript logs under <workspace>/fieldy/transcripts and may use process.env.CLAWDBOT_WORKSPACE or walk the filesystem to locate the workspace. This behavior is expected for local logging but means transcripts (possibly PII) will be stored on disk — the user should confirm acceptable storage location and permissions.
Install Mechanism
No install spec; instruction-only with a single transform JS file. Nothing is downloaded from external URLs and no packages are installed by the skill itself.
Credentials
The skill declares no required environment variables or credentials. The code optionally reads CLAWDBOT_WORKSPACE to locate the workspace directory — appropriate and documented. The example token in SKILL.md refers to Moltbot's hooks.token (Moltbot config), not a secret required by the skill code itself.
Persistence & Privilege
always:false (default). The skill requires adding configuration to the user's Moltbot config and will create/write files under the detected workspace (fieldy/transcripts). It does not modify other skills' configs or request system-wide credentials.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install fieldy-ai-webhook
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /fieldy-ai-webhook 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.2
fieldy-ai-webhook 0.1.2 - Transcripts without the wake word are now logged to JSONL files under `<workspace>/fieldy/transcripts/`. - Updated documentation to clarify transcript logging behavior.
v0.1.1
Initial release. Adds a Fieldy webhook transform for Moltbot. - Added transform script: fieldy-webhook.js for integrating Fieldy webhooks with Moltbot Gateway. - Provided setup instructions for configuring webhook mapping and agent triggers. - Supports wake-word-based transcript handling ("Hey, Fieldy" or "Fieldy") to activate Moltbot agents.
v0.1.0
Initial release of Fieldy webhook skill for Moltbot. - Adds transform module to process incoming Fieldy webhooks at /hooks/fieldy. - Supports wake-word detection ("Hey, Fieldy" or "Fieldy") to trigger agent actions. - Ignores/logs transcripts without the wake word. - Provides setup instructions for script placement, Moltbot config, and Fieldy webhook integration. - Customization available via editing fieldy-webhook.js.
元数据
Slug fieldy-ai-webhook
版本 0.1.2
许可证
累计安装 3
当前安装数 3
历史版本数 3
常见问题

Fieldy AI Webhook 是什么?

Wire a Fieldy webhook transform into Moltbot hooks. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2244 次。

如何安装 Fieldy AI Webhook?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install fieldy-ai-webhook」即可一键安装,无需额外配置。

Fieldy AI Webhook 是免费的吗?

是的,Fieldy AI Webhook 完全免费(开源免费),可自由下载、安装和使用。

Fieldy AI Webhook 支持哪些平台?

Fieldy AI Webhook 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Fieldy AI Webhook?

由 mrzilvis(@mrzilvis)开发并维护,当前版本 v0.1.2。

💬 留言讨论